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

2013-01-22 Thread Mark Wu

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-de...@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2013-01-22 Thread Deepak C Shetty

On 01/22/2013 07:13 PM, Antoni Segura Puimedon wrote:

Which version of vdsm is it running? Once I know I'll try to see why
does this happen.

I am working on a git version of VDSM. let me know if u need more info.

rpm -qa| grep vdsm
vdsm-debug-plugin-4.10.3-0.75.git87b668d.fc17.noarch
vdsm-debuginfo-4.10.3-0.75.git87b668d.fc17.x86_64
vdsm-jsonrpc-4.10.3-0.75.git87b668d.fc17.noarch
vdsm-4.10.3-0.75.git87b668d.fc17.x86_64
vdsm-xmlrpc-4.10.3-0.75.git87b668d.fc17.noarch
vdsm-gluster-4.10.3-0.75.git87b668d.fc17.noarch
vdsm-tests-4.10.3-0.75.git87b668d.fc17.noarch
vdsm-cli-4.10.3-0.75.git87b668d.fc17.noarch
vdsm-python-4.10.3-0.75.git87b668d.fc17.x86_64


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2013-01-22 Thread Antoni Segura Puimedon
Which version of vdsm is it running? Once I know I'll try to see why
does this happen.

- Original Message -
> From: "Deepak C Shetty" 
> To: "Alex Leonhardt" 
> Cc: users@ovirt.org, "VDSM Project Development" 
> 
> Sent: Tuesday, January 22, 2013 2:31:38 PM
> Subject: Re: [vdsm] [Users] setupNetworks failure - Host non-operational
> 
> On 01/22/2013 06:37 PM, Alex Leonhardt wrote:
> > I'm not sure whether it's the same, but in the past (with v3.1)
> > when
> > configuring the hosts network, it changed it automatically from
> > static
> > -> dhcp, everytime i change network settings i have to ensure to
> > re-tick the static address assignment and tick the box to save the
> > settings (scrolling down) ... hope it helps ..
> If you mean click on the "save network setting" checkbox while
> configuring host network from engine, I am doing that.
> I think what is happenign here is libvirt is failing to set autostart
> on
> the ovirtmgmt network, IIUC
> 
> ___
> vdsm-devel mailing list
> vdsm-de...@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users