Trying to setup Ambari-server/hosts on amazon ec2 linux instances (using passwordless ssh) and it fails while registering the host. I am using the FQDN (private DNS) to register (as ec2-user) through the cluster setup process.
The error i see on the ambari-server is the following :
Host {private DNS of the host} doesn’t exist in database
01:48:05,319 ERROR [qtp855747015-23] AbstractResourceProvider:280 – Caught AmbariException when creating a resource
org.apache.ambari.server.AmbariException: Host ip-172-31-36-244.us-west-2.compute.internal doesn’t exist in database
at org.apache.ambari.server.actionmanager.ActionDBAccessorImpl.persistActions(ActionDBAccessorImpl.java:242)
I am using the latest version of open ssl. selinux is turned off. The machines can communicate with each other without issues.I can see that the ambari-agent is installed on the host This is the error on the agent
INFO 2015-02-10 01:46:00,121 NetUtil.py:48 – Connecting to {Server private DNS}:8440/connection_info
INFO 2015-02-10 01:46:00,205 security.py:49 – Server require two-way SSL authentication. Use it instead of one-way…
INFO 2015-02-10 01:46:00,206 security.py:175 – Server certicate exists, ok
INFO 2015-02-10 01:46:00,206 security.py:183 – Agent key exists, ok
INFO 2015-02-10 01:46:00,206 security.py:191 – Agent certificate exists, ok
INFO 2015-02-10 01:46:00,206 security.py:93 – SSL Connect being called.. connecting to the server
INFO 2015-02-10 01:46:00,285 security.py:77 – SSL connection established. Two-way SSL authentication completed successfully.
ERROR 2015-02-10 01:46:00,290 Controller.py:117 – Cannot register host with not supported os type, hostname={host private DNS}, serverOsType=redhat7, agentOsType=redhat7
INFO 2015-02-10 01:46:00,290 Controller.py:320 – Registration response from {Server private DNS} was FAILED
INFO 2015-02-10 01:46:00,290 main.py:55 – signal received, exiting.
INFO 2015-02-10 01:46:00,290 ProcessHelper.py:39 – Removing pid file
INFO 2015-02-10 01:46:00,290 ProcessHelper.py:46 – Removing temp files
Any suggestions on what is wrong here ?
Regards,
V.