I'm having a hard time removing an RBD that I no longer need. # rbd rm <pool>/<name> 2016-08-03 15:00:01.085784 7ff9dfc997c0 -1 librbd: image has watchers - not removing Removing image: 0% 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.
So, I use `rbd status` to identify the watcher:
# rbd status <pool>/<name>
Watchers:
watcher=<some IP>:0/705293879 client.1076985 cookie=1
I log onto that host, and did
# rbd showmapped
which returns nothing
I don't use snapshot and I don't use cloning, so, there shouldn't
be any image sharing. I ended up rebooting that host and the
watcher is still around, and my problem persist: I can't remove
the RBD.
At this point, I'm all out of ideas on how to troubleshoot this
problem. I'm running infernalis:
# ceph --version
ceph version 9.2.1 (752b6a3020c3de74e07d2a8b4c5e48dab5a6b6fd)
in my set up, on CentOS 7.2 hosts
# uname -r
3.10.0-327.22.2.el7.x86_64
I appreciate any assistance,
-kc
K.C. Wong
[email protected]
4096R/B8995EDE E527 CBE8 023E 79EA 8BBB 5C77 23A6 92E9 B899 5EDE
hkps://hkps.pool.sks-keyservers.net
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
