[ovirt-devel] Fwd: Got an error after buuilding VDSM on latest upstream commit

Dan Kenigsberg danken at redhat.com
Sun Nov 30 20:12:39 EST 2014


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 at redhat.com>
> To: Dan Kenigsberg <danken at redhat.com>, Saggi Mizrahi <smizrahi at redhat.com>,
> ybronhei <ybronhei at redhat.com>, Dima Kuznetsov <dkuznets at redhat.com>
> CC: Oved Ourfali <oourfali at redhat.com>, Barak Azulay <bazulay at 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?



More information about the Devel mailing list