Created attachment 846560 [details] engine logs Description of problem: If a vm is started with virtio-scsi disabled (checkbox disabled from the resource allocation tab of the edit vm dialog), opening the edit vm dialog and then pressing ok results in the following error message showing up in the webadmin: " Error while executing action: the_VM: Failed updating the properties of the VM. VM should be in status Down in order to change the VirtIO-SCSI device. " This happens whenever ok is pressed on the edit vm dialog for a running vm and the checkbox is disabled, even if it was disabled when the dialog was opened and the vm launched like this. Enabling the checkbox, even if it was disabled before, will allow the action to complete successfully. Engine logs show the following CanDoAction failure: 2014-01-07 12:07:29,352 INFO [org.ovirt.engine.core.bll.UpdateVmCommand] (ajp-/127.0.0.1:8702-4) [2d0ea6d8] Lock Acquired to object EngineLock [exclusiveLocks= key: the_VM value: VM_NAME , sharedLocks= ] 2014-01-07 12:07:29,367 WARN [org.ovirt.engine.core.bll.UpdateVmCommand] (ajp-/127.0.0.1:8702-4) [2d0ea6d8] CanDoAction of action UpdateVm failed. Reasons:VAR__ACTION__UPDATE,VAR__TYPE__VM,$device VirtIO-SCSI,VM_CANNOT_UPDATE_DEVICE_VM_NOT_DOWN 2014-01-07 12:07:29,367 INFO [org.ovirt.engine.core.bll.UpdateVmCommand] (ajp-/127.0.0.1:8702-4) [2d0ea6d8] Lock freed to object EngineLock [exclusiveLocks= key: the_VM value: VM_NAME , sharedLocks= ] 2014-01-07 12:08:09,962 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-34) [214ebf7f] VM the_VM e88df900-54f5-40a6-8f72-b288aedd19df moved from PoweringUp --> Up 2014-01-07 12:08:09,971 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-34) [214ebf7f] Correlation ID: 6e1b8a78, Job ID: 995a2d21-f116-4f94-8ba6-d9fbcb120438, Call Stack: null, Custom Event ID: -1, Message: VM the_VM started on Host aqua-vds5.qa.lab.tlv.redhat.com Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Create vm 2. Edit vm -> show advanced options -> resource allocation -> Uncheck the "virtio-scsi enabled" checkbox 3. launch vm 4. edit vm - do not change any settings and press ok Actual results: Error message appears Expected results: Error message should not appear, since nothing was changed Additional info:
ok, beta2.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2014-0506.html