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
Created attachment 1201157 [details] engine.log
Version: Red Hat Virtualization Manager Version: 4.0.4.2-0.1.el7ev
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?
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.
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.
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
*** Bug 1420752 has been marked as a duplicate of this bug. ***