Re: [Users] error when regestering a host with vdsm 4.9.6 in ovirt 3.0

--------------010208060907070103020307 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit here my logs on /var/log/vdsm-reg/vdsm-reg.log : [root@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. 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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- /d "Ford," he said, "you're turning into a penguin. Stop it." --Douglas Adams, The Hitchhiker's Guide to the Galaxy
--------------010208060907070103020307 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-text-plain" wrap="true" graphical-quote="true" style="font-family: -moz-fixed; font-size: 12px;" lang="x-unicode"> <pre wrap="">here my logs on /var/log/vdsm-reg/vdsm-reg.log : [root@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. Can you verify it in the host's registration logs (<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>var/log/vdsm-reg<span class="moz-txt-tag">/</span></i>*) ? On 03/05/12 10:56, Maxime JÉGO wrote: </pre> <blockquote type="cite" style="color: #000000;"> <pre wrap="">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 <span class="moz-smiley-s3" title=";)"></span> 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 <span class="moz-smiley-s1" title=":)"></span> 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 <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <pre wrap=""><div class="moz-txt-sig">-- /d "Ford," he said, "you're turning into a penguin. Stop it." --Douglas Adams, The Hitchhiker's Guide to the Galaxy </div></pre> </div> </body> </html> --------------010208060907070103020307--
participants (1)
-
Max Jégo