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
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 ..
alex
On 22 January 2013 12:56, Deepak C Shetty deepakcs@linux.vnet.ibm.comwrote:
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.htmlhttp://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
______________________________**_________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users
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
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" deepakcs@linux.vnet.ibm.com To: "Alex Leonhardt" alex.tuxx@gmail.com Cc: users@ovirt.org, "VDSM Project Development" vdsm-devel@lists.fedorahosted.org 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-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
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
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.
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@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
vdsm-devel@lists.fedorahosted.org