On Thu, Nov 30, 2017 at 8:58 AM, Sahina Bose <sabose@redhat.com> wrote:
Hi,

The error with HE install is :  Starting vdsmd", "[ ERROR ] Failed to execute stage 'Misc configuration': Couldn't  connect to VDSM within 15 seconds".

Is there a configuration parameter that needs to be set to change the timeout, or is this a bug?

From the log it doesn't seem it even waited 15 secs:
2017-11-29 21:45:03,031-0500 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'start', 'vdsmd.service'), executable='None', cwd='None', env=None
2017-11-29 21:45:05,881-0500 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'start', 'vdsmd.service'), rc=0
2017-11-29 21:45:05,882-0500 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'start', 'vdsmd.service') stdout:


2017-11-29 21:45:05,882-0500 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'start', 'vdsmd.service') stderr:


2017-11-29 21:45:07,001-0500 DEBUG otopi.plugins.gr_he_setup.system.vdsmenv util.__log_debug:374 VDSM jsonrpc connection is not ready
2017-11-29 21:45:07,002-0500 DEBUG otopi.plugins.gr_he_setup.system.vdsmenv util.__log_debug:374 Creating a new json-rpc connection to VDSM
2017-11-29 21:45:07,202-0500 DEBUG otopi.plugins.gr_he_setup.system.vdsmenv util.__log_debug:374 VDSM jsonrpc connection is not ready
2017-11-29 21:45:07,203-0500 DEBUG otopi.context context._executeMethod:143 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/system/vdsmenv.py", line 158, in _misc
    timeout=ohostedcons.Const.VDSCLI_SSL_TIMEOUT,
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/util.py", line 442, in connect_vdsm_json_rpc
    __vdsm_json_rpc_connect(logger, timeout)
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/util.py", line 398, in __vdsm_json_rpc_connect
    timeout=VDSM_MAX_RETRY * VDSM_DELAY
RuntimeError: Couldn't  connect to VDSM within 15 seconds
2017-11-29 21:45:07,204-0500 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Misc configuration': Couldn't  connect to VDSM within 15 seconds
2017-11-29 21:45:07,205-0500 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction'
2017-11-29 21:45:07,205-0500 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollback


sahina

_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel