[Users] error when regestering a host with vdsm 4.9.6 in ovirt 3.1

Maxime JÉGO maxime.jego at netensia.fr
Thu May 3 07:51:46 UTC 2012


Hi, I have exactly the same problem, i want to add a host (centos 6.2) in ovirt, and i have the same error. It is very strange, here logs : 

<BSTRAP component='VDS PACKAGES' status='OK' result='libselinux-python' message='libselinux-python-2.0.94-5.2.el6.x86_64 '/>
<BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values'/>
<BSTRAP component='RHEV_INSTALL' status='FAIL'/>
. Error occured. (Stage: Running first installation script on Host)
2012-05-03 03:37:40,538 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-5-thread-50) RunSSHCommand returns true
2012-05-03 03:37:40,538 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-5-thread-50)  RunScript ended:true
2012-05-03 03:37:40,539 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-5-thread-50) Installation of 192.168.10.19. Operation failure. (Stage: Running first installation script on Host)

Thank's fort help ;)

Maxime.



Hi,

On 04/27/2012 08:44 AM, Nathanaël Blanchet wrote:

    here they are, there is a lot of log files, because I tried a lot of time :)

    Le 27/04/2012 15:16, Douglas Landgraf a écrit :

        Hi,

        On 04/26/2012 11:37 AM, Nathanaël Blanchet wrote:

            I have built and installed the latest RPM ovirt-engine from the source on F16 and the latest RPM VDSM 4.9.6 on F17 because of nedeed dependancies.

            when I add a new host, installation always fails with this issue :

            Failed to install Host khamsin. Step: CreateConf; Details: Basic configuration failed to import default values.

            I tried to disable ssl in engine and vdsm but it is the same.


            I have searched more explications into vdsm and ovirt log but I have found anything I suppose vdsm to be the problem, the only way to build it with success is to install it on F17, which is a beta release...

            This makes me crazy!
            May anybody  help me to find a clue for this issue?


        on Node side, can you please share /tmp/vds_* logs?
        rpm -qa | grep vdsm  (from oVirt Node and oVirt engine)


As we resolved this case by irc, here the reply to mailing list:

=============

The error from logs:


Fri, 27 Apr 2012 14:55:24 DEBUG <BSTRAP component='VDS PACKAGES' status='OK' result='libjpeg' message='le paquetage libjpeg n~est pas installé '/>

Fri, 27 Apr 2012 14:55:24 ERROR
Traceback (most recent call last):

File "/tmp/vds_bootstrap_9e3dc61c-4ef8-4c42-873c-6209c522ac4c.py", line 594, in createConf

self._makeConfig()

File "/tmp/vds_bootstrap_9e3dc61c-4ef8-4c42-873c-6209c522ac4c.py", line 557, in _makeConfig

from config import config
ImportError: No module named config

Fri, 27 Apr 2012 14:55:24 DEBUG <BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values'/>

Fri, 27 Apr 2012 14:55:24 ERROR    createConf failed

Fri, 27 Apr 2012 14:55:24 DEBUG <BSTRAP component='RHEV_INSTALL' status='FAIL'/>

Fri, 27 Apr 2012 14:55:24 DEBUG    **** End VDS Validation ****


=========


On Engine side Nathanaël's machine had: vds_bootstrap version (vdsm-bootstrap-4.9.3.2-0.fc16.noarch) which had to update to a newer version: 4.9.6 copied new vds_bootstrap files from: /usr/share/vds_bootstrap to /usr/share/ovirt-engine/engine.ear/components.war/vds

and removed any *.pyc and *.pyo from there.

On Node side:

rm -f /tmp/deploy* (remove old deployUtil)
rm -f /tmp/vds* (remove old log files)





--
Cheers
Douglas



More information about the Users mailing list