Ceph: who's mapping a RBD device

Page content

Main problem

I get this error in Openshift:

  MountVolume.WaitForAttach failed for volume "pvc-9fcd3d08-d14e-11e9-a958-66934f1af826" :
  rbd image k8s-prod/kubernetes-dynamic-pvc-a0029613-d14e-11e9-aaf5-8611e6b1c395 is still being used

Solution

So I Wanna know who is using this DBD device?

rbd status k8s-prod/kubernetes-dynamic-pvc-a0029613-d14e-11e9-aaf5-8611e6b1c395
Watchers:
	watcher=192.168.1.43:0/3614154426 client.165467009 cookie=18446462598732840961

To solve this problem you need to restart Openshift’s Kubernetes components.

ssh 192.168.1.43
systemctl restart docker origin-node
comments powered by Disqus