Project

General

Profile

Bug #21893

support librbd::RBD::list_children2 and rbd_list_children2

Added by wb song almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/23/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

History

#1 Updated by wb song almost 2 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

#2 Updated by Mykola Golub almost 2 years ago

  • Status changed from New to Need Review

#3 Updated by Jason Dillaman almost 2 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF