Project

General

Profile

Actions

Bug #42172

closed

RBD trash ls is not listing images with namespace

Added by Ricardo Marques over 4 years ago. Updated over 4 years ago.

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

I have the following image:

# bin/rbd info mypool2/ns1/myimage4-copy
rbd image 'myimage4-copy':
    size 1 GiB in 256 objects
    order 22 (4 MiB objects)
    snapshot_count: 1
    id: 130c401533a4
    block_name_prefix: rbd_data.130c401533a4
    format: 2
    features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
    op_features: 
    flags: 
    create_timestamp: Wed Oct  2 12:44:26 2019
    access_timestamp: Wed Oct  2 12:44:26 2019
    modify_timestamp: Wed Oct  2 12:44:26 2019

If I move it to the "trash":

# bin/rbd trash mv mypool2/ns1/myimage4-copy

The image is not listed by the "trash ls":

# bin/rbd trash ls -p mypool2

But the image is no longer available:

# bin/rbd info mypool2/ns1/myimage4-copy
rbd: error opening image myimage4-copy: (2) No such file or directory

Related issues 1 (0 open1 closed)

Blocks Dashboard - Subtask #25125: mgr/dashboard: support RBD namespacesResolvedRicardo Marques

Actions
Actions

Also available in: Atom PDF