[Users] [vdsm] setupNetworks failure - Host non-operational

Mark Wu wudxw at linux.vnet.ibm.com
Wed Jan 23 04:43:46 UTC 2013


On 01/22/2013 08:56 PM, 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
If you just run vdsm to test the functions not related to network, you 
could just disable the libvirt default network before you start up the 
vdsm service.
I
>
>
> _______________________________________________
> vdsm-devel mailing list
> vdsm-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel




More information about the Users mailing list