Hello,
I followed the instructions here: Install on OpenShift - Percona Operator for MongoDB
I have installed the operator but when I try to install the Percona server I get the following error in the initial 2 pods:
{“t”:{“$date”:“2023-04-03T20:36:28.575+00:00”},“s”:“E”, “c”:“CONTROL”, “id”:20557, “ctx”:“initandlisten”,“msg”:“DBException in initAndListen, terminating”,“attr”:{“error”:“IllegalOperation: Attempted to create a lock file on a read-only directory: /data/db”}}
I have tried adding permissions to all the service accounts defined for the namespace including percona-server-mongodb-operator but with no luck.
I didn’t see any options to cr.yaml to possibly help setting the correct permission for the directory mentioned in the error but didn’t see anything.
Thanks…