Bug 1771914 - [ceph-dashboard] Pools- delete : deleting pool causes a dashboard_exception
Summary: [ceph-dashboard] Pools- delete : deleting pool causes a dashboard_exception
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Dashboard
Version: 4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 5.0
Assignee: Ernesto Puerta
QA Contact: Madhavi Kasturi
Anjana Suparna Sriram
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-13 08:49 UTC by Madhavi Kasturi
Modified: 2021-08-30 08:23 UTC (History)
4 users (show)

Fixed In Version: ceph-16.0.0-6817.el8cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-30 08:22:57 UTC
Embargoed:


Attachments (Terms of Use)
screenshot - Recent Notification (32.40 KB, image/jpeg)
2019-12-04 07:26 UTC, Madhavi Kasturi
no flags Details
Delete Pool disabled (41.35 KB, image/png)
2020-11-04 21:03 UTC, Veera Raghava Reddy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 43163 0 None None None 2019-12-05 19:57:48 UTC
Red Hat Issue Tracker RHCEPH-1006 0 None None None 2021-08-26 16:57:59 UTC
Red Hat Issue Tracker RHCSDASH-51 0 None None None 2021-08-26 16:57:56 UTC
Red Hat Product Errata RHBA-2021:3294 0 None None None 2021-08-30 08:23:31 UTC

Comment 1 Ernesto Puerta 2019-11-22 12:20:34 UTC
It looks like the pool deletion succeeded. At least I couldn't find any trace of it, and have repeated creation & deletion after that without issue.

Based on the exception above, it looks like the issue is not in the Pool delete, but in the Pool listing, which does not expect a Pool be deleted while being listed (race condition). I tried to gather more logs from that date, but they were rotated and removed.

I've also tried to reproduce this issue by massively creating & deleting pools simultaneously from CLI & dashboard, and couldn't reproduce it.

I'll decrease its severity, as:
* Pools are actually deleted.
* No high impact on users and simple workaround exists (a page refresh fixes the issue).
* Pool deletion is a very rare workflow, which makes this issue even less impacting.
* Can't be reproduced (so far).

Let's leave this open but with low severity and/or move it to 4.1.

Comment 4 Madhavi Kasturi 2019-12-04 07:26:08 UTC
Created attachment 1641915 [details]
screenshot - Recent Notification

Comment 7 Ernesto Puerta 2020-05-26 18:20:43 UTC
This should be fixed in 5.0

Comment 8 Veera Raghava Reddy 2020-11-04 21:03:05 UTC
Created attachment 1726707 [details]
Delete Pool disabled

Comment 9 Veera Raghava Reddy 2020-11-04 21:04:25 UTC
Delete Pool option is disabled. See attached screen shot "Delete Pool disabled.png"

Comment 11 Veera Raghava Reddy 2020-11-06 18:34:02 UTC
Thanks Ernesto.

After setting mon_allow_pool_delete, I am able to delete  Pools without any exception.

Comment 14 errata-xmlrpc 2021-08-30 08:22:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3294


Note You need to log in before you can comment on or make changes to this bug.