Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

I am not able to register the host. Error: registration with the server failed. It is a single node where ambari-server and agent is installed on the same host.

avatar

OS: RHL 7

I am still not very clear regarding the FQDN of the system needed while registering the host.

The screenshot is attached.

94394-screenshot-113.png

1 ACCEPTED SOLUTION

avatar

Hi @Shraddha Singh,

It looks like your ambari-agent is running but its nota ble to contact the Ambari-server to TLS issue.

Can you carefully read this article and see if it helps you ?

https://community.hortonworks.com/articles/188269/javapython-updates-and-ambari-agent-tls-settings.h...

additionaly try disable Cert verification in python refering to :https://access.redhat.com/articles/2039753#controlling-certificate-verification-7

sed -i 's/verify=platform_default/verify=disable/'/etc/python/cert-verification.cfg

Please accept this answer if it helps you

View solution in original post

11 REPLIES 11

avatar

Thanks @Akhil S Naik, the issue was resolved using the above method.

avatar
Expert Contributor

Hi @Shraddha Singh,

I encountered same issue during the ambari-agent registration.

error:

Ambari-agent registration failed with ambari-server due to below issue
EOF occurred in violation of protocol (_ssl.c:618)
ERROR 2018-11-27 13:43:19,511 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions

Resolution:

vi /etc/ambari-agent/conf/ambari-agent.ini
force_https_protocol=PROTOCOL_TLSv1_2

vi /etc/python/cert-verification.cfg 
[https] 
verify=disable

Hope this helps!!!. Thanks