Red Hat Bugzilla – Bug 988354
nic->network assignement not working for VM created from template with disk
Last modified: 2013-11-27 05:02:38 EST
Create a VM from template with big disk and couple of nics. In
new vm dialog edit the nic->network assignment. Press OK.
It will fail with:
2013-07-25 13:16:45,715 WARN [org.ovirt.engine.core.bll.network.vm.UpdateVmInterfaceCommand] (http--0.0.0.0-8080-1) [70beffb3] CanDoAction of action UpdateVmInterface failed. Reasons:VAR__TYPE__INTERFACE,VAR__ACTION__UPDATE,NETWORK_CANNOT_CHANGE_STATUS_WHEN_NOT_DOWN_UP
First the AddVmFromTemplate is called. After it returns the
UpdateVmInterfaceCommand is called to edit the nic->network
The problem is that the VM status can be "image locked" which
prevents the nic editing.