]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
map-unmap.sh: fail if 'rbd rm' fails 2041/head
authorIlya Dryomov <ilya.dryomov@inktank.com>
Thu, 26 Jun 2014 13:34:19 +0000 (17:34 +0400)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Sun, 29 Jun 2014 17:58:15 +0000 (21:58 +0400)
commit9bcc19de588811e11dabe6bf126bbb2932880049
treef1de4134360d42d16256edabd66ef052a9305d16
parent16b14ea12310a86692c4c984e5b4d86f7405ebcd
map-unmap.sh: fail if 'rbd rm' fails

Fail if 'rbd rm' fails - most probably it'd fail with "image still has
watchers" and in that case it's a bug in the kernel client which we do
want to notice.  Also nuke the trap-based error handling - cleanup() is
half-baked and not really necessary here.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
qa/workunits/rbd/map-unmap.sh