Bug 2040474 - [RFE] Add progress tracking for Cluster Upgrade
Summary: [RFE] Add progress tracking for Cluster Upgrade
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Scott Dickerson
QA Contact: Ivana Saranova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-13 18:47 UTC by Scott Dickerson
Modified: 2022-05-26 16:23 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.5.0 ovirt-engine-ui-extensions-1.3.2-1 ovirt-ansible-collection-2.0.2-1 ovirt-engine-api-model-4.5.8-0
Doc Type: Enhancement
Doc Text:
The Administration Portal cluster upgrade interface has been improved to provide better error messaging and status and progress indications.
Clone Of:
Environment:
Last Closed: 2022-05-26 16:23:26 UTC
oVirt Team: UX
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-ansible-collection pull 368 0 None Merged ovirt_event: enable correlation_id param 2022-03-15 09:43:34 UTC
Github oVirt ovirt-ansible-collection pull 415 0 None Merged roles: cluster_upgrade: Add progress tracking/reporting 2022-03-15 09:43:33 UTC
Github oVirt ovirt-ansible-collection pull 449 0 None Merged cluster_upgrade: Directly log progress to the cluster 2022-03-25 19:30:12 UTC
Github oVirt ovirt-ansible-collection pull 474 0 None Merged cluster_upgrade: fix upgrade progress log_progress task 2022-04-07 12:52:09 UTC
Github oVirt ovirt-engine-api-model pull 32 0 None Merged Add upgrade progress tracking for Clusters 2022-03-24 13:50:28 UTC
Github oVirt ovirt-engine-ui-extensions pull 25 0 None Merged cluster upgrade: use correlation id for ansible playbooks 2022-03-15 09:43:30 UTC
Github oVirt ovirt-engine-ui-extensions pull 37 0 None Merged cluster upgrade: migrate the wizard to PF4, add progress view 2022-03-29 16:48:53 UTC
Github oVirt ovirt-engine pull 170 0 None Merged restapi+core: Allow cluster upgrade progress reporting 2022-03-29 16:49:25 UTC
Github oVirt ovirt-engine pull 171 0 None Merged webadmin: Cluster grid upgrade status column as progress bar 2022-03-29 17:05:33 UTC
Red Hat Issue Tracker RHV-44471 0 None None None 2022-01-13 18:49:37 UTC
Red Hat Product Errata RHSA-2022:4711 0 None None None 2022-05-26 16:23:39 UTC

Description Scott Dickerson 2022-01-13 18:47:53 UTC
Following up BZ1750426, enhance the cluster_upgrade ansible role to track the percent complete progress of the operation.  Logging percent complete via events allows easy access to the status of the long running progress.

Requirements:

- Log progress as a percent complete indication along with a report of what step is currently running.

- Log to events so it is easy to check on over time.

- Ensure the same correlation id is used across all related events to make it easy to see all the event together.

- Add a progress bar to the "Update Status" column of the Cluster grid in the Admin Portal that displays the percent complete.  This will replace the static text "Upgrade in progress".

Comment 2 Scott Dickerson 2022-02-15 22:03:32 UTC
> 
> Requirements:
> 
> - Log progress as a percent complete indication along with a report of what
> step is currently running.
> 
> - Log to events so it is easy to check on over time.
> 
> - Ensure the same correlation id is used across all related events to make
> it easy to see all the event together.
> 

These 3 requirements are complete.  When https://github.com/oVirt/ovirt-engine-ui-extensions/pull/25
is merged, the correlation id will tie all of the event together.

> 
> - Add a progress bar to the "Update Status" column of the Cluster grid in
> the Admin Portal that displays the percent complete.  This will replace the
> static text "Upgrade in progress".
> 

This work is currently in progress in the ovirt-engine-ui-extensions and ovirt-engine/webadmin projects.

Comment 5 Sandro Bonazzola 2022-03-29 16:16:40 UTC
We are past 4.5.0 feature freeze, please re-target.

Comment 6 Sharon Gratch 2022-03-29 17:09:08 UTC
(In reply to Sandro Bonazzola from comment #5)
> We are past 4.5.0 feature freeze, please re-target.

All is merged for 4.5.

Comment 9 Ivana Saranova 2022-05-04 15:34:07 UTC
Steps:
1) Have hosts to be upgraded
2) Login to webadmin, go to clusters
3) Click on upgrade and follow the steps (select multiple hosts)
4) Run the upgrade and follow the log, events and clusters table row

Results:
Upgrade modal log works as intended and contains progress logger that works as intended. Events are logged along the whole process. Events in the events tab are also logged properly and have a correlation_id which is accessible from the upgrade modal (clicking on the show in events button), which makes it easier to filter out unnecessary events. The cluster table contains a column called Upgrade status that has a progress bar in case the upgrade is happening and is tracking the progress correctly.

Hosts were upgraded and cluster upgrade finished successfully.

Verified in:
ovirt-ansible-collection-2.0.3-1.el8ev.noarch
ovirt-engine-ui-extensions-1.3.3-1.el8ev.noarch
ovirt-engine-4.5.0.6-0.7.el8ev.noarch

Comment 14 errata-xmlrpc 2022-05-26 16:23:26 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 (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.0] security 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/RHSA-2022:4711


Note You need to log in before you can comment on or make changes to this bug.