Watch keynotes and sessions from MongoDB.live, our virtual developer conference.

Mongodb Kubernetes OpsManager Pod Permissions Error

I’ve been trying to deploy the MongoDB Kubernetes Operator on Openshift 4.4 in the Azure cloud.
When the operator creates the Ops Manager POD from the MongoDBOpsManager CRD, the pod quits with the error:

failed to create symbolic link ‘/data/journal’: Permission denied

I’ve googled a solution, which is to to create Multiple PVCs to bind the “Data, Journal and Logs” directories. Even by doing so, the solution didn’t work and had the Ops pod had the same error.