]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: before removing image make sure it is not bootstrapped
authorMykola Golub <mgolub@mirantis.com>
Wed, 6 Jul 2016 09:59:25 +0000 (12:59 +0300)
committerJason Dillaman <dillaman@redhat.com>
Tue, 11 Oct 2016 16:50:09 +0000 (12:50 -0400)
commit775a999e8bac9d0dc02cb40f0206b96c5864b8d1
tree6d849035ce4128138779349817e013519e6f473c
parent3bbd8ba4282ea7f3fa286d0a1944e9e93d321365
qa/workunits/rbd: before removing image make sure it is not bootstrapped

If an image is being bootstrapped, it implies that the rbd-mirror
daemon currently has the image open. The removal API will prevent the
removal of any image that is opened by another client.

Works-around: http://tracker.ceph.com/issues/16555
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 9737a8d6cbaf1b79bbc6008249d39acbae883941)
qa/workunits/rbd/rbd_mirror.sh