Created 08-24-2016 06:20 AM
Hi:
During the process to add the new host,I have received this error:
========================== Creating target directory... ========================== Command start time 2016-08-23 13:26:35 Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). SSH command execution finished host=xxxxxx, exitcode=255 Command end time 2016-08-23 13:26:35 ERROR: Bootstrap of host xxxxxx fails because previous action finished with non-zero exit code (255) ERROR MESSAGE: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). STDOUT: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Created 08-24-2016 06:23 AM
copy the public key of the ambari host to the node you are adding in the .ssh/authorized_keys and also vice versa to allow the password less authentication between the two hosts and then try register the host again.
Created 08-24-2016 06:23 AM
copy the public key of the ambari host to the node you are adding in the .ssh/authorized_keys and also vice versa to allow the password less authentication between the two hosts and then try register the host again.
Created 08-24-2016 06:46 AM
Hi: its work now, but i have another error:
========================== Copying setup script file... ========================== Command start time 2016-08-24 08:44:04 scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py host=xxxxx, exitcode=0 Command end time 2016-08-24 08:44:04 ERROR: Bootstrap of host xxxxxxx fails because previous action finished with non-zero exit code (1) ERROR MESSAGE: Execute of '<bound method BootstrapDefault.copyNeededFiles of <BootstrapDefault(Thread-1, started daemon 140488403556096)>>' failed STDOUT: Try to execute '<bound method BootstrapDefault.copyNeededFiles of <BootstrapDefault(Thread-1, started daemon 140488403556096)>>'
Created 08-24-2016 06:51 AM
The second issue is caused by the ambari repo file name. Please ensure the repo file name is ambari.repo
Created 08-24-2016 06:57 AM
now its working, thanks
Created 08-24-2016 12:18 PM
Can you please post complete message? It is complaining about the previous action. Are there any messages before these lines ?
Created 08-24-2016 04:38 PM
Look like the keyless ssh is not setup properly, check the document at
Or install Ambari agent manually