Bug 1901503 - Misleading error message, displaying Data Center Storage Type instead of its name
Summary: Misleading error message, displaying Data Center Storage Type instead of its ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.4.4
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ovirt-4.4.5
: 4.4.5
Assignee: Ahmad Khiet
QA Contact: Ahmad Khiet
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-25 12:59 UTC by Hilda Stastna
Modified: 2021-04-23 08:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-14 11:38:43 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Displaying Data Center Storage Type instead of its name in the dialog (99.76 KB, image/png)
2020-11-25 12:59 UTC, Hilda Stastna
no flags Details
Available Data Centers (58.35 KB, image/png)
2020-11-25 13:01 UTC, Hilda Stastna
no flags Details
verification of the bug (44.09 KB, image/png)
2021-03-11 18:34 UTC, Ahmad Khiet
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:1184 0 None None None 2021-04-14 11:39:25 UTC
oVirt gerrit 112961 0 master MERGED webadmin: rephrase error message related to new cluster creation 2021-01-24 16:41:53 UTC

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


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