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 qa: remove rbd image when done 2012-07-30 11:19:53 -07:00
kernel.sh qa scripts: Replace cut -f 1 with awk '{print $1;}' 2012-10-04 17:04:09 -07:00
test_librbd_python.sh qa: download tests from specified branch 2012-07-13 09:42:27 -07:00
test_librbd.sh qa: add test_librbd workunit 2011-09-12 14:01:46 -07:00
watch_correct_version.sh qa: report success if race is not detected 2012-10-04 16:50:46 -07:00