MongoDB pod stuck on terminating status reporting operation not permitted in OCP

Solution Unverified - Updated -

Issue

  • The mongodb-persistent template does not work properly with the following error message:

    2017-07-07T19:42:33.032+0000 E STORAGE  [initandlisten] WiredTiger (17) [1499456553:31959][13:0x7f3e1f715e00], connection: /data/db/WiredTiger.wt: handle-open: open: File exists
    2017-07-07T19:42:33.037+0000 I STORAGE  [initandlisten] WiredTiger unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.7
    2017-07-07T19:42:33.039+0000 E STORAGE  [initandlisten] WiredTiger (1) [1499456553:39260][13:0x7f3e1f715e00], connection: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted
    2017-07-07T19:42:33.046+0000 I -        [initandlisten] Assertion: 28595:1: Operation not permitted
    2017-07-07T19:42:33.048+0000 I STORAGE  [initandlisten] exception in initAndListen: 28595 1: Operation not permitted, terminating
    2017-07-07T19:42:33.048+0000 I CONTROL  [initandlisten] dbexit:  rc: 100
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 3.11
    • 4
  • NFS
    • CIFS Windows
    • NetApp: DataONTAP 8.2.3P4 7-Mode
    • Azure File
  • MongoDB

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content