Ok, so i have debugged this but don’t get why i have this problem…..
look at the bottom and you see that passwordless logins work between the two hosts.
but the error in bootstrap.err is permission denied….so I found out that the sshKey file in the ssh command is missing…it does not show up in the original path. as you can see. So if passwordless ssh is already setup why specify a key file? I hacked the /usr/lib/python2.6/site-packages/ambari_server/bootstrap.py script to leave off the keyfile from command and got past this step… before i go forward I was wondering if anyone else came across this and in fact is there something else wrong?
root@ambari:/var/run/ambari-server/bootstrap/6# ls -la
total 16
drwxr-xr-x 2 root root 140 Feb 14 11:26 .
drwxr-xr-x 9 root root 180 Feb 14 11:38 ..
-rw-r–r– 1 root root 657 Feb 14 11:19 bootstrap.err
-rw-r–r– 1 root root 0 Feb 14 11:19 bootstrap.out
-rw-r–r– 1 root root 3 Feb 14 11:19 horton1.laptop.local.done
-rw-r–r– 1 root root 796 Feb 14 11:19 horton1.laptop.local.log
-rw——- 1 root root 406 Feb 14 11:26 sshKey
root@ambari:/var/run/ambari-server/bootstrap/6# more bootstrap.err
INFO:root:BootStrapping hosts [‘horton1.laptop.local’] using /usr/lib/python2.6/site-packages/ambari_server cluster prim
ary OS: ubuntu14 with user ‘root’ sshKey File /var/run/ambari-server/bootstrap/6/sshKey password File null using tmp dir
/var/run/ambari-server/bootstrap/6 ambari: ambari.laptop.local; server_port: 8080; ambari version: 1.7.0
INFO:root:Executing parallel bootstrap
ERROR:root:ERROR: Bootstrap of host horton1.laptop.local fails because previous action finished with non-zero exit code
(255)
ERROR MESSAGE: Permission denied (publickey,password).
STDOUT:
Permission denied (publickey,password).
INFO:root:Finished parallel bootstrap
root@ambari:/var/run/ambari-server/bootstrap/6# ssh horton1.laptop.local
Last login: Sat Feb 14 11:38:01 2015 from ambari.laptop.local
root@horton1:~# exit