HDP-2.5 Smartsense 1.3 installation issue via Ambari

After automatic installation only one hst agent started in the same server where hst server was installed.

In others servers I saw following error:

[root@bigdata19 conf]# hst list-agents
Traceback (most recent call last):
File "/usr/sbin/hst-agent.py", line 420, in <module>
File "/usr/sbin/hst-agent.py", line 403, in main
File "/usr/sbin/hst-agent.py", line 285, in list_agents
agents = server_api.list_agents()
File "/usr/hdp/share/hst/hst-agent/lib/hst_agent/ServerAPI.py", line 72, in list_agents
content = self.call(request)
File "/usr/hdp/share/hst/hst-agent/lib/hst_agent/ServerAPI.py", line 52, in call
self.cachedconnect = security.CachedHTTPSConnection(self.config)
File "/usr/hdp/share/hst/hst-agent/lib/hst_agent/security.py", line 111, in __init__
File "/usr/hdp/share/hst/hst-agent/lib/hst_agent/security.py", line 116, in connect
File "/usr/hdp/share/hst/hst-agent/lib/hst_agent/security.py", line 87, in connect
raise err
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:765)

The solution for me was just coping files from server where is working hts agent from directory¬†/var/lib/smartsense/hst-agent/keys/* to non forking agent’s server to directory¬†/var/lib/smartsense/hst-agent/keys/. Before it delete files from non working hts agent’s server¬†/var/lib/smartsense/hst-agent/keys.

Posted in IT