Bug 1293152 - New VM dialog offers VM templates from different DCs which are not accessible/usable
Summary: New VM dialog offers VM templates from different DCs which are not accessible...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-3.6.3
: 3.6.3
Assignee: Arik
QA Contact: Jiri Belka
URL:
Whiteboard:
Depends On:
Blocks: 1213937
TreeView+ depends on / blocked
 
Reported: 2015-12-20 19:55 UTC by Petr Spacek
Modified: 2016-03-21 13:03 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, templates listed in the 'Add Virtual Machine' window were not filtered based on their data center, which meant a template not residing on the destination data center could be selected and causing the virtual machine creation to fail. Now, templates that do not reside in the destination data center are filtered out so that only eligible templates are listed.
Clone Of:
Environment:
Last Closed: 2016-03-21 13:03:04 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 51070 0 ovirt-engine-3.6 MERGED userportal: present only templates in data center on new vm 2015-12-27 13:47:59 UTC
oVirt gerrit 51071 0 master MERGED userportal: present only templates in data center on new vm 2015-12-27 08:38:10 UTC
oVirt gerrit 51241 0 master MERGED engine: Blank template doesn't appear in user portal's new vm dialog 2016-01-04 07:36:06 UTC
oVirt gerrit 51275 0 ovirt-engine-3.6 MERGED engine: Blank template doesn't appear in user portal's new vm dialog 2016-01-05 09:49:01 UTC

Description Petr Spacek 2015-12-20 19:55:43 UTC
Description of problem:
After upgrade to RHEV-M 3.6.1, the "new VM" dialog in User Portal offers VM templates from all data centres in template selection drop box. The problem is that most of the templates are not applicable - when I select a template and attempt to create a VM from it, I get error "The specified Template doesn't exist in the current Data Center."

This is really annoying because now the dialog offers dozens of templates I cannot use anyway so it is hard to use.

Version-Release number of selected component (if applicable):
3.6.1-0.2.el6

How reproducible:
100 %

Steps to Reproduce:
1. Use a setup with multiple DCs.
2. Create some templates in each DC.
3. Open a new VM dialog
4. Select DC1 / cluster 1 and see template drop-down list.

Actual results:
The drop-down list contains templates from all DCs.

Expected results:
The drop-down list contains only templates from selected DC, and only templates usable by the particular user.

Comment 1 Michal Skrivanek 2015-12-21 10:18:59 UTC
some of the exceptions mentioned in bug 1293269 might be relevant.

log also shows
ERROR [org.ovirt.engine.core.bll.GetVmTemplatesByStoragePoolIdQuery] (ajp-/127.0.0.1:8702-10) [] Query execution failed due to insufficient permissions.

Comment 2 Michal Skrivanek 2015-12-21 10:20:18 UTC
version is rhevm-3.6.1-0.2.el6.noarch

Comment 5 Tomas Jelinek 2016-01-04 07:20:07 UTC
since it caused a regression fixed by https://gerrit.ovirt.org/#/c/51241/ which is not yet merged, moving back to post

Comment 7 Jiri Belka 2016-02-12 12:01:53 UTC
ok, rhevm-webadmin-portal-3.6.3.1-0.1.el6.noarch

Comment 8 Eyal Edri 2016-03-21 13:03:04 UTC
3.6.3 was GA, closing


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