Bug 1771914

Summary: [ceph-dashboard] Pools- delete : deleting pool causes a dashboard_exception
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Madhavi Kasturi <mkasturi>
Component: Ceph-DashboardAssignee: Ernesto Puerta <epuertat>
Status: CLOSED ERRATA QA Contact: Madhavi Kasturi <mkasturi>
Severity: medium Docs Contact: Anjana Suparna Sriram <asriram>
Priority: medium    
Version: 4.0CC: ceph-eng-bugs, epuertat, tserlin, vereddy
Target Milestone: ---   
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.0.0-6817.el8cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:22:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot - Recent Notification
none
Delete Pool disabled none

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