Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1450757

Summary: VM starts as paused when running on host without OVN bridge
Product: [oVirt] ovirt-provider-ovn Reporter: Mor <mkalfon>
Component: driverAssignee: Marcin Mirecki <mmirecki>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Mor <mkalfon>
Severity: high Docs Contact:
Priority: medium    
Version: 1.0.4CC: bugs, danken, myakove, ylavi
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-10 09:43:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
artifacts none

Description Mor 2017-05-15 06:51:28 UTC
Created attachment 1278802 [details]
artifacts

Description of problem:
When a VM with OVN network attached tries to start on host without OVN bridge, it starts as paused, and doesn't show any error in engine.

This is what is written in the vdsm.log:
17-05-15 09:39:35,277+0300 INFO  (vm/69687cda) [virt.vm] (vmId='69687cda-ed1a-437b-b270-0b3c2134d0f7') Skipping errors on recovery (vm:651)
Traceback (most recent call last):
  File "/usr/share/vdsm/virt/vm.py", line 639, in _startUnderlyingVm
    self._run()
  File "/usr/share/vdsm/virt/vm.py", line 2166, in _run
    self._connection.createXML(domxml, flags),
  File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 123, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 921, in wrapper
    return func(inst, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3777, in createXML
    if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirtError: Cannot get interface MTU on 'br-int': No such device


Version-Release number of selected component (if applicable):
oVirt Engine Version: 4.2.0-0.0.master.20170503135127.git43302b6.el7.centos

How reproducible:
100%

Steps to Reproduce:
1. Start VM with OVN network on host without OVN bridge (br-int).

Actual results:
VM starts as paused.

Expected results:
Engine should show error regarding the missing bridge on host, and VM shouldn't be in paused state.

Additional info:

Comment 1 Marcin Mirecki 2017-05-25 13:23:31 UTC
Unable to reproduce so far.
The log shows the same error, but the vm ends up as not running.

Comment 2 Dan Kenigsberg 2017-07-10 09:43:04 UTC
According to Marcin, trying to reproduce the bug ends with a VM properly shut down, not paused.

Please reopen this bug if it ever reproduces, report `rpm -qa|grep vdsm` (and keep the setup available for drilling if you can!)