RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 827012 - 3.1 [VDSM] beta1 [Hot plug NIC] hotplug NIC stops working after VM live snapshot is created
Summary: 3.1 [VDSM] beta1 [Hot plug NIC] hotplug NIC stops working after VM live snaps...
Keywords:
Status: CLOSED DUPLICATE of bug 842771
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.3
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: 6.4
Assignee: Igor Lvovsky
QA Contact: Martin Pavlik
URL:
Whiteboard: network
Depends On:
Blocks: 581266 833637 835390 835392
TreeView+ depends on / blocked
 
Reported: 2012-05-31 12:30 UTC by Martin Pavlik
Modified: 2015-04-07 03:09 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-13 08:13:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
vdsm.log + engine.log (98.02 KB, application/x-gzip)
2012-05-31 12:30 UTC, Martin Pavlik
no flags Details
libvirt.log (416.77 KB, application/x-gzip)
2012-05-31 12:35 UTC, Martin Pavlik
no flags Details
screenshot 1 (162.51 KB, image/png)
2012-05-31 12:36 UTC, Martin Pavlik
no flags Details

Description Martin Pavlik 2012-05-31 12:30:33 UTC
Created attachment 588066 [details]
vdsm.log + engine.log

Description of problem:
It is not possible to hotplug/hotunplug NIC from VM after VM snapshot is created

Version-Release number of selected component (if applicable):
oVirt Enterprise Virtualization Engine Manager Version: 3.1.0_0001-11.el6ev 

How reproducible:
100%

Steps to Reproduce:
1) create VM with windows7 (install virtIO driver for NIC)
2) add 2 NIC to VM (1 activated, 1 deactivated)
3) start VM
4) create snapshot of running VM
5) try to decativate active NIC
  
Actual results:
hotplug NIC stops working after VM snapshot is created

Expected results:
hotplug NIC should be working without error after VM snapshot is created

Additional info:
No error is reported in events

engine.log
2012-05-31 14:17:42,925 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-10-thread-47) [289b8ea0] Command HotUnplugNicVDS execution failed. Exception: XmlRpcRunTimeException: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException
2012-05-31 14:17:42,926 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HotUnplugNicVDSCommand] (pool-10-thread-47) [289b8ea0] FINISH, HotUnplugNicVDSCommand, log id: 28771028
2012-05-31 14:17:42,927 ERROR [org.ovirt.engine.core.bll.HotPlugUnplugVmNicCommand] (pool-10-thread-47) [289b8ea0] Command org.ovirt.engine.core.bll.HotPlugUnplugVmNicCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcRunTimeException: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException

Comment 1 Martin Pavlik 2012-05-31 12:35:50 UTC
Created attachment 588067 [details]
libvirt.log

Comment 2 Martin Pavlik 2012-05-31 12:36:12 UTC
Created attachment 588068 [details]
screenshot 1

Comment 7 Mike Kolesnik 2012-08-09 08:22:32 UTC
There are two issues here, both should be solved on VDSM side:

 1. The returned value contains a dictionary for key 'vmList' which contains a field (in a device sub-dictionary) with value None which causes XML RPC parser to crash at engine side.
 2. The engine does not look at the vmList dictionary in any of the plug/unplug (nic/disk) actions, so not returning it will definitely solve the reported bug.

Please fix as you deem correct on VDSM side.

Comment 9 Dan Kenigsberg 2012-08-13 08:13:37 UTC
Mike: the None element is mirror/mirrorPath just as in bug 842771

*** This bug has been marked as a duplicate of bug 842771 ***


Note You need to log in before you can comment on or make changes to this bug.