Bug 1796405

Summary: When cleanup attempted from cockpit is in progress, the cockpit window reflects the old failure status
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: bshetty, godas, rhs-bugs
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:
: 1807391 (view as bug list) Environment:
Last Closed: 2020-08-04 14:51:32 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: 1807391    
Bug Blocks: 1779975    
Attachments:
Description Flags
Cockpit wizard while cleanup in progress none

Description SATHEESARAN 2020-01-30 10:57:58 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 2 SATHEESARAN 2020-01-30 11:01:02 UTC
Created attachment 1656465 [details]
Cockpit wizard while cleanup in progress

cockpit wizard while the cleanup in progress

Comment 3 Parth Dhanjal 2020-02-17 07:27:51 UTC
*** Bug 1715421 has been marked as a duplicate of this bug. ***

Comment 4 SATHEESARAN 2020-03-30 14:24:28 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 7 errata-xmlrpc 2020-08-04 14:51:32 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