Bug 1807391

Summary: When cleanup attempted from cockpit is in progress, the cockpit window reflects the old failure status
Product: [oVirt] cockpit-ovirt Reporter: Gobinda Das <godas>
Component: gluster-ansibleAssignee: Parth Dhanjal <dparth>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.14.1CC: bshetty, bugs, dparth, rhs-bugs, sasundar
Target Milestone: ovirt-4.4.0Flags: sbonazzo: ovirt-4.4?
sbonazzo: planning_ack?
sbonazzo: devel_ack+
sasundar: testing_ack+
Target Release: 0.14.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.14.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1796405 Environment:
Last Closed: 2020-05-20 20:03:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1796405    

Description Gobinda Das 2020-02-26 09:30:39 UTC
Description of problem:
------------------------
When deployment fails in some stage of gluster configuration, cockpit windows shows up the status as 'Deployment Failed' and provides 2 options:
1. Cleanup
2. Redeploy

When someone tries 'Cleanup', the status of the cockpit still remains as 'Deployment Failed'

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHVH 4.3.8

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

Steps to Reproduce
-------------------
1. Start RHHI-V deployment and make some intentional failure, so the deployment fails later. For eg: use LVM cache, with no available disk
2. When deployment fails, note down the status of the window.
3. Hit 'Cleanup' 

Actual results:
---------------
Status still stays - 'Deployment Failed'

Expected results:
------------------
Spinner should show up with the status - 'Cleanup is in progress'

Comment 1 SATHEESARAN 2020-03-30 14:25:07 UTC
Tested with cockpit-ovirt-dashboard-0.14.3 with the following steps:
1. Start the HC deployment
2. Complete all the tabs and start deployment, with incorrect host FQDNs
3. When deployment fails, choose the option to 'cleanup'
The task bar in the wizard shows the 'spinner' with status cleanup in progress, 
when its done, it displays 'Cleanup is completed'

Comment 2 Sandro Bonazzola 2020-05-20 20:03:20 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE.

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