Thanks Jason, I will try to use your method.
2016-10-19 17:23 GMT-07:00 Jason Dillaman <jdillama@xxxxxxxxxx>:
On Wed, Oct 19, 2016 at 6:52 PM, yan cui <ccuiyyan@xxxxxxxxx> wrote:
> 2016-10-19 15:46:44.843053 7f35c9925d80 -1 librbd: cannot obtain exclusive
> lock - not removing
Are you attempting to delete the primary or non-primary image? I would
expect any attempts to delete the non-primary image to fail since the
non-primary image will automatically be deleted when mirroring is
disabled on the primary side (or the primary image is deleted).
There was an issue where the rbd-mirror daemon would not release the
exclusive lock on the image after a forced promotion. The fix for that
will be included in the forthcoming 10.2.4 release.
If it is neither of these scenarios, can you re-run the "rbd rm"
command with "--debug-rbd=20" option appended?
Thanks,
--
Jason
Think big; Dream impossible; Make it happen.
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com