Support Questions
Find answers, ask questions, and share your expertise

Ambari host registration failed

Solved Go to solution
Highlighted

Re: Ambari host registration failed

New Contributor

I had a similar issue and wanted to add my findings to hopefully help those in the future reading this note. I went through all the above checks with ports, firewalls, TPH, etc and the new host still failed to register. Finally during some checking, I noticed the /etc/hosts file had a different name than what was in DNS for this host IP(the server was built with a different host name, then renamed without changing /etc/hosts). Since DNS resolved to the correct IP all the port checking worked. However, I assume when the ambari-agent was started it read the hosts file so it knew itself as the hostname in the /etc/hosts file which was incorrect. After updating the /etc/hosts file and restarting the ambari-agent everything worked.

Highlighted

Re: Ambari host registration failed

New Contributor

To solve this issues you should be known these things first:-

  • try to use the private SSH key in the ambari service host .
  • copy the private key to the public key and use this copy key
  • try to keep the private key file into the web UI
Highlighted

Re: Ambari host registration failed

New Contributor

So today I rebooted the machine and restarted Ambari-Agent and it was able to connect.. ince DNS resolved to the correct IP all the port checking worked. However, I assume when the ambari-agent

,

Since DNS resolved to the correct IP all the port checking worked. However, I assume when the ambari-agent was started it read the hosts file so it knew itself as the hostname

Highlighted

Re: Ambari host registration failed

I want to Ambari to build a platform for testing some functionalities on spark. I use Win 10+Hyper-V to create two VMs (mercury.gc and venus.gc) installed with CentOS 7. Ambari 2.2.2.0 is installed on one VM (mercury.gc) and try to use it to config these two VMs.

Highlighted

Re: Ambari host registration failed

it is very nice blog<a href="http://julycalendar2018.com/">july2018 Calendar</a>
<a href="http://julycalendar2018.com/">july 2018 Calendar printable</a>
<a href="http://julycalendar2018.com/">july Calendar 2018 printable</a>
<a href="http://julycalendar2018.com/">july 2018 Calendar template</a>
<a href="http://julycalendar2018.com/">july 2018 blank Calendar</a>
<a href="http://julycalendar2018.com/">2018 july Calendar</a>
<a href="http://www.printcalendar2017.com/2018/04/july-2018-monthly-calendar-printable.html">2018 july Calendar</a>
<a href="http://www.printcalendar2017.com/2018/04/july-2018-monthly-calendar-printable.html">calendar  july 2018</a>
<a href="http://www.printcalendar2017.com/2018/04/july-2018-monthly-calendar-printable.html">july 2018 Calendar</a>


<a href="http://www.printcalendar2017.com/2018/05/free-july-2018-printable-calendar.html">free july 2018 template</a>

<a href="http://www.printcalendar2017.com/2018/04/august-2018-monthly-calendar-printable.html">august 2018 Calendar</a>
<a href="http://www.printcalendar2017.com/2018/04/august-2018-monthly-calendar-printable.html">august 2018 Calendar printable</a>
<a href="http://www.printcalendar2017.com/2018/04/august-2018-monthly-calendar-printable.html">august Calendar 2018 printable</a>
<a href="http://www.printcalendar2017.com/2018/04/august-2018-monthly-calendar-printable.html">august 2018 Calendar template</a>
<a href="http://www.printcalendar2017.com/2018/04/august-2018-monthly-calendar-printable.html">august 2018 blank Calendar</a>
<br>
Highlighted

Re: Ambari host registration failed

Re: Ambari host registration failed

Expert Contributor

Ambari agent could also fail due to a bug which requires:


force_https_protocol=PROTOCOL_TLSv1_2