Bug #48603
closedmgr/dashboard: partially deleted RBDs are only listed by CLI
0%
Description
If the deletion process of an RBD is interrupted e.g. by a mgr restart, the image might end up partially deleted and can't be opened. If this happens the dashboard doesn't show the RBD anymore but it is still listed by the `rbd -p <pool> ls` command.
The dashboard should still list the RBD. It should tell the user the removal was interrupted and he can continue to delete it now.
I'm not completely sure if the issue applies to master/octopus as well (at least I was not able to reproduce the issue there) because the code is very different here.
Updated by Ernesto Puerta over 3 years ago
Good catch! I guess the main problem here is that Dashboard does not simply list an image but tries to fetch some details from it, and probably that fails.
Tatjana, have you checked if for those images the rbd info <img>
command returns anything?
Updated by Ernesto Puerta over 3 years ago
- Category changed from 132 to 139
- Assignee set to Kiefer Chang
- Backport set to nautilus, octopus
Updated by Tatjana Dehler over 3 years ago
Ernesto Puerta wrote:
Tatjana, have you checked if for those images the
rbd info <img>
command returns anything?
Yes:
master:~ # rbd -p pool ls test_rbd master:~ # rbd info pool/test_rbd rbd: error opening image test_rbd: (2) No such file or directory
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 139 to Component - RBD
Updated by Tatjana Dehler almost 3 years ago
- Assignee changed from Kiefer Chang to Tatjana Dehler
Updated by Tatjana Dehler almost 3 years ago
- Subject changed from mgr/dashboard: partially deleted RBDs are only listed by CLI on nautilus to mgr/dashboard: partially deleted RBDs are only listed by CLI
Updated by Tatjana Dehler almost 3 years ago
- Backport changed from nautilus, octopus to nautilus, octopus, pacific
Updated by Ernesto Puerta almost 3 years ago
- Status changed from Triaged to Pending Backport
Updated by Backport Bot almost 3 years ago
- Copied to Backport #51052: octopus: mgr/dashboard: partially deleted RBDs are only listed by CLI added
Updated by Backport Bot almost 3 years ago
- Copied to Backport #51053: pacific: mgr/dashboard: partially deleted RBDs are only listed by CLI added
Updated by Backport Bot almost 3 years ago
- Copied to Backport #51054: nautilus: mgr/dashboard: partially deleted RBDs are only listed by CLI added
Updated by Loïc Dachary almost 3 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".