RHV : Unable to hot plug devices to VM
Issue
- Hot plugging a disk to a guest VM from GUI fails with error.
- The disk is added to the VM and shows up on disk's tab however, fails to show up on the guest VM.
Audit.log
| timezone | Message Type |
|---|---|
| 2017-10-23 10:55:17.189 | Failed to plug disk redhat_guest_vm_Disk4 to VM redhat_guest_vm |
| 2017-10-23 10:52:28.442 | The disk redhat_guest_vm_Disk4 was successfully added to VM redhat_guest_vm. |
| 2017-10-23 10:52:27.941 | Failed to plug disk redhat_guest_vm_Disk4 to VM redhat_guest_vm |
| 2017-10-23 10:52:10.756 | Add-Disk operation of redhat_guest_vm_Disk4 was initiated on VM redhat_guest_vm |
Engine.log
2017-10-23 10:52:27,928 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand] (DefaultQuartzScheduler8) [3964cfb7] Failed in 'HotPlugDiskVDS' method
2017-10-23 10:52:27,930 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler8) [3964cfb7] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VDSM redhat_host1 command failed: internal error: unable to execute QEMU command 'device_add': Unsupported bus. Bus doesn't have property 'acpi-pcihp-bsel' set
2017-10-23 10:52:27,930 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand] (DefaultQuartzScheduler8) [3964cfb7] Command 'org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand' return value 'StatusOnlyReturnForXmlRpc [status=StatusForXmlRpc [code=45, message=internal error: unable to execute QEMU command 'device_add': Unsupported bus. Bus doesn't have property 'acpi-pcihp-bsel' set]]'
2017-10-23 10:52:27,930 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand] (DefaultQuartzScheduler8) [3964cfb7] HostName = redhat_host1
2017-10-23 10:52:27,930 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand] (DefaultQuartzScheduler8) [3964cfb7] Command 'HotPlugDiskVDSCommand(HostName = redhat_host1, HotPlugDiskVDSParameters:{runAsync='true', hostId='147a87ab-1c84-4b21-bf05-20ddefb3fc06', vmId='e57da002-72fb-498a-85b8-93270fcb8f74', diskId='e7baba78-f252-4b38-b264-b65fc0867f36', addressMap='null'})' execution failed: VDSGenericException: VDSErrorException: Failed to HotPlugDiskVDS, error = internal error: unable to execute QEMU command 'device_add': Unsupported bus. Bus doesn't have property 'acpi-pcihp-bsel' set, code = 45
VDSM.log
jsonrpc.Executor/4::INFO::2017-10-23 10:52:27,022::vm::2752::virt.vm::(hotplugDisk) vmId=`e57da002-72fb-498a-85b8-93270fcb8f74`::Hotplug disk xml: <disk address="" device="disk" snapshot="no" type="block">
<source dev="/rhev/data-center/84209043-452c-430b-b556-f93d1f41e4b6/8c593ec7-9782-4fc7-be2a-8677df0f5dcd/images/e7baba78-f252-4b38-b264-b65fc0867f36/a4e5360f-7892-4052-a392-888903c143f7"/>
<target bus="virtio" dev="vdd"/>
<serial>e7baba78-f252-4b38-b264-b65fc0867f36</serial>
<driver cache="none" error_policy="stop" io="native" name="qemu" type="raw"/>
</disk>
jsonrpc.Executor/4::ERROR::2017-10-23 10:52:27,069::vm::2760::virt.vm::(hotplugDisk) vmId=`e57da002-72fb-498a-85b8-93270fcb8f74`::Hotplug failed
Traceback (most recent call last):
File "/usr/share/vdsm/virt/vm.py", line 2758, in hotplugDisk
self._dom.attachDevice(driveXml)
File "/usr/share/vdsm/virt/virdomain.py", line 68, in f
ret = attr(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 124, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 1313, in wrapper
return func(inst, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 540, in attachDevice
if ret == -1: raise libvirtError ('virDomainAttachDevice() failed', dom=self)
libvirtError: internal error: unable to execute QEMU command 'device_add': Unsupported bus. Bus doesn't have property 'acpi-pcihp-bsel' set
Environment
- Red Hat Virtualization 4.x
- Red Hat Enterprise Virtualization 3.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
