Project

General

Profile

Actions

Bug #58662

closed

rbd ls -p replicapool-ssd can not get rbd image name but image still exists

Added by yite gu about 1 year ago. Updated about 1 year ago.

Status:
Rejected
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

Get rbd image by rbd ls:

# rbd ls -p replicapool-ssd | grep csi-vol-28041abd-74a9-11ed-b4c7-2abcaa8a0da9
[root@rook-ceph-tools-5b59768dcd-vvqjs /]#

Can not found csi-vol-28041abd-74a9-11ed-b4c7-2abcaa8a0da9

Get rbd info:

# rbd -p replicapool-ssd info csi-vol-d762816c-70be-11ed-b4c7-2abcaa8a0da9
rbd image 'csi-vol-d762816c-70be-11ed-b4c7-2abcaa8a0da9':
    size 187 GiB in 47872 objects
    order 22 (4 MiB objects)
    snapshot_count: 0
    id: b6e05587e59ff
    block_name_prefix: rbd_data.b6e05587e59ff
    format: 2
    features: layering
    op_features:
    flags:
    create_timestamp: Wed Nov 30 14:54:07 2022
    access_timestamp: Wed Nov 30 14:54:07 2022
    modify_timestamp: Wed Nov 30 14:54:07 2022

This rbd still in used:
# rbd -p replicapool-ssd status csi-vol-d762816c-70be-11ed-b4c7-2abcaa8a0da9
Watchers:
    watcher=10.172.88.35:0/2840810392 client.6169395 cookie=18446462598732840961

Actions #1

Updated by yite gu about 1 year ago

My rbd_directory object lost in replicapool-ssd. please close

Actions #2

Updated by Ilya Dryomov about 1 year ago

  • Status changed from New to Rejected
  • Assignee set to Ilya Dryomov

Yeah, "rbd ls" needs rbd_directory (and possibly also rbd_trash) object to work.

Actions

Also available in: Atom PDF