mongodb-persistent template lock file issue
Issue
- The OpenShift mongodb-persistent template is not working.
-
the mongo container creates a new lock file and fails starting up mongo
I STORAGE [initandlisten] exception in initAndListen: 98 Unable to lock file: /var/lib/mongodb/data/mongod.lock errno:5 Input/output error. Is a mongod instance already running?, terminating 2018-08-13T08:48:09.782+0000 I CONTROL [initandlisten] dbexit: rc: 100
Environment
- OpenShift Container Platform 3.9
- MongoDB 3.2
- MongoDB 3.4
-
PVmounted as NFS version 3(rw,relatime,vers=3,...)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
