Bug 1567858 - [Regression] - Cannot start VM with <Empty> vNIC
Summary: [Regression] - Cannot start VM with <Empty> vNIC
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.2.2.6
Hardware: x86_64
OS: Linux
urgent
high
Target Milestone: ovirt-4.2.3
: 4.2.3.2
Assignee: Arik
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-16 10:07 UTC by Michael Burman
Modified: 2018-05-10 06:29 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.2.3.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-10 06:29:12 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: blocker+


Attachments (Terms of Use)
logs (1.23 MB, application/x-gzip)
2018-04-16 10:07 UTC, Michael Burman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 90284 0 ovirt-engine-4.2 MERGED core: set the dummy bridge in engine xml 2018-04-17 08:02:35 UTC
oVirt gerrit 90374 0 master MERGED Revert "virt: Replace NIC XML on XML network hot plug" 2018-04-17 13:40:48 UTC
oVirt gerrit 90386 0 ovirt-4.2 MERGED Revert "virt: Replace NIC XML on XML network hot plug" 2018-04-17 14:18:21 UTC

Description Michael Burman 2018-04-16 10:07:31 UTC
Created attachment 1422395 [details]
logs

Description of problem:
[Regression] -  Cannot start VM with <Empty> vNIC.

The same BZ 1554222 that was successfully verified on 4.2.2.2-0.1.el7 and run in automation tests for a month, started failing again on latest 4.2.3 build.

xml - 
 <interface type="bridge">
      <model type="virtio"/>
      <link state="up"/>
      <source bridge=""/>
      <alias name="ua-a17b8639-477b-43fd-8621-ea4c1f80745b"/>
      <address bus="0x00" domain="0x0000" function="0x0" slot="0x03" type="pci"/>
      <boot order="2"/>
      <mac address="00:00:00:00:00:50"/>
      <bandwidth/>
    </interface>

2018-04-16 12:58:18,674+0300 ERROR (vm/f8abc451) [virt.vm] (vmId='f8abc451-ad7d-4916-ae0b-fca5cfa643bb') The vm start process failed (vm:943)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 872, in _startUnderlyingVm
    self._run()
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2872, in _run
    dom.createWithFlags(flags)
  File "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", line 130, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 92, in wrapper
    return func(inst, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1099, in createWithFlags
    if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
libvirtError: Cannot get interface MTU on '': No such device
2018-04-16 12:58:18,674+0300 INFO  (vm/f8abc451) [virt.vm] (vmId='f8abc451-ad7d-4916-ae0b-fca5cfa643bb') Changed state to Down: Cannot get interface MTU on '': No such device (code=1) (vm:1683)

Version-Release number of selected component (if applicable):
rhvm-4.2.3-0.1.el7.noarch
vdsm-4.20.25-1.el7ev.x86_64
kernel-3.10.0-862.el7.x86_64
libvirt-client-3.9.0-14.el7_5.2.x86_64
libvirt-daemon-3.9.0-14.el7_5.2.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Try to run VM with <Empty> vNIC

Actual results:
libvirtError: Cannot get interface MTU on '': No such device

Expected results:
Should work

Comment 1 Michal Skrivanek 2018-04-17 05:15:43 UTC
The engine should really send the dummy bridge instead. The approach in bug 1533762 for the same issue in hotplug was wrong

Comment 2 Michael Burman 2018-04-22 07:46:22 UTC
Verified on - 4.2.3.2-0.1.el7

Comment 3 Sandro Bonazzola 2018-05-10 06:29:12 UTC
This bugzilla is included in oVirt 4.2.3 release, published on May 4th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.3 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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