Created attachment 875561 [details] log_collector Description of problem: I have external neutron provider with Networking Plugin = Linux Bridge I've successfully imported network form neutron and attached it to VM. When trying to run VM I get Failed to run VM VM1 on Host dell-05. VM VM1 is down. Exit message: . This happens because vdsm hook /usr/libexec/vdsm/hooks/before_device_create/50_openstacknet is looking for ovs-vsctl it should not look for ovs* when I am using linux bridge Version-Release number of selected component (if applicable): Red Hat Enterprise Virtualization Manager Version: 3.4.0-0.5.master.el6ev How reproducible: 100% Steps to Reproduce: 1. Add external neutron provider with Networking Plugin = Linux Bridge 2. Import a network from Neutron 3. Create VM with the network attached 4. Start the VM Actual results: VM start fails because vdsm hook is looking for ovs-vsctl, while I am using linux bridge Expected results: VM starts Additional info: Thread-111::DEBUG::2014-03-17 16:43:24,401::utils::662::root::(execCmd) FAILED: <err> = 'Traceback (most recent call last):\n File "/usr/libexec/vdsm/hooks/before_device_create/50_openstacknet", line 40, in <module>\n from openstacknet_utils import DUMMY_BRIDGE\n File "/usr/libexec/vdsm/hooks/before_device_create/openstacknet_utils.py", line 26, in <module>\n \'/usr/bin/ovs-vsctl\').cmd\n File "/usr/lib64/python2.6/site-packages/vdsm/utils.py", line 947, in cmd\n os.strerror(os.errno.ENOENT) + \': \' + self.name)\nOSError: [Errno 2] No such file or directory: ovs-vsctl\n'; <rc> = 1
Created attachment 875562 [details] screenshot 1
Martin, would you verify the suggested code?
code verified see comments in gerrit
works in av5
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0504.html