Created 10-08-2015 11:26 PM
Doing the install on Debian7, but we keep running into problems with SSH. Here is the description of issue:
We are able to SSH to all of the instances from the terminal.
But the Host registration in Ambari fails. Please scroll all the way down for the error.
We tried modifying the directory permissions as per our recommended guide and it still did not work.
Looks like Ambari copies the RSA file to a folder under /var/run/ambari-server/bootstrap under a filename called SSHKEY
That file contains the private key. In our case however, the file shows NULL
We are wondering if this may be a glitch on the Ambari side.
########################## ERROR ####################################
INFO:root:BootStrapping hosts ['hou706069.int.cggveritas.com', 'hou706070.int.cggxxx.com', 'hou711069.int.cggxxx.com', 'hou711070.int.cggxxx.com', 'hou706068.int.cggxxx.com'] using /usr/lib/python2.6/site-packages/ambari_server cluster primary OS: debian7 with user 'r oot' sshKey File /var/run/ambari-server/bootstrap/3/sshKey password File null using tmp dir /var/run/ambari-server/bootstrap/3 ambari: hou706068.int.cggxxx.com; server_port: 8080; ambari version: 2.1.2; user_run_as: root INFO:root:Executing parallel bootstrap ERROR:root:ERROR: Bootstrap of host hou706070.int.cggxxx.com fails because previous action finished with non-zero exit cod e (255) ERROR MESSAGE: Permission denied (publickey,password).
Created 10-13-2015 02:53 PM
Using that key and signed into the Ambari Server as 'root', can you SSH to the target hosts from a command line?
If you can't, double check the permissions of the "public" key on the target hosts.
~/.ssh should be 700
and the authorized_keys file should be 600.
Created 10-10-2015 04:44 PM
Just to confirm, ssh from ambari server to all the host works fine "password less ssh". Correct?
Did you use correct private key in ambari console while installing?
Created 10-13-2015 02:53 PM
Using that key and signed into the Ambari Server as 'root', can you SSH to the target hosts from a command line?
If you can't, double check the permissions of the "public" key on the target hosts.
~/.ssh should be 700
and the authorized_keys file should be 600.