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 #1

Updated by Jason Dillaman about 9 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Jason Dillaman about 9 years ago

  • Status changed from In Progress to Fix Under Review
  • Assignee set to Jason Dillaman
  • Backport set to hammer,firefly,dumpling
Actions #3

Updated by Josh Durgin about 9 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from hammer,firefly,dumpling to hammer,firefly
Actions #4

Updated by Jason Dillaman about 9 years ago

Actions #5

Updated by Loïc Dachary almost 9 years ago

  • Status changed from Pending Backport to Resolved
  • Regression set to No
Actions

Also available in: Atom PDF