Project

General

Profile

Actions

Bug #11113

closed

RBD snapshot, created while flattening image, is unremovable

Added by Benjamin Gilbert about 9 years ago. Updated almost 9 years ago.

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

0%

Source:
Community (user)
Tags:
Backport:
hammer,firefly
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The following actions will create an unremovable RBD snapshot:

  1. Clone an image from an origin snapshot
  2. Flatten the clone
  3. While flattening, snapshot the clone
  4. Delete the origin snapshot and image

Result:

  • The new snapshot appears in rbd snap ls, but rbd snap rm fails with rbd: failed to remove snapshot: (2) No such file or directory.
  • rbd ls -l on the pool will segfault.

This bug was previously reported here and is still present in 0.87.1. The attached script demonstrates the problem.


Files

create-broken-rbd-snapshot.sh (668 Bytes) create-broken-rbd-snapshot.sh Reproducer Benjamin Gilbert, 03/16/2015 03:43 AM
Actions

Also available in: Atom PDF