ceph/qa/workunits/rbd
Dan Mick 241569c595 rbd: allow removal of image even if rbd_children deletion fails
Users have been seeing failures where rbd rm is half-done; could be
because of outstanding watches on the rbd_header object.  The state
is that rbd_children no longer contains the child, but other pieces
remain; remove considers this a failure.

Fix: test for ENOENT from remove_child, and treat that as an ignorable
error and drive on.  Simulate this in copy.sh by removing the
rbd_children object altogether, which also results in ENOENT return
from remove_child.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-11-05 21:41:34 -08:00
..
copy.sh rbd: allow removal of image even if rbd_children deletion fails 2012-11-05 21:41:34 -08:00
import_export.sh
kernel.sh qa scripts: Replace cut -f 1 with awk '{print $1;}' 2012-10-04 17:04:09 -07:00
test_librbd_python.sh
test_librbd.sh
watch_correct_version.sh