[Users] setupNetworks failure - Host non-operational

Dan Kenigsberg danken at redhat.com
Tue Jan 22 20:11:14 UTC 2013


On Tue, Jan 22, 2013 at 06:26:35PM +0530, Deepak C Shetty wrote:
> Hi All,
>     I have a multi-VM setup, where I have ovirt engine on one VM and
> VDSM host on another.
> Discovering the host from the engine puts the host in Unassigned
> state, with the error saying 'ovirtmgmt' network not found.
> 
> When i select setupNetworks and drag-drop the ovirtmgmt to setup
> over eth0, i see the below error in VDSM & host goes to
> non-operataional state.
> 
> I tried the steps mentioned by Alon in
> http://lists.ovirt.org/pipermail/users/2012-December/011257.html
> but still see the same error
> 
> ============= dump from vdsm.log ================
> 
> MainProcess|Thread-23::ERROR::2013-01-22
> 18:25:53,496::configNetwork::1438::setupNetworks::(setupNetworks)
> Requested operation is not valid: cannot set autostart for transient
> network
> Traceback (most recent call last):
>   File "/usr/share/vdsm/configNetwork.py", line 1420, in setupNetworks
>     implicitBonding=True, **d)
>   File "/usr/share/vdsm/configNetwork.py", line 1030, in addNetwork
>     configWriter.createLibvirtNetwork(network, bridged, iface)
>   File "/usr/share/vdsm/configNetwork.py", line 208, in
> createLibvirtNetwork
>     self._createNetwork(netXml)
>   File "/usr/share/vdsm/configNetwork.py", line 192, in _createNetwork
>     net.setAutostart(1)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2148,
> in setAutostart
>     if ret == -1: raise libvirtError ('virNetworkSetAutostart()
> failed', net=self)
> libvirtError: Requested operation is not valid: cannot set autostart
> for transient network
> MainProcess|Thread-23::ERROR::2013-01-22 18:25:53,502::supervdsmServer::77::SuperVdsm.ServerCallback::(wrapper)
> Error in setupNetworks
> Traceback (most recent call last):
>   File "/usr/share/vdsm/supervdsmServer.py", line 75, in wrapper
>     return func(*args, **kwargs)
>   File "/usr/share/vdsm/supervdsmServer.py", line 170, in setupNetworks
>     return configNetwork.setupNetworks(networks, bondings, **options)
>   File "/usr/share/vdsm/configNetwork.py", line 1420, in setupNetworks
>     implicitBonding=True, **d)
>   File "/usr/share/vdsm/configNetwork.py", line 1030, in addNetwork
>     configWriter.createLibvirtNetwork(network, bridged, iface)
>   File "/usr/share/vdsm/configNetwork.py", line 208, in
> createLibvirtNetwork
>     self._createNetwork(netXml)
>   File "/usr/share/vdsm/configNetwork.py", line 192, in _createNetwork
>     net.setAutostart(1)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2148,
> in setAutostart
>     if ret == -1: raise libvirtError ('virNetworkSetAutostart()
> failed', net=self)
> libvirtError: Requested operation is not valid: cannot set autostart
> for transient network

This is a known bug with libvirt-1.0.1
https://bugzilla.redhat.com/890492         newly defined network is not marked as persistent
http://www.redhat.com/archives/libvir-list/2012-December/msg01336.html
Either downgrade to 0.10.z or try the posted patches.



More information about the Users mailing list