Created attachment 916872 [details] vdsm+engine logs Description of problem: HotPluging a direct Lun disk fails with several engine's exceptions in a case of a target vm with one deactivated file disk from engine's log: 2014-07-09 18:18:33,328 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand] (ajp--127.0.0.1-8702-8) [22ba08f4] Command HotPlugDiskVDSCommand(HostName = vdsc, HostId = 46052aa2-266a-4e50-a61f-d78e5f004f91, vmId=3264c6fc-c1d4-4450-89a1-5ff3067675e6, diskId = 24d43e68-027f-4cb0-8419-451e98621efa) execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to HotPlugDiskVDS, error = internal error unable to execute QEMU command 'device_add': Device 'virtio-blk-pci' could not be initialized, code = 45 2014-07-09 18:18:33,343 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand] (ajp--127.0.0.1-8702-8) [22ba08f4] FINISH, HotPlugDiskVDSCommand, log id: 6ef611c2 2014-07-09 18:18:33,348 ERROR [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp--127.0.0.1-8702-8) [22ba08f4] Command org.ovirt.engine.core.bll.AttachDiskToVmCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to HotPlugDiskVDS, error = internal error unable to execute QEMU command 'device_add': Device 'virtio-blk-pci' could not be initialized, code = 45 (Failed with error FailedToPlugDisk and code 45) 2014-07-09 18:18:33,360 ERROR [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp--127.0.0.1-8702-8) [22ba08f4] Transaction rolled-back for command: org.ovirt.engine.core.bll.AttachDiskToVmCommand. 2014-07-09 18:18:33,378 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-8) [22ba08f4] Correlation ID: 22ba08f4, Call Stack: null, Custom Event ID: -1, Message: Failed to attach Disk disk_1 to VM vm (User: admin). 2014-07-09 18:18:33,385 INFO [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp--127.0.0.1-8702-8) [22ba08f4] Lock freed to object EngineLock [exclusiveLocks= key: 24d43e68-027f-4cb0-8419-451e98621efa value: DISK Version-Release number of selected component (if applicable): alpha2 How reproducible: 100% Steps to Reproduce: 1.create a vm+thin nfs disk 2.run vm and deactivate it's disk 3.create a direct-Lun disk 4.HotPlug it to the vm Actual results: operation Fails Expected results: operation should be successful or not be aloud Additional info: not a regression
We do not guarantee a successful hotplug in case of a guest without os, (see also https://bugzilla.redhat.com/show_bug.cgi?id=1117179#c5) - Therefore closing this one as WONTFIX. If there is further issue here other than the one please let me know and we'll decide to handle it as part of this bug or another bug.