Actions
Bug #17929
openrados tool should bail out if you combine listing and setting the snap ID
Status:
New
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
rados
Component(RADOS):
rados tool
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
hi,
i've got found problem/feature in pool snapshots
when i delete some object from pool which was previously snapshotted,
i cannot list the object name in the snapshot anymore.
steps to reproduce
- ceph -v
ceph version 10.2.3 (ecc23778eb545d8dd55e2e4735b53cc93f92e65b) - rados -p test ls
file1 - rados -p test mksnap now
- rados -p test -s now ls
selected snap 3 'now'
file1 - rados -p test rm file1 # removing object from pool
- rados -p test -s now ls # listing snapshot does not display file1
selected snap 3 'now' - rados -p test -s now stat file1 # but i can stat file1 in snapshot
selected snap 3 'now'
test/file1 mtime 2016-11-16 14:07:14.000000, size 329 - rados -p test stat file1 # statting file1 in pool fails correctly
error stat-ing test/file1: (2) No such file or directory
Gregory Farnum <gfarnum@redhat.com> advised me, that it could be some problem with rados ls does not apply SnapContext correrctly.
please fix this bug
thanks
jan
Actions