OSD prepare pod stuck in init 0/2 with event rpc error: code = AlreadyExists
Issue
An osd prepare pod is stuck in init 0/2 with a failed map volume warning.
rook-ceph-osd-prepare-xxxxxxxxxxxx-xxxxx 0/1 Init:0/2 0 22h
2024-01-20T14:31:36Z 2024-01-19T16:10:42Z 660 rook-ceph-osd-prepare-xxxxxx-xxxx.xxxxxxxxx Pod <none> Warning FailedMapVolume kubelet MapVolume.MapPodDevice failed for volume "pvc-xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx" : rpc error: code = AlreadyExists desc = block volume already mounted in more than one place
Environment
Red Hat OpenShift Container Platform (OCP) 4.x
Red Hat OpenShift Container Storage (OCS) 4.x
Red Hat OpenShift Data Foundation (ODF) 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.