Bug 1589512 - [RFE] display all errors at once when upgrading cluster compatibility level
Summary: [RFE] display all errors at once when upgrading cluster compatibility level
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ovirt-4.3.2
: ---
Assignee: Dana
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-10 12:03 UTC by Eli Mesika
Modified: 2019-03-19 10:03 UTC (History)
5 users (show)

Fixed In Version: ovirt-engine-4.3.1.1
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-19 10:03:25 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.3+
pmatyas: testing_plan_complete-
mgoldboi: planning_ack+
mperina: devel_ack+
lsvaty: testing_ack+


Attachments (Terms of Use)
screenshot (71.55 KB, image/png)
2019-02-22 15:49 UTC, Petr Matyáš
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 96490 0 master MERGED engine: Display all errors at once when upgrading cluster compitability level 2020-07-08 10:47:33 UTC
oVirt gerrit 96858 0 master ABANDONED engine: Add functionality to ClusterValidator 2020-07-08 10:47:33 UTC
oVirt gerrit 97348 0 master ABANDONED engine: Add functionality to ClusterValidator 2020-07-08 10:47:33 UTC
oVirt gerrit 97356 0 master MERGED engine: Add functionality to ClusterValidator 2020-07-08 10:47:33 UTC
oVirt gerrit 97365 0 master MERGED engine: update validate() in UpdateClusterCommand.java 2020-07-08 10:47:33 UTC
oVirt gerrit 98026 0 master MERGED engine: Display all errors at once when upgrading cluster compitability level 2020-07-08 10:47:33 UTC

Description Eli Mesika 2018-06-10 12:03:48 UTC
Description of problem:

when  upgrading cluster compatibility level and more than one host is rejected then errors are not accumulated 


How reproducible:

Always


Steps to Reproduce:

3 host cluster with SandyBridge CPUs, moving CPU arch to Broadwell on cluster

Message displayed:
Error while executing action: Cannot change Cluster CPU to higher CPU type when there are active Hosts with lower CPU type.
-Please move Host host_mixed_3 with lower CPU to maintenance first.

Message expected:
Error while executing action: Cannot change Cluster CPU to higher CPU type when there are active Hosts with lower CPU type.
-Please move Hosts host_mixed_1, host_mixed_2, host_mixed_3 with lower CPU to maintenance first.


This way user won't have to go through tabs cluster -> edit cluster -> failed msg ->hosts -> maintenance -> cluster -> edit cluster -> failed msg 
3 times


Actual results:

Errors are displayed one by one 

Expected results:

All errors should be displayed at once 


Additional info:

Comment 1 Petr Matyáš 2019-02-22 15:49:05 UTC
Well, now the errors are displayed in one window, however there are still separate messages for every host in that window which I don't think is very nice.

IMO the message should be like in comment #0 in expected message, one message mentioning all the hosts that don't comply.

Tested on ovirt-engine-4.3.1.1-0.1.el7.noarch

Comment 2 Petr Matyáš 2019-02-22 15:49:49 UTC
Created attachment 1537593 [details]
screenshot

Comment 3 Petr Matyáš 2019-03-06 12:39:15 UTC
Verified on ovirt-engine-4.3.2-0.1.el7.noarch

Comment 4 Sandro Bonazzola 2019-03-19 10:03:25 UTC
This bugzilla is included in oVirt 4.3.2 release, published on March 19th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.2 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.


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