Hmm ... it looks like there is a bug w/ RBD locks and IPv6 addresses since it is failing to parse the address as valid. Perhaps it's barfing on the "%eth0" scope id suffix within the address.
On Mon, Jul 9, 2018 at 2:47 PM Kevin Olbrich <ko@xxxxxxx> wrote:
Hi!_______________________________________________I tried to convert an qcow2 file to rbd and set the wrong pool.Immediately I stopped the transfer but the image is stuck locked:Previusly when that happened, I was able to remove the image after 30 secs.[root@vm2003 images1]# rbd -p rbd_vms_hdd lock list fpi_server02There is 1 exclusive lock on this image.Locker ID Addressclient.1195723 auto 93921602220416 [fe80::219:99ff:fe9e:3a86%eth0]:0/1200385089[root@vm2003 images1]# rbd -p rbd_vms_hdd lock rm fpi_server02 "auto 93921602220416" client.1195723rbd: releasing lock failed: (22) Invalid argument2018-07-09 20:45:19.080543 7f6c2c267d40 -1 librados: unable to parse address [fe80::219:99ff:fe9e:3a86%eth0]:0/12003850892018-07-09 20:45:19.080555 7f6c2c267d40 -1 librbd: unable to blacklist client: (22) Invalid argumentThe image is not in use anywhere!How can I force removal of all locks for this image?Kind regards,Kevin
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Jason
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com