Bug 1281972

Summary: After resuming a failed task, the progress bar stays at red, while progress bar is updated.
Product: Red Hat Quickstart Cloud Installer Reporter: John Matthews <jmatthew>
Component: WebUIAssignee: Erik Nelson <ernelson>
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0CC: ernelson, tpapaioa, tsanders
Target Milestone: ---Keywords: Triaged
Target Release: 1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-13 16:22:49 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:    
Bug Blocks: 1342594    

Description John Matthews 2015-11-13 23:26:57 UTC
Description of problem:

I ran a CFME deployment, I had a syntax problem in the deploy code and the task failed.
Fixed the code problem and restarted/resumed the task.

See the task is being updated and progress bar is advancing, but it's "red" and not green and "error" is still displayed on the webui.

Let's see if we can determine a task has been resumed, if it has been, clear prior error and follow it's progress.

Comment 1 Erik Nelson 2016-07-13 16:25:38 UTC
Pretty sure this has been fixed during the course of development, I was able to simulate a failure and resume and have the error clear / bar switch back to green. I also know redeploy will successfully handle this.

Comment 6 Tasos Papaioannou 2016-08-16 14:49:08 UTC
I'm not clear on what the exact steps are in https://bugzilla.redhat.com/show_bug.cgi?id=1281972#c0 , but here's what I did:

1.) Start RHV deployment.
2.) Shut down the Foreman discovery hosts before the content sync tasks are complete, so that the provisioning step will fail.
3.) See the RHV progress bar fail at 10% due to timeout during 'Deploy Red Hat Enterprise Virtualization' sub task failure.
4.) Resume the 'Deploy Red Hat Enterprise Virtualization' task in Monitor > Tasks.
5.) Go to '5B. Installation Progress' in the deployment.
6.) See RHV progress bar continue to move to higher percentages, but progress bar stays red. Once the progress bar reaches 100%, it does turn green.

Is resuming a failed deployment from Monitor > Tasks actually a supported workflow? If so, then I would expect the progress bar to turn blue once the task is resumed, and not stay red until it reaches 100%.

Comment 7 Todd Sanders 2016-08-18 14:56:25 UTC
Moving to post 1.0 GA

Comment 9 errata-xmlrpc 2016-09-13 16:22:49 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, 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-2016:1862