Project

General

Profile

Actions

Bug #2079

closed

rbd: creating a snapshot with the same name doesn't return an error

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

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
librbd
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

$ rbd create -s 10 data/test
$ rbd snap create data/test@snap
$ rbd snap ls data/test
2    snap    10485760
$ rbd snap create data/test@snap
$ echo $?
0
$ rbd snap ls data/test
2    snap    10485760

The rbd class add_snap method isn't returning an error in this case.


Related issues 1 (0 open1 closed)

Is duplicate of Ceph - Bug #2148: osd: class error return not propagated to clientResolved03/07/2012

Actions
Actions #1

Updated by Sage Weil about 12 years ago

  • Target version set to v0.43
Actions #2

Updated by Sage Weil about 12 years ago

  • Category set to librbd
Actions #3

Updated by Sage Weil about 12 years ago

  • Target version changed from v0.43 to v0.44
Actions #4

Updated by Sage Weil about 12 years ago

  • Status changed from New to Duplicate

i think this was caused by the rados class return values. in any case, it works correctly now.

Actions

Also available in: Atom PDF