[ODF] RWO PVC ceph-rbd fails to Mount with Multi-Attach error or "is still being used"

Solution Verified - Updated -

Issue

  • The ceph-rbd PVC is RWO and is not in use by any running pod, but it can't be mounted by a new pod , the error can be:

    Warning  FailedMount             70s (x43 over 107m)  kubelet                  MountVolume.MountDevice failed for volume "pvc-729bf7c3-b449-49d5-97bf-41169d240b7c" : rpc error: code = Internal desc = rbd image ocs-storagecluster-cephblockpool/csi-vol-b03ca740-b23c-4463-81b6-39d948a9f662 is still being used
    
    OR
    
    Warning  FailedAttachVolume      3m47s                attachdetach-controller  Multi-Attach error for volume "pvc-729bf7c3-b449-49d5-97bf-41169d240b7c" Volume is already exclusively attached to one node and can't be attached to another
    

Environment

  • Red Hat OpenShift Cluster Platform (RHOCP)
    • 4
  • Red Hat OpenShift Data Foundation (RHODF)
    • 4
  • Red Hat OpenShift Container Storage (RHOCS)
    • 4

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