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

Also available in: Atom PDF