The ability to list watchers wasn't added until the cuttlefish release, which explains why you are seeing "operation not supported". Is your rbd CLI also from bobtail? -- Jason Dillaman ----- Original Message ----- > From: "Tahir Raza" <tahirraza@xxxxxxxxx> > To: ceph-users@xxxxxxxxxxxxxx > Sent: Wednesday, February 10, 2016 3:28:04 PM > Subject: Help with deleting rbd image - rados listwatchers > We are using following tools in our cloud. > Openstack - Essex > Ceph - Cluster with Bobtail and few clients with Firefly and Dumpling > We are trying to delete rbd image 'nova8' but it says image/device is busy. > The compute node on which this rbd image was mounted on, crashed few weeks > ago. We have had issues removing this image. > rbd rm nova8 -p rbdinstances > Removing image: 99% complete...failed. > rbd: error: image still has watchers > This means the image is still open or the client using it crashed. Try again > after closing/unmapping it or waiting 30s for the crashed client to timeout. > 2016-02-10 06:56:55.000667 7f9412cfc780 -1 librbd: error removing header: > (16) Device or resource busy > Per documentation, we tried to use 'rados listwatchers' API. But we are > getting unusual errors. I have a feeling that we maybe we are missing > something in our configuration file which is taken from the verison of Ceph > Bobtail > rados -p rbdinstances listwatchers nova8.rbd > error listing watchers rbdinstances/nova8.rbd: Operation not supported > rbd info nova8 -p rbdinstances > rbd image 'nova8': > size 500 GB in 128000 objects > order 22 (4096 KB objects) > block_name_prefix: rb.0.1d2060.238e1f29 > format: 1 > rados -p rbdinstances listwatchers rb.0.1d205d.238e1f29 > error listing watchers rbdinstances/rb.0.1d205d.238e1f29: No such file or > directory > rados -v > ceph version 0.67.11 (bc8b67bef6309a32361be76cd11fb56b057ea9d2) > We would like to ultimately delete the image or at least find our which > client is holding on to this image 'nova8'. > Any help would be appreciated. Thanks! > Tahir > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com