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

Max Jégo max_jego at hotmail.fr
Thu May 3 09:34:16 UTC 2012


Sorry, I have replied too quickly, here my logs on 
/var/log/vdsm-reg/vdsm-reg.log :

[root at ovs2 vdsm-reg]# cat vdsm-reg.log
MainThread::INFO::2012-05-03 
11:22:17,850::vdsm-reg-setup::244::vdsRegistrator::After daemonize - My 
pid is 30705
MainThread::DEBUG::2012-05-03 
11:22:17,851::vdsm-reg-setup::37::root::__init__ begin.
MainThread::DEBUG::2012-05-03 
11:22:17,851::vdsm-reg-setup::63::root::Setup::__init__ vars: 
{'vdcRegPort': '54321', 'ovirtUID': 'None', 'ovirtName': 'None', 
'fInitOK': True, 'registered': False, 'ovirtURL': 'None', 'vdcName': 
'None', 'vdcPORT': '8443', 'VDCTime': None, 'ticket': '', 'vdcURI': 
'/OvirtEngineWeb/register', 'vdsmDir': '/usr/share/vdsm', 'vdcURL': 'None'}
MainThread::DEBUG::2012-05-03 
11:22:17,851::vdsm-reg-setup::66::root::validate start
MainThread::DEBUG::2012-05-03 
11:22:17,851::vdsm-reg-setup::73::root::validate end. return: False
MainThread::DEBUG::2012-05-03 
11:22:25,860::vdsm-reg-setup::270::vdsRegistrator::Total retry count: 1, 
waited: 8 seconds.
MainThread::DEBUG::2012-05-03 
11:22:25,860::vdsm-reg-setup::37::root::__init__ begin.
MainThread::DEBUG::2012-05-03 
11:22:25,860::vdsm-reg-setup::63::root::Setup::__init__ vars: 
{'vdcRegPort': '54321', 'ovirtUID': 'None', 'ovirtName': 'None', 
'fInitOK': True, 'registered': False, 'ovirtURL': 'None', 'vdcName': 
'None', 'vdcPORT': '8443', 'VDCTime': None, 'ticket': '', 'vdcURI': 
'/OvirtEngineWeb/register', 'vdsmDir': '/usr/share/vdsm', 'vdcURL': 'None'}
MainThread::DEBUG::2012-05-03 
11:22:25,860::vdsm-reg-setup::66::root::validate start
MainThread::DEBUG::2012-05-03 
11:22:25,860::vdsm-reg-setup::73::root::validate end. return: False
MainThread::DEBUG::2012-05-03 
11:22:33,865::vdsm-reg-setup::270::vdsRegistrator::Total retry count: 2, 
waited: 8 seconds.
MainThread::DEBUG::2012-05-03 
11:22:33,866::vdsm-reg-setup::37::root::__init__ begin.
MainThread::DEBUG::2012-05-03 
11:22:33,866::vdsm-reg-setup::63::root::Setup::__init__ vars: 
{'vdcRegPort': '54321', 'ovirtUID': 'None', 'ovirtName': 'None', 
'fInitOK': True, 'registered': False, 'ovirtURL': 'None', 'vdcName': 
'None', 'vdcPORT': '8443', 'VDCTime': None, 'ticket': '', 'vdcURI': 
'/OvirtEngineWeb/register', 'vdsmDir': '/usr/share/vdsm', 'vdcURL': 'None'}
MainThread::DEBUG::2012-05-03 
11:22:33,866::vdsm-reg-setup::66::root::validate start
MainThread::DEBUG::2012-05-03 
11:22:33,866::vdsm-reg-setup::73::root::validate end. return: False
.......

thank's.


Le 03/05/2012 11:16, Maxime JEGO a écrit :
> I have nothing in /var/log/vdsm-reg/  (i have just the folder)
>
>
> Le 03/05/2012 09:57, Doron Fediuck a écrit :
>> Can you verify it in the host's registration logs 
>> (/var/log/vdsm-reg/*) ?
>>
>> On 03/05/12 10:56, Maxime JÉGO wrote:
>>> 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
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>
>




More information about the Users mailing list