Project

General

Profile

Actions

Bug #48603

closed

mgr/dashboard: partially deleted RBDs are only listed by CLI

Added by Tatjana Dehler over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Component - RBD
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, octopus, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.


Related issues 3 (0 open3 closed)

Copied to Dashboard - Backport #51052: octopus: mgr/dashboard: partially deleted RBDs are only listed by CLIResolvedTatjana DehlerActions
Copied to Dashboard - Backport #51053: pacific: mgr/dashboard: partially deleted RBDs are only listed by CLIResolvedTatjana DehlerActions
Copied to Dashboard - Backport #51054: nautilus: mgr/dashboard: partially deleted RBDs are only listed by CLIResolvedTatjana DehlerActions
Actions #1

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?

Actions #2

Updated by Ernesto Puerta over 3 years ago

  • Category changed from 132 to 139
  • Assignee set to Kiefer Chang
  • Backport set to nautilus, octopus
Actions #3

Updated by Ernesto Puerta over 3 years ago

  • Status changed from New to Triaged
Actions #4

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
Actions #5

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 139 to Component - RBD
Actions #6

Updated by Tatjana Dehler almost 3 years ago

  • Assignee changed from Kiefer Chang to Tatjana Dehler
Actions #7

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
Actions #8

Updated by Tatjana Dehler almost 3 years ago

  • Pull request ID set to 41421
Actions #9

Updated by Tatjana Dehler almost 3 years ago

  • Backport changed from nautilus, octopus to nautilus, octopus, pacific
Actions #10

Updated by Ernesto Puerta almost 3 years ago

  • Status changed from Triaged to Pending Backport
Actions #11

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #51052: octopus: mgr/dashboard: partially deleted RBDs are only listed by CLI added
Actions #12

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #51053: pacific: mgr/dashboard: partially deleted RBDs are only listed by CLI added
Actions #13

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #51054: nautilus: mgr/dashboard: partially deleted RBDs are only listed by CLI added
Actions #14

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".

Actions

Also available in: Atom PDF