OCS mon pods stuck in CrashLoopBackoff
Issue
- Error opening mon data directory after installing Dynatrace agent in OpenShift
- The error we are getting in the mon container is:
2021-12-17T00:51:45.237895793Z debug 2021-12-17 00:51:45.235 7f9b035f4540 4 rocksdb: [db/db_impl.cc:563] Shutdown complete
2021-12-17T00:51:45.237895793Z debug 2021-12-17T00:51:45.237903802Z 2021-12-17 00:51:45.235 7f9b035f4540 -1 rocksdb: Invalid argument: /var/lib/ceph/mon/ceph-c/store.db: does not exist (create_if_missing is false)
2021-12-17T00:51:45.237903802Z debug 2021-12-17 00:51:45.235 7f9b035f4540 -1 error opening mon data directory at '/var/lib/ceph/mon/ceph-c': (22) Invalid argument
- OpenShift Container Storage mon pods stuck in the CrashLoopBackOff. Deleting the pods or restarting the ocs nodes doesn’t fix the issue.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.