Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1429887

Summary: Cannot modify a VM created from template in AdminPortal.
Product: [oVirt] ovirt-engine Reporter: Andrei Stepanov <astepano>
Component: BLL.VirtAssignee: Martin Betak <mbetak>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: high    
Version: 4.1.1.3CC: astepano, bugs, michal.skrivanek
Target Milestone: ovirt-4.1.2Flags: rule-engine: ovirt-4.1+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-08 12:44:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
"Edit" log.
none
engine.log (full), VM name in the question is: "delmewin7413". none

Description Andrei Stepanov 2017-03-07 11:50:34 UTC
Created attachment 1260756 [details]
"Edit" log.

Any modification to VM created from template ends in: Operation Canceled

ovirt-engine-4.1.1.3-0.1.el7.noarch
vdsm-4.19.7-1.el7ev.x86_64

Steps to Reproduce:
1. Log in to Admin portal.
2. Create a VM from a template.
2. Start the VM.
3. Shutdown VM.
4. Select the VM and press Edit.
5. Try to change VM's name.

Actual results: pop-up message appears:

Operation Canceled
Error while executing action: 
delmewin7413:
Cannot disable VirtIO-SCSI when disks with a VirtIO-SCSI interface are plugged into the VM.

Comment 1 Andrei Stepanov 2017-03-07 11:54:46 UTC
Created attachment 1260757 [details]
engine.log (full), VM name in the question is: "delmewin7413".

Comment 2 Michal Skrivanek 2017-03-08 05:56:39 UTC
I suppose you can re-enable the virtio-scsi checkbox in the dialog again, right?
Does the template have virtio-scsi disks?

Comment 3 Michal Skrivanek 2017-03-08 12:23:59 UTC
Confirmed on the setup - during "Create VM from Template" dialog the virtio scsi checkbox is not checked even when the template has virtio-scsi disks.
Seems to be just a GUI issue

Comment 4 Michal Skrivanek 2017-03-08 12:44:06 UTC
actually, the template doesn't have it in the first place. That was fixed just recently in bug 1422374

*** This bug has been marked as a duplicate of bug 1422374 ***