Project

General

Profile

Actions

Bug #1554

closed

rbd rollback does not work with a snapshot of an empty image

Added by Josh Durgin over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OSD
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

Found this when testing python bindings for librbd. If you
1. create an rbd image
2. create a snapshot
3. write to the image
4. rollback to the snapshot

When you read the image again, you'll get the newly written data instead of zeroes, which is what the image contained when you snapshotted it.

Actions

Also available in: Atom PDF