Project

General

Profile

Actions

Bug #21893

closed

support librbd::RBD::list_children2 and rbd_list_children2

Added by wb song over 6 years ago. Updated over 6 years ago.

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:
```
  1. rbd create i1 -s 1G
  2. rbd snap create i1@s1 && rbd snap protect i1@s1
  3. rbd clone i1@s1 c1
  4. rbd trash mv c1
  5. 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
Actions #1

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

Actions #2

Updated by Mykola Golub over 6 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Jason Dillaman over 6 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF