Repository navigation
mgr/dashboard : Implement dependent resource handling for gateway Deletion - #69487
Conversation
b1fb36d to
51fc649
Compare
|
jenkins test windows |
afreen23
left a comment
There was a problem hiding this comment.
Whay cant we use exiting modal DeleteConfirmationModalComponent ?
I intentionally did not add this logic to DeleteConfirmationModalComponent because it is already handling multiple scenarios with several conditional (if/else) branches. In this case, after deleting the subsystem, we need to open another delete confirmation modal, which would add even more complexity to the existing component. |
Why cant we make that simpler - this will be moving away from consistency, we should see to it. Lets discuss on a call the hiccups. |
@Afreen, let’s proceed with merging this for now. I’ll set up a tracker for the generic code, and we can separate it later once the work is delivered |
|
jenkins test windows |
|
jenkins test dashboard cephadm |
|
jenkins test windows |
if you are planning to do that separately, please create a tracker with necessary context in it. So that, if not you, somebody else can also pick that up and do things.. |
Please find the tracker for reference |
Please find the tracker for reference |
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are: Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
mgr/dashboard : Implement dependent resource handling for gateway Deletion Reviewed-by: Nizamudeen A <[email protected]> Reviewed-by: Sagar Gopale <[email protected]> Reviewed-by: Afreen Misbah <[email protected]>
Fixes: https://tracker.ceph.com/issues/77403
Signed-off-by: pujaoshahu [email protected]
Summary:
Added a pre-deletion check to prevent deleting a gateway group that still has associated resources.
Display a modal dialog when deletion is blocked, clearly explaining why the action cannot proceed.
List all connected subsystems linked to the selected gateway group.
Provide direct navigation links to the dependent subsystems for easier cleanup.
Guide users to remove dependent resources before retrying the deletion.
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.