Project

General

Profile

Bug #10990

test: copy.sh fails to remove locked image w/ exclusive lock feature enabled

Added by Jason Dillaman about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

http://qa-proxy.ceph.com/teuthology/teuthology-2015-03-01_23:00:02-rbd-hammer-distro-basic-multi/784223/teuthology.log

2015-03-01T23:17:05.529 INFO:tasks.workunit.client.0.plana05.stderr:+ rbd rm test1
2015-03-01T23:17:05.697 INFO:tasks.workunit.client.0.plana05.stderr:2015-03-01 23:17:05.696133 7fbc2d313840 -1 librbd: cannot obtain exclusive lock - not removing
2015-03-01T23:17:05.723 INFO:tasks.workunit.client.0.plana05.stderr:
Removing image: 0% complete...failed.
2015-03-01T23:17:05.723 INFO:tasks.workunit.client.0.plana05.stderr:rbd: error: image still has watchers
2015-03-01T23:17:05.723 INFO:tasks.workunit.client.0.plana05.stderr:This means the image is still open or the client using it crashed. Try again after closing/unmapping it or waiting 30s for the crashed client to timeout.

Associated revisions

Revision 6cff494e (diff)
Added by Jason Dillaman about 9 years ago

qa/workunits/rbd/copy.sh: remove all image locks

If the exclusive lock feature is enabled, all locks need
to be removed prior removing the image.

Fixes: #10990
Signed-off-by: Jason Dillaman <>

History

#1 Updated by Jason Dillaman about 9 years ago

  • Status changed from In Progress to Fix Under Review

#2 Updated by Jason Dillaman about 9 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF