Bug 1901503

Summary: Misleading error message, displaying Data Center Storage Type instead of its name
Product: Red Hat Enterprise Virtualization Manager Reporter: Hilda Stastna <hstastna>
Component: ovirt-engineAssignee: Ahmad Khiet <akhiet>
Status: CLOSED ERRATA QA Contact: Ahmad Khiet <akhiet>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.4.4CC: aefrat, akhiet, eshenitz, sfishbai, sgratch
Target Milestone: ovirt-4.4.5Keywords: ZStream
Target Release: 4.4.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-14 11:38:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Displaying Data Center Storage Type instead of its name in the dialog
none
Available Data Centers
none
verification of the bug none

Description Hilda Stastna 2020-11-25 12:59:12 UTC
Created attachment 1733331 [details]
Displaying Data Center Storage Type instead of its name in the dialog

Created attachment 1733331 [details]
Displaying Data Center Storage Type instead of its name in the dialog

Description of problem:
Misleading error message in the dialog after operation of creating new cluster was canceled.

Version-Release number of selected component (if applicable):
ovirt-engine 4.4.4

How reproducible:
always

Steps to Reproduce:
1. Create a data center with Local Storage Type and a cluster in this data center
2. Try to create another cluster: in the New Cluster dialog, fill-in the name, choose the Data Center from step 1

Actual results:
The operation was canceled with error message 'Error while executing action: Cannot add more than one Cluster to "Local Storage" Data Center' displayed in the dialog.

Expected results:
The operation canceled with error message 'Error while executing action: Cannot add more than one Cluster to "<DATA CENTER NAME>" Data Center' displayed in the dialog.

Alternatively, we could display the error message 'Error while executing action: Cannot add more than one Cluster to Data Center of the "Local Storage" type'.

Comment 1 Hilda Stastna 2020-11-25 13:01:49 UTC
Created attachment 1733333 [details]
Available Data Centers

The picture shows available Data Centers, no any Data Center with the "Local Storage" name present in the list

Comment 5 Shir Fishbain 2021-03-07 16:40:31 UTC
QE doesn't have enough capacity to verify this bug on the 4.4.5 release

Comment 6 Eyal Shenitzky 2021-03-08 09:13:27 UTC
This is a minor UI fix.
Ahmad please assist here and verify that bug.

Comment 7 Ahmad Khiet 2021-03-09 15:43:47 UTC
Verified on master.
build tag:
build: ovirt-engine-4.4.5.9

Comment 8 Eyal Shenitzky 2021-03-10 06:57:35 UTC
(In reply to Ahmad Khiet from comment #7)
> Verified on master.
> build tag:
> build: ovirt-engine-4.4.5.9

Please add the verification steps and what was before/after the fix.

Comment 9 Eyal Shenitzky 2021-03-10 06:57:51 UTC
(In reply to Ahmad Khiet from comment #7)
> Verified on master.
> build tag:
> build: ovirt-engine-4.4.5.9

Please add the verification steps and what was before/after the fix.

Comment 10 Ahmad Khiet 2021-03-11 18:32:19 UTC
Verification Steps: 
1- create a new Data Center and set "Storage Type" => "Local"
2- create a new cluster to the newly created Data Center.
3- go to the clusters tab, and, create a new cluster and attach it to the newly created Data Center in step (1).
4- the error message shows. (attached)

Comment 11 Ahmad Khiet 2021-03-11 18:34:39 UTC
Created attachment 1762743 [details]
verification of the bug

Comment 19 errata-xmlrpc 2021-04-14 11:38:43 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 RHEL Host (ovirt-host) 4.4.z [ovirt-4.4.5] security, bug fix, enhancement), 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-2021:1184