Bug 1752944

Summary: Cleanup should confirm before starting up the cleanup process
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: rhhiAssignee: Parth Dhanjal <dparth>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: medium    
Version: rhhiv-1.6CC: godas, rhs-bugs, sabose
Target Milestone: ---   
Target Release: RHHI-V 1.8   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.14.3-1.el8ev Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1752951 (view as bug list) Environment:
Last Closed: 2020-08-04 14:50: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:
Bug Depends On: 1752951    
Bug Blocks: 1779975    

Description SATHEESARAN 2019-09-17 16:01:35 UTC
Description of problem:
------------------------
With RHV 4.3.6 , an option to cleanup the existing gluster configuration is provided right from the cockpit deployment wizard. But when 'cleanup' button is clicked, the cleanup process immediately starts the process of removing the existing configuration. As cleanup is the 'destructive' activity, it should be confirmed before actually proceeding to the cleanup process. There are high chances that the user/customer could hit the 'cleanup' button by mistake.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
cockpit-ovirt-dashboard-0.13.8

How reproducible:
------------------
Always

Steps to Reproduce:
--------------------
1. Complete the gluster deployment
2. Restart the gluster deployment from cockpit
3. Click on 'Clean gluster configuration' button

Actual results:
----------------
Cleanup proceeds without confirmation

Expected results:
------------------
There should be proper confirmation. Statement should be available like 'This will remove the existing gluster configuration. CONFIRM/CANCEL' kind of confirmation should be available to avoid the accidentally-hit-that-button scenario

Comment 1 SATHEESARAN 2020-03-30 14:15:22 UTC
Tested with cockpit-ovirt-dashboard-0.14.3

While attempting for cleanup, the confirmation dialogue pops up for double-check confirmation

Comment 4 errata-xmlrpc 2020-08-04 14:50: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 (RHHI for Virtualization 1.8 bug fix and enhancement update), 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/RHEA-2020:3314