Project

General

Profile

Actions

Bug #741

closed

Removing rbd snapshots causes weird things to happen

Added by Andrew F over 13 years ago. Updated about 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 #1

Updated by Yehuda Sadeh over 13 years ago

This might be something that we already fixed. The older rbd class (version 1.2) had this issue which was fixed in version 1.3. Please run 'ceph class list' and check which rbd class version you're running.

Actions #2

Updated by Andrew F over 13 years ago

You're right. Thanks.

Actions #3

Updated by Yehuda Sadeh about 13 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF