Project

General

Profile

Actions

Bug #741

closed

Removing rbd snapshots causes weird things to happen

Added by Andrew F over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

A quick transcript should explain:

root@testhost:~# rbd create test --size=1024
rbd image 'test':
        size 1024 MB in 256 objects
        order 22 (4096 KB objects)
adding rbd image to directory...
creating rbd image...
done.

root@testhost:~# rbd snap create --snap=foo test

root@testhost:~# rbd snap create --snap=bar test

root@testhost:~# rbd snap ls test
11      bar     1073741824
10      foo     1073741824

root@testhost:~# rbd snap rm --snap=bar test

root@testhost:~# rbd snap ls test
0               0

At this point, the second snapshot becomes impossible to manipulate. :(

Actions

Also available in: Atom PDF