Bug 1590911 - wrong template details shown when names are matching
Summary: wrong template details shown when names are matching
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.2.3.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.4.0
: ---
Assignee: Liran Rotenberg
QA Contact: Tamir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-13 15:57 UTC by Evgheni Dereveanchin
Modified: 2020-05-20 20:01 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, if two or more templates had the same name, selecting any of these templates displayed the same details from only one of the templates. This happened because the Administration Portal identified the selected template using a non-unique template name. The current release fixes this issue by using the template ID, which is unique, instead.
Clone Of:
Environment:
Last Closed: 2020-05-20 20:01:53 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 104303 0 'None' MERGED webadmin: fix same name template selection 2021-01-15 12:23:05 UTC

Description Evgheni Dereveanchin 2018-06-13 15:57:13 UTC
Description of problem:
The new UI has an issue when different datacenters have a template with the same name. When clicking on any of such templates, one will see the details of the first one, not the on that was requested.

Version-Release number of selected component (if applicable):
ovirt-engine-4.2.3.8-1.el7

How reproducible:
Always

Steps to Reproduce:
1. create 2 data centers in oVirt: dc1 and dc2
2. create template "centos7" in both datacenters
3. in admin portal, go to Compute > Templates
4. click on the name of the template in dc2

Actual results:
details of template in dc1 are shown, it is impossible to view details of the dc2 one

Expected results:
Proper template details page is displayed

Additional info:
The unique detail of a template is its UUID, not name as those can overlap across datacenters.

Comment 1 Ryan Barry 2019-01-21 14:54:31 UTC
Re-targeting to 4.3.1 since it is missing a patch, an acked blocker flag, or both

Comment 2 Lucie Leistnerova 2019-06-28 08:30:22 UTC
The same issue is with subversions of template. The links from templates goes always to one subversion.

Comment 3 Shmuel Melamud 2019-11-18 14:14:53 UTC
There is a similar bug with two clusters in different datacenters having the same name.

Comment 4 Tamir 2020-02-13 14:52:47 UTC
I verified the fix, the steps:

1. create 2 data centers in oVirt: dc1 and dc2
2. create template "centos7" in both datacenters
3. in admin portal, go to Compute > Templates
4. click on the name of the template in dc2

Comment 7 Sandro Bonazzola 2020-05-20 20:01:53 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

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