Bug 1470548 - vNIC hotplug failed with empty network error: Network ;vdsmdummy; does not exist
vNIC hotplug failed with empty network error: Network ;vdsmdummy; does not e...
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm (Show other bugs)
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Dan Kenigsberg
Michael Burman
: Automation, AutomationTriaged, Regression
Depends On:
  Show dependency treegraph
Reported: 2017-07-13 03:41 EDT by Meni Yakove
Modified: 2017-07-18 03:01 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-07-13 14:16:42 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: Network
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
vdsm, supervdsm and engine logs (1.36 MB, application/zip)
2017-07-13 03:41 EDT, Meni Yakove
no flags Details

  None (edit)
Description Meni Yakove 2017-07-13 03:41:02 EDT
Created attachment 1297443 [details]
vdsm, supervdsm and engine logs

Description of problem:
When trying to hotplug vNIC with no network (empty) to running VM the operation fails with error:

jsonrpc.Executor/0::DEBUG::2017-07-13 10:28:53,448::utils::689::root::(execCmd) FAILED: <err> = 'Network ;vdsmdummy; does not exist\nTraceback (most recent call last):\n  File "/usr/libexec/vdsm/hooks/before_nic_hotplug/50_ovs", line 130, in <module>\n    main()\n  File "/usr/libexec/vdsm/hooks/before_nic_hotplug/50_ovs", line 54, in main\n    ovs_device(domxml)\n  File "/usr/libexec/vdsm/hooks/before_nic_hotplug/50_ovs", line 42, in ovs_device\n    hooking.exit_hook(\'Network %s does not exist\' % source_bridge)\n  File "/usr/share/vdsm/hooking.py", line 84, in exit_hook\n    sys.exit(return_code)\nSystemExit: 2\n\n'; <rc> = 2
jsonrpc.Executor/0::INFO::2017-07-13 10:28:53,449::hooks::107::root::(_runHooksDir) Network ;vdsmdummy; does not exist
Traceback (most recent call last):
  File "/usr/libexec/vdsm/hooks/before_nic_hotplug/50_ovs", line 130, in <module>
  File "/usr/libexec/vdsm/hooks/before_nic_hotplug/50_ovs", line 54, in main
  File "/usr/libexec/vdsm/hooks/before_nic_hotplug/50_ovs", line 42, in ovs_device
    hooking.exit_hook('Network %s does not exist' % source_bridge)
  File "/usr/share/vdsm/hooking.py", line 84, in exit_hook
SystemExit: 2

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Start VM
2. Add vNIC with empty network to the VM
Comment 1 Dan Kenigsberg 2017-07-13 08:15:08 EDT
/usr/libexec/vdsm/hooks/before_nic_hotplug/50_ovs was never supported, and should NOT be installed on your tested host. Does any problem remain when you remove its rpm?
Comment 2 Meni Yakove 2017-07-13 14:16:42 EDT
After uninstall vdsm-hook-ovs hot plug with empty network works

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