Actions
Bug #21893
closedsupport librbd::RBD::list_children2 and rbd_list_children2
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
if any child image has been moved to trash bin, rbd children gets error:
```
```
- rbd create i1 -s 1G
- rbd snap create i1@s1 && rbd snap protect i1@s1
- rbd clone i1@s1 c1
- rbd trash mv c1
- rbd children i1@s1
rbd: listing children failed: (2) No such file or directory
2017-10-23 20:49:27.205131 7fd764b50d40 -1 librbd: Error looking up name for image id 142ed7238e1f29 in pool rbd
```
As Json suggested in https://github.com/ceph/ceph/pull/14865#discussion_r114004794, i am working on accomplish librbd::RBD::list_children2 and rbd_list_children2
https://github.com/ceph/ceph/pull/18483
Updated by wb song over 6 years ago
#rbd create i1 -s 1G
#rbd snap create i1@s1 && rbd snap protect i1@s1
#rbd clone i1@s1 c1
#rbd trash mv c1
#rbd children i1@s1
rbd: listing children failed: (2) No such file or directory
2017-10-23 20:49:27.205131 7fd764b50d40 -1 librbd: Error looking up name for image id 142ed7238e1f29 in pool rbd
Updated by Mykola Golub over 6 years ago
- Status changed from New to Fix Under Review
Updated by Jason Dillaman over 6 years ago
- Status changed from Fix Under Review to Resolved
Actions