Just redeploy the host from the ovirt-engine console using proper address. Or I do not understand the sequence you used to install vdsm in the first place...
----- Original Message ----- > From: "Dennis Böck" <[email protected]> > To: "Alon Bar-Lev" <[email protected]> > Cc: [email protected] > Sent: Thursday, March 21, 2013 10:32:45 AM > Subject: AW: AW: [Users] Vdsm/libvir error during deploy > > Dear Alon, > > sorry, that was not my intention. How can I uninstall vdsm from > loopback device and install it correctly? > > ________________________________________ > Von: Alon Bar-Lev [[email protected]] > Gesendet: Donnerstag, 21. März 2013 09:22 > An: Dennis Böck > Cc: [email protected] > Betreff: Re: AW: [Users] Vdsm/libvir error during deploy > > You should not install vdsm on loopback device (localhost, 127.0.0.1) > but on real interface's address. > > ----- Original Message ----- > > From: "Dennis Böck" <[email protected]> > > To: "Alon Bar-Lev" <[email protected]> > > Cc: [email protected] > > Sent: Thursday, March 21, 2013 10:11:19 AM > > Subject: AW: [Users] Vdsm/libvir error during deploy > > > > Hi, > > > > I have also have problems with /usr/share/vdsm/addNetwork : > > > > 2013-03-21 09:00:22 ERROR otopi.context context._executeMethod:139 > > Failed to execute stage 'Misc configuration': Command > > '/usr/share/vdsm/addNetwork' failed to execute > > > > 2013-03-21 09:00:21 DEBUG > > otopi.plugins.ovirt_host_deploy.vdsm.bridge > > plugin.executeRaw:347 execute: ['/usr/share/vdsm/addNetwork', > > 'ovirtmgmt', '', '', 'lo', 'IPADDR=127.0.0.1', 'NETMASK=255.0.0.0', > > 'NETWORK=127.0.0.0', 'BROADCAST=127.255.255.255', 'ONBOOT=yes', > > 'NAME=loopback', 'blockingdhcp=true'], executable='None', > > cwd='None', env=None > > 2013-03-21 09:00:22 DEBUG > > otopi.plugins.ovirt_host_deploy.vdsm.bridge > > plugin.executeRaw:364 execute-result: > > ['/usr/share/vdsm/addNetwork', > > 'ovirtmgmt', '', '', 'lo', 'IPADDR=127.0.0.1', 'NETMASK=255.0.0.0', > > 'NETWORK=127.0.0.0', 'BROADCAST=127.255.255.255', 'ONBOOT=yes', > > 'NAME=loopback', 'blockingdhcp=true'], rc=23 > > 2013-03-21 09:00:22 DEBUG > > otopi.plugins.ovirt_host_deploy.vdsm.bridge > > plugin.execute:411 execute-output: ['/usr/share/vdsm/addNetwork', > > 'ovirtmgmt', '', '', 'lo', 'IPADDR=127.0.0.1', 'NETMASK=255.0.0.0', > > 'NETWORK=127.0.0.0', 'BROADCAST=127.255.255.255', 'ONBOOT=yes', > > 'NAME=loopback', 'blockingdhcp=true'] stdout: > > unknown nic: 'lo' > > 2013-03-21 09:00:22 DEBUG > > otopi.plugins.ovirt_host_deploy.vdsm.bridge > > plugin.execute:416 execute-output: ['/usr/share/vdsm/addNetwork', > > 'ovirtmgmt', '', '', 'lo', 'IPADDR=127.0.0.1', 'NETMASK=255.0.0.0', > > 'NETWORK=127.0.0.0', 'BROADCAST=127.255.255.255', 'ONBOOT=yes', > > 'NAME=loopback', 'blockingdhcp=true'] stderr: > > WARNING:root:options IPADDR is deprecated. Use ipaddr instead > > WARNING:root:options NETMASK is deprecated. Use netmask instead > > WARNING:root:options ONBOOT is deprecated. Use onboot instead > > Traceback (most recent call last): > > File "/usr/share/vdsm/configNetwork.py", line 1454, in <module> > > main() > > File "/usr/share/vdsm/configNetwork.py", line 1423, in main > > addNetwork(bridge, **kwargs) > > File "/usr/share/vdsm/configNetwork.py", line 886, in addNetwork > > bridged=bridged, **options) > > File "/usr/share/vdsm/configNetwork.py", line 834, in > > _addNetworkValidation > > raise ConfigNetworkError(ne.ERR_BAD_NIC, "unknown nic: %r" % > > nic) > > ConfigNetworkError: (23, "unknown nic: 'lo'") > > > > I already tried a new installation of vdsm and libvirt and executed > > $ find /etc/libvirt -name '*vdsm*' -exec rm {} \; > > $ find /var/lib/libvirt -name '*vdsm*' -exec rm {} \; > > ( /var/lib/vdsm/netbackup did not exist) > > > > But I still get the same error message. > > Does anyone have an idea? > > > > Best regards and thanks in advance > > Dennis > > > > ----- Original Message ----- > > Von: [email protected] [[email protected]]" im Auftrag > > von "Kevin Maziere Aubry [[email protected]] > > Gesendet: Freitag, 21. Dezember 2012 13:52 > > An: Alon Bar-Lev > > Cc: [email protected] > > Betreff: Re: [Users] Vdsm/libvir error during deploy > > > > > > Hi > > > > > > I suggest also to remove /var/lib/vdsm/netbackup directory. > > Kevin > > > > > > > > 2012/12/21 Alon Bar-Lev <[email protected]> > > > > > > > > ----- Original Message ----- > > > From: "Joop" <[email protected]> > > > To: [email protected] > > > Sent: Friday, December 21, 2012 12:30:17 PM > > > Subject: [Users] Vdsm/libvir error during deploy > > > > > > While using the latest nightly I can't deploy new hosts using > > > oVirt. > > > rpm -aq | grep ovirt > > > ovirt-engine-backend-3.2.0-1.20121220.git9fdb0c2.fc17.noarch > > > ovirt-engine-dbscripts-3.2.0-1.20121220.git9fdb0c2.fc17.noarch > > > ovirt-iso-uploader-3.1.0-1.fc17.noarch > > > ovirt-engine-tools-common-3.2.0-1.20121220.git9fdb0c2.fc17.noarch > > > ovirt-engine-userportal-3.2.0-1.20121220.git9fdb0c2.fc17.noarch > > > ovirt-host-deploy-0.0.0-0.0.master.20121220.gitec2416f.fc17.noarch > > > ovirt-engine-config-3.2.0-1.20121220.git9fdb0c2.fc17.noarch > > > ovirt-engine-cli-3.2.0.7-1.20121219.git5eddf58.fc17.noarch > > > ovirt-engine-webadmin-portal-3.2.0-1.20121220.git9fdb0c2.fc17.noarch > > > ovirt-engine-restapi-3.2.0-1.20121220.git9fdb0c2.fc17.noarch > > > ovirt-engine-genericapi-3.2.0-1.20121220.git9fdb0c2.fc17.noarch > > > ovirt-host-deploy-java-0.0.0-0.0.master.20121220.gitec2416f.fc17.noarch > > > ovirt-engine-notification-service-3.2.0-1.20121220.git9fdb0c2.fc17.noarch > > > ovirt-engine-3.2.0-1.20121220.git9fdb0c2.fc17.noarch > > > ovirt-release-fedora-5-2.noarch > > > ovirt-image-uploader-3.1.0-1.fc17.noarch > > > ovirt-engine-sdk-3.2.0.5-1.20121219.gitc0ab704.fc17.noarch > > > ovirt-log-collector-3.1.0-1.fc17.noarch > > > ovirt-engine-setup-3.2.0-1.20121220.git9fdb0c2.fc17.noarch > > > > > > I did an engine-cleanup/engine-setup to start with a clean slate, > > > further > > > I have a host that is used before and keeps loosing > > > networkconnectivity > > > when the vdsmd service is started so I did several yum removes of > > > packages > > > (libvirt related and qemu related and vdsm*) and removed the > > > /etc/ > > > and > > > /var entries where needed. Then I ran add host and end up with > > > the > > > same > > > error I had before, full deploy log is attached but this is the > > > real > > > and > > > only set of errors: > > > > > > 2012-12-21 11:00:26 DEBUG > > > otopi.plugins.ovirt_host_deploy.vdsm.bridge > > > plugin.executeRaw:324 execute: ['/usr/share/vdsm/addNetwork', > > > 'ovirtmgmt', > > > '', '', u'em1', 'ONBOOT=yes', 'IPADDR=192.168.216.152', > > > 'DNS2=172.19.1.18', 'DNS1=172.19.1.12', > > > 'UUID=e121a99a-994e-479d-8de1-a56c14315545', 'IPV6INIT=no', > > > 'USERCTL=no', > > > 'GATEWAY=192.168.216.254', 'NETMASK=255.255.255.0', > > > 'blockingdhcp=true'], > > > env=None > > > 2012-12-21 11:00:30 DEBUG > > > otopi.plugins.ovirt_host_deploy.vdsm.bridge > > > plugin.executeRaw:341 execute-result: > > > ['/usr/share/vdsm/addNetwork', > > > 'ovirtmgmt', '', '', u'em1', 'ONBOOT=yes', > > > 'IPADDR=192.168.216.152', > > > 'DNS2=172.19.1.18', 'DNS1=172.19.1.12', > > > 'UUID=e121a99a-994e-479d-8de1-a56c14315545', 'IPV6INIT=no', > > > 'USERCTL=no', > > > 'GATEWAY=192.168.216.254', 'NETMASK=255.255.255.0', > > > 'blockingdhcp=true'], > > > rc=255 > > > 2012-12-21 11:00:30 DEBUG > > > otopi.plugins.ovirt_host_deploy.vdsm.bridge > > > plugin.execute:388 execute-output: ['/usr/share/vdsm/addNetwork', > > > 'ovirtmgmt', '', '', u'em1', 'ONBOOT=yes', > > > 'IPADDR=192.168.216.152', > > > 'DNS2=172.19.1.18', 'DNS1=172.19.1.12', > > > 'UUID=e121a99a-994e-479d-8de1-a56c14315545', 'IPV6INIT=no', > > > 'USERCTL=no', > > > 'GATEWAY=192.168.216.254', 'NETMASK=255.255.255.0', > > > 'blockingdhcp=true'] > > > stdout: > > > > > > > > > 2012-12-21 11:00:30 DEBUG > > > otopi.plugins.ovirt_host_deploy.vdsm.bridge > > > plugin.execute:393 execute-output: ['/usr/share/vdsm/addNetwork', > > > 'ovirtmgmt', '', '', u'em1', 'ONBOOT=yes', > > > 'IPADDR=192.168.216.152', > > > 'DNS2=172.19.1.18', 'DNS1=172.19.1.12', > > > 'UUID=e121a99a-994e-479d-8de1-a56c14315545', 'IPV6INIT=no', > > > 'USERCTL=no', > > > 'GATEWAY=192.168.216.254', 'NETMASK=255.255.255.0', > > > 'blockingdhcp=true'] > > > stderr: > > > WARNING:Storage.LVM:Cannot create env file [Errno 2] No such file > > > or > > > directory: '/var/run/vdsm/lvm.env' > > > WARNING:root:options IPADDR is deprecated. Use ipaddr instead > > > WARNING:root:options NETMASK is deprecated. Use netmask instead > > > WARNING:root:options GATEWAY is deprecated. Use gateway instead > > > WARNING:root:options ONBOOT is deprecated. Use onboot instead > > > INFO:root:Adding network ovirtmgmt with vlan=, bonding=, > > > nics=['em1'], > > > bondingOptions=None, mtu=None, bridged=True, > > > options={'blockingdhcp': > > > 'true', 'UUID': 'e121a99a-994e-479d-8de1-a56c14315545', > > > 'USERCTL': > > > 'no', > > > 'DNS2': '172.19.1.18', 'DNS1': '172.19.1.12', 'onboot': 'yes', > > > 'IPV6INIT': > > > 'no'} > > > libvir: Network Driver error : Network not found: no network with > > > matching > > > name 'vdsm-ovirtmgmt' > > > libvir: Network Driver error : Network not found: no network with > > > matching > > > name 'vdsm-ovirtmgmt' > > > libvir: Network Driver error : Requested operation is not valid: > > > cannot > > > set autostart for transient network > > > Traceback (most recent call last): > > > File "/usr/lib64/python2.7/runpy.py", line 162, in > > > _run_module_as_main > > > "__main__", fname, loader, pkg_name) > > > File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code > > > exec code in run_globals > > > File "/usr/share/vdsm/configNetwork.py", line 1489, in <module> > > > main() > > > File "/usr/share/vdsm/configNetwork.py", line 1458, in main > > > addNetwork(bridge, **kwargs) > > > File "/usr/share/vdsm/configNetwork.py", line 1017, in > > > addNetwork > > > configWriter.createLibvirtNetwork(network, bridged, iface) > > > File "/usr/share/vdsm/configNetwork.py", line 200, in > > > createLibvirtNetwork > > > self._createNetwork(netXml) > > > File "/usr/share/vdsm/configNetwork.py", line 184, 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) > > > libvirt.libvirtError: Requested operation is not valid: cannot > > > set > > > autostart for transient network > > > > > > 2012-12-21 11:00:30 DEBUG otopi.context > > > context._executeMethod:127 > > > method > > > exception > > > Traceback (most recent call last): > > > File "/tmp/ovirt-o5lusc2CYC/pythonlib/otopi/context.py", line > > > 117, > > > in > > > _executeMethod > > > method['method']() > > > File > > > "/tmp/ovirt-o5lusc2CYC/otopi-plugins/ovirt-host-deploy/vdsm/bridge.py", > > > line 736, in _misc > > > parameters=parameters, > > > File > > > "/tmp/ovirt-o5lusc2CYC/otopi-plugins/ovirt-host-deploy/vdsm/bridge.py", > > > line 492, in _createBridge > > > parameters > > > File "/tmp/ovirt-o5lusc2CYC/pythonlib/otopi/plugin.py", line > > > 398, > > > in > > > execute > > > command=args[0], > > > RuntimeError: Command '/usr/share/vdsm/addNetwork' failed to > > > execute > > > 2012-12-21 11:00:30 ERROR otopi.context > > > context._executeMethod:136 > > > Failed > > > to execute stage 'Misc configuration': Command > > > '/usr/share/vdsm/addNetwork' failed to execute > > > 2012-12-21 11:00:30 DEBUG otopi.transaction transaction.abort:131 > > > aborting > > > 'Yum Transaction' > > > > > > This is a host that started life as a standard Fed17 install from > > > LiveCD > > > and it worked with ovirt-3.1 but now I can't get it to work with > > > oVirt-nightlies. I have two other hosts which started from the > > > same > > > install and they work, atleast everything gets installed and the > > > hosts are > > > visisble and up in oVirt. Did a diff of rpm -aq | sort of a > > > working > > > and > > > nonworking host but the diff is minimal, some extra packages > > > (mc/..) > > > some > > > very small version diffs (1.2.3-x instead of y) > > > > > > Any help appreciated, > > > > > > Joop > > > > > > There are some leftovers from previous installation, libvirt is not > > sync with machine networking. > > > > You should clean up /etc/libvirt/ and /var/lib/libvirt look for > > files > > with vdsm... > > > > $ find /etc/libvirt -name '*vdsm*' -exec rm {} \; > > $ find /var/lib/libvirt -name '*vdsm*' -exec rm {} \; > > > > Also remove any ifcfg file you have, rm > > /etc/sysconfig/network-script/ifcfg-*, then configure the host for > > have proper network address (if dhcp you don't need to do anything, > > just restart network and network manager). > > > > After the networking is default, start deployment. > > > > > > Alon > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.ovirt.org/mailman/listinfo/users > > > > > > > > > > > > > > -- > > > > Kevin Mazière > > Responsable Infrastructure > > Alter Way – Hosting > > 1 rue Royal - 227 Bureaux de la Colline > > 92213 Saint-Cloud Cedex > > Tél : +33 (0)1 41 16 38 41 > > Mob : +33 (0)7 62 55 57 05 > > http://www.alterway.fr > _______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

