Red Hat Bugzilla – Bug 998855
Hotplug of vnic not working correctly with no guest running
Last modified: 2016-02-10 14:55:51 EST
Created attachment 788384 [details]
egine and vdsm logs
Description of problem:
After adding vm1 and unplug vnic from running vm1, functions as adding new vnic to vm1, plug vnic stop working with error"
"Error while executing action Edit VM Interface properties: Failed to activate VM Network Interface. "
Version-Release number of selected component (if applicable):
rhevm - is10
vdsm of host - vdsm-4.12.0-61.git8178ec2.el6ev
libvirt on host - libvirt-0.10.2-18.el6_4.9
Steps to Reproduce:
1. Add clean vm with nic
2. Run vm, wait untill vm is UP and unplug nic
3. After this try to plug nic or add new nic to vm
"Error while executing action Edit VM Interface properties: Failed to activate VM Network Interface."
nic plugged in time that vm is running, new nic added in time that vm is running
if I stop vm1 and after this do plug or add new vnic, all work fine.
Please attach relevant part of libvirtd.log, as we have
Hotplug NIC xml: <inte
<address domain="0x0000" function="0x0" slot="0x03" type="pci" bus="0x00"/>
if ret == -1: raise libvirtError ('virDomainAttachDevice() failed', dom=self)
libvirtError: An error occurred, but the cause is unknown
Pardon my asking, but is libvirt-0.10.2-18.el6_4.9 our latest and greatest version for RHEL-6.4?
Created attachment 792525 [details]
From is12 adding nic after unplugging start work correct but plugging still not work
Which guest is running in the VM? hotplug/unplug is know to require a responsive modern OS. Without a guest, hotunplug silently fails. Then the following hotplug fails with a lot of bells and whistles.
It clean installed vm, without any os
The whole stack (qemu, libvirt, vdsm, Engine) requires a modern guest OS to be operational in order for hotplug/hotunplug to work.
It's not a vdsm bug, hence the CLOSE reason.