On Sun, Nov 30, 2014 at 01:00:28PM +0200, ybronhei wrote:
forwarding to devels
anyone familiar with the issue already ? any ready patch?
-------- Forwarded Message --------
Subject: Got an error after buuilding VDSM on latest upstream commit
Date: Sun, 30 Nov 2014 05:54:45 -0500 (EST)
From: Eli Mesika <emesika(a)redhat.com>
To: Dan Kenigsberg <danken(a)redhat.com>, Saggi Mizrahi <smizrahi(a)redhat.com>,
ybronhei <ybronhei(a)redhat.com>, Dima Kuznetsov <dkuznets(a)redhat.com>
CC: Oved Ourfali <oourfali(a)redhat.com>, Barak Azulay <bazulay(a)redhat.com>
vdsm: Running restore_nets
libvirt: Network Driver error : Network not found: no network with matching
name 'vdsm-ovirtmgmt'
^X^CTraceback (most recent call last):
File "/usr/share/vdsm/vdsm-restore-net-config", line 139, in <module>
restore()
File "/usr/share/vdsm/vdsm-restore-net-config", line 125, in restore
unified_restoration()
File "/usr/share/vdsm/vdsm-restore-net-config", line 70, in
unified_restoration
setupNetworks(nets, bonds, connectivityCheck=False, _inRollback=True)
File "/usr/share/vdsm/network/api.py", line 715, in setupNetworks
implicitBonding=True, _netinfo=_netinfo, **d)
File "/usr/share/vdsm/network/api.py", line 221, in wrapped
ret = func(**attrs)
File "/usr/share/vdsm/network/api.py", line 310, in addNetwork
netEnt.configure(**options)
File "/usr/share/vdsm/network/models.py", line 196, in configure
self.configurator.configureBridge(self, **opts)
File "/usr/share/vdsm/network/configurators/ifcfg.py", line 92, in
configureBridge
ifup(bridge.name, bridge.ipConfig.async)
File "/usr/share/vdsm/network/configurators/ifcfg.py", line 820, in ifup
rc, out, err = _ifup(iface)
File "/usr/share/vdsm/network/configurators/ifcfg.py", line 804, in _ifup
rc, out, err = utils.execCmd([constants.EXT_IFUP, netIf], raw=False)
File "/usr/lib/python2.6/site-packages/vdsm/utils.py", line 622, in
execCmd
(out, err) = p.communicate(data)
File "/usr/lib64/python2.6/subprocess.py", line 732, in communicate
stdout, stderr = self._communicate(input, endtime)
File "/usr/lib64/python2.6/subprocess.py", line 1316, in _communicate
stdout, stderr = self._communicate_with_poll(input, endtime)
File "/usr/lib64/python2.6/subprocess.py", line 1388, in
_communicate_with_poll
ready = poller.poll(self._remaining_time(endtime))
The traceback seems snipped. I woder which exception is raised deep
done.
As it happens with our new unified_restoration() of network definitions,
please share the content of your /var/lib/vdsm/netconf/*
Could it be that a network there referes to a nic that no longer exists?