I av installed ambari server and a host on aws ami linux but host refused to install agent and register. I have also done manual agent installation which is successful but still not able to register on the server.
Below is the error output:
==========================
Copying common functions script…
==========================
Command start time 2014-11-06 14:27:29
scp /usr/lib/python2.6/site-packages/ambari_commons
host=ip-10-21-0-10.eu-west-1.compute.internal, exitcode=0
Command end time 2014-11-06 14:27:29
==========================
Copying OS type check script…
==========================
Command start time 2014-11-06 14:27:29
scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=ip-10-21-0-10.eu-west-1.compute.internal, exitcode=0
Command end time 2014-11-06 14:27:29
==========================
Running OS type check…
==========================
Command start time 2014-11-06 14:27:29
Cluster primary/cluster OS type is amazon and local/current OS type is amazon linux ami2014
Traceback (most recent call last):
File “/tmp/os_check_type1415284049.py”, line 44, in <module>
main()
File “/tmp/os_check_type1415284049.py”, line 40, in main
raise Exception(“Local OS is not compatible with cluster primary OS. Please perform manual bootstrap on this host.”)
Exception: Local OS is not compatible with cluster primary OS. Please perform manual bootstrap on this host.
Connection to ip-10-21-0-10.eu-west-1.compute.internal closed.
SSH command execution finished
host=ip-10-21-0-10.eu-west-1.compute.internal, exitcode=1
Command end time 2014-11-06 14:27:30
ERROR: Bootstrap of host ip-10-21-0-10.eu-west-1.compute.internal fails because previous action finished with non-zero exit code (1)
ERROR MESSAGE: Connection to ip-10-21-0-10.eu-west-1.compute.internal closed.
STDOUT: Cluster primary/cluster OS type is amazon and local/current OS type is amazon linux ami2014
Traceback (most recent call last):
File “/tmp/os_check_type1415284049.py”, line 44, in <module>
main()
File “/tmp/os_check_type1415284049.py”, line 40, in main
raise Exception(“Local OS is not compatible with cluster primary OS. Please perform manual bootstrap on this host.”)
Exception: Local OS is not compatible with cluster primary OS. Please perform manual bootstrap on this host.
Connection to ip-10-21-0-10.eu-west-1.compute.internal closed.
Automatic Agent registration timed out (timeout = 300 seconds). Check your network connectivity and retry registration, or use manual agent registration.
I need help on how to resolve this issue.
Thanks