Bug 1376339 - [UI] Impossible to create / attach disk after changing Template value
Summary: [UI] Impossible to create / attach disk after changing Template value
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.0.2.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.1.0-alpha
: 4.1.0.2
Assignee: Martin Betak
QA Contact: Israel Pinto
URL:
Whiteboard:
: 1420752 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-15 07:30 UTC by Israel Pinto
Modified: 2017-08-22 07:38 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-02-01 14:48:18 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)
screenshot of new vm window (136.55 KB, image/png)
2016-09-15 07:30 UTC, Israel Pinto
no flags Details
engine.log (119.74 KB, text/plain)
2016-09-15 08:09 UTC, Israel Pinto
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 67264 0 None None None 2016-11-24 12:15:44 UTC

Description Israel Pinto 2016-09-15 07:30:48 UTC
Created attachment 1201153 [details]
screenshot of new vm window

Description of problem:
From the UI it impossible to create / attach disk after changing Template value 

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


How reproducible:
100 %

Steps to Reproduce:
1. Open 'New VM' window
2. Choose cluster, Template (not Blank)
3. Set name
4. Go back to Template and set to Blank

Actual results:
The option of create / attach is grayout 

Expected results:
Since we change to Blank we should be able to add disk to VM

Comment 1 Israel Pinto 2016-09-15 08:09:55 UTC
Created attachment 1201157 [details]
engine.log

Comment 2 Israel Pinto 2016-09-15 08:11:12 UTC
Version:
Red Hat Virtualization Manager Version: 4.0.4.2-0.1.el7ev

Comment 3 Martin Betak 2016-11-03 16:58:02 UTC
After a bit of investigation it seems that for templates with disks there is a special handling preventing the mixing of images and template disks. For templates without disks it works. 

@Tomas: can you please confirm this behavior is intended?

Comment 4 Martin Betak 2016-11-24 12:15:44 UTC
Ok it seems there was indeed a bug in the specific flow when switching from a template with disks to the Blank template. Patch posted u/s.

Comment 5 Sandro Bonazzola 2016-12-12 13:55:22 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 6 Israel Pinto 2017-01-11 12:29:12 UTC
Verify with:
Engine:
oVirt Engine Version: 4.2.0-0.0.master.20170104114928.git5490b36.el7.centos
Host:
OS Version:RHEL - 7.3 - 7.el7
Kernel Version:3.10.0 - 514.el7.bug1404060_20.x86_64
KVM Version:2.6.0 - 28.el7_3.3
LIBVIRT Version:libvirt-2.0.0-10.el7_3.2
VDSM Version:vdsm-4.20.0-128.git7001c0a.el7.centos
SPICE Version:0.12.4 - 19.el7

Steps:
1. Open 'New VM' window
2. Choose cluster, Template (not Blank)
3. Set name
4. Go back to Template and set to Blank
5. Add /Attached disk to VM

Results:
PASS

Comment 7 Michal Skrivanek 2017-08-22 07:38:38 UTC
*** Bug 1420752 has been marked as a duplicate of this bug. ***


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