Bug 1589512

Summary: [RFE] display all errors at once when upgrading cluster compatibility level
Product: [oVirt] ovirt-engine Reporter: Eli Mesika <emesika>
Component: Backend.CoreAssignee: Dana <delfassy>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matyáš <pmatyas>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: bugs, lsvaty, mgoldboi, mperina, rnori
Target Milestone: ovirt-4.3.2Keywords: FutureFeature
Target Release: ---Flags: rule-engine: ovirt-4.3+
pmatyas: testing_plan_complete-
mgoldboi: planning_ack+
mperina: devel_ack+
lsvaty: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.3.1.1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-19 10:03:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot none

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.