Hi Max, The sshKey is written to a file by the ambari server during bootstrap process.
What is the permissions on the file?: /var/run/ambari-server/bootstrap/2/sshKey Also, is the ambari server user different from root? -Sid On Mon, Jul 28, 2014 at 8:55 AM, Maximilian Arruda < [email protected]> wrote: > Hi Sid, > > I have done what you asked me for. Follow the command that was shown: > > ========================== > Copying common functions script... > Running scp command scp -r -o ConnectTimeout=60 -o BatchMode=yes -o > StrictHostKeyChecking=no -i /var/run/ambari-server/bootstrap/2/sshKey > /usr/lib/python2.6/site-packages/ambari_commons > [email protected]:/tmp > ========================== > > Command start time 2014-07-28 12:44:41 > > Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). > lost connection > scp /usr/lib/python2.6/site-packages/ambari_commons > host=slave01.hdp.vectorx.com.br, exitcode=1 > Command end time 2014-07-28 12:44:41 > > ERROR: Bootstrap of host slave01.hdp.vectorx.com.br fails because > previous action finished with non-zero exit code (1) > ERROR MESSAGE: Permission denied > (publickey,gssapi-keyex,gssapi-with-mic,password). > lost connection > > STDOUT: > Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). > lost connection > > I have tried to execute on console the command, and appeared the follow > warning : > > [root@master ~]# scp -r -o ConnectTimeout=60 -o BatchMode=yes -o > StrictHostKeyChecking=no -i /var/run/ambari-server/bootstrap/2/sshKey > /usr/lib/python2.6/site-packages/ambari_commons > [email protected]:/tmp > Warning: Identity file /var/run/ambari-server/bootstrap/2/sshKey not > accessible: No such file or directory. > os_check.py 100% 5841 5.7KB/s > 00:00 > __init__.py 100% 885 0.9KB/s > 00:00 > os_check.pyc 100% 6827 6.7KB/s > 00:00 > __init__.pyc 100% 1060 1.0KB/s > 00:00 > > > Is that make any sense ? > > > > > * Maximillian Lara de Arruda*+55 11 99297-7890 > [email protected] > http://www.vectorx.com.br > > > 2014-07-28 10:41 GMT-03:00 Caio Augusto <[email protected]>: > >> >> >> ---------- Forwarded message ---------- >> From: Siddharth Wagle <[email protected]> >> Date: Sat, Jul 26, 2014 at 12:50 AM >> Subject: Re: Issue while installing Ambari Clusters >> To: Ambari <[email protected]> >> Cc: "[email protected]" <[email protected]>, Caio Augusto < >> [email protected]> >> >> >> Hi Max, >> >> Can you edit bootstrap.py and set DEBUG = False to DEBUG = True and retry. >> >> This will give you the scp command that is failing and you can actually >> run it manually to see what is the actual error. >> >> Best Regards, >> Sid >> >> >> On Fri, Jul 25, 2014 at 4:26 PM, Maximilian Arruda < >> [email protected]> wrote: >> >>> >>> We're facing some problems while trying to install ambari hosts by the >>> wizard you provided. Follow the failed log that appeared on the "Confirm >>> hosts" screen: >>> >>> ========================== >>> Copying common functions script... >>> ========================== >>> >>> Command start time 2014-07-25 20:11:21 >>> >>> Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). >>> lost connection >>> scp /usr/lib/python2.6/site-packages/ambari_commons >>> host=slave03.hdp.vectorx.com.br, exitcode=1 >>> Command end time 2014-07-25 20:11:21 >>> >>> ERROR: Bootstrap of host slave03.hdp.vectorx.com.br fails because >>> previous action finished with non-zero exit code (1) >>> ERROR MESSAGE: Permission denied >>> (publickey,gssapi-keyex,gssapi-with-mic,password). >>> lost connection >>> >>> STDOUT: >>> Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). >>> lost connection >>> >>> We've been trying to follow lots of examples we found on the internet >>> but any of then had worked. >>> >>> All ssh configuration are ok and I can log in without password from the >>> master server into any of the slaves ones. We have one master and 3 slaves >>> for testing. >>> >>> Hope you can help me on this issue. >>> >>> Regards, >>> >>> >>> >>> * Maximillian Lara de Arruda*+55 11 99297-7890 >>> [email protected] >>> http://www.vectorx.com.br >>> >> >> >> CONFIDENTIALITY NOTICE >> NOTICE: This message is intended for the use of the individual or entity >> to which it is addressed and may contain information that is confidential, >> privileged and exempt from disclosure under applicable law. If the reader >> of this message is not the intended recipient, you are hereby notified that >> any printing, copying, dissemination, distribution, disclosure or >> forwarding of this communication is strictly prohibited. If you have >> received this communication in error, please contact the sender immediately >> and delete it from your system. Thank You. >> >> > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
