Bug 1450757 - VM starts as paused when running on host without OVN bridge
Summary: VM starts as paused when running on host without OVN bridge
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: ovirt-provider-ovn
Classification: oVirt
Component: driver
Version: 1.0.4
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Marcin Mirecki
QA Contact: Mor
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-15 06:51 UTC by Mor
Modified: 2019-04-28 13:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-10 09:43:04 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
artifacts (445.94 KB, application/zip)
2017-05-15 06:51 UTC, Mor
no flags Details

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!)


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