Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24A0C106C3 for ; Mon, 23 Jun 2014 14:41:57 +0000 (UTC) Received: (qmail 92647 invoked by uid 500); 23 Jun 2014 14:41:56 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 92619 invoked by uid 500); 23 Jun 2014 14:41:56 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 92609 invoked by uid 99); 23 Jun 2014 14:41:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2014 14:41:56 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of deepujain@gmail.com designates 209.85.192.169 as permitted sender) Received: from [209.85.192.169] (HELO mail-pd0-f169.google.com) (209.85.192.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2014 14:41:51 +0000 Received: by mail-pd0-f169.google.com with SMTP id g10so5789619pdj.0 for ; Mon, 23 Jun 2014 07:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:from:content-type:in-reply-to:message-id:date:to :content-transfer-encoding:mime-version; bh=jCAAMgOauJMQ14GHZIcmPHX62N/8XhonYUyWe9n78DM=; b=psXgvu3xPQaQGyx7/TMs3UIHD1nvSroCiX5vT85/N78cqEmqPCfl5pu59oXk+1dqBm TWsxQt8jqEcMthK82tqoEYoCgQUG/bOQp3v/69yvyOXgD4u2oN9NOSL0rnN3GCqVljkk cAHWqtsvNge7T1j3z21NAH/fG5isynwTCTEWzMcWy1N/AbN578WSAc//EZkDgcSwHukB TtDclveOw2A1F1eYUukrvT3GlY2XgS/sOpaXe/l1WSBwuNVC+UEAGqlUYvHjzQAinJv9 hhdLm/WwMKs/tvnG8aGThDOIuf5fNTeO4u29XrW11LO4yJtYYZ1H6fJCUTKzVU9cAHBk 650Q== X-Received: by 10.66.146.105 with SMTP id tb9mr30088392pab.157.1403534491536; Mon, 23 Jun 2014 07:41:31 -0700 (PDT) Received: from [192.168.0.107] ([106.51.53.34]) by mx.google.com with ESMTPSA id ha10sm27283218pbd.1.2014.06.23.07.41.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Jun 2014 07:41:29 -0700 (PDT) Subject: Re: Ambari 1.6.0 installation error References: From: Deepak Content-Type: multipart/alternative; boundary=Apple-Mail-8EBCB295-611A-40C3-A0DD-0230B083BBE7 X-Mailer: iPhone Mail (11D201) In-Reply-To: Message-Id: Date: Mon, 23 Jun 2014 20:11:24 +0530 To: "user@ambari.apache.org" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-8EBCB295-611A-40C3-A0DD-0230B083BBE7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hello I have had similar error.=20 You need to store ssh public key of ambari server into root user of .ssh/aut= horized_keys file in every host you add using web GUI. This must be done man= ually. Remember its root user and not any other user. Sent from my iPhone > On 23-Jun-2014, at 7:35 pm, Dimitris Bouras wrote: >=20 > Thanks, >=20 > Shouldn't the shell command in bootstrap.sh do this fo rme?=20 >=20 > mkdir -p /root/.ssh; chmod 600 /root/.ssh; cp /home/vagrant/.ssh/authorize= d_keys /root/.ssh/ >=20 >=20 >> On Mon, Jun 23, 2014 at 3:05 PM, Olivier Renault wrote: >> It's probably a good assumption. You need to have distributed the public s= sh key to every hosts ahead of time. >>=20 >> An alternative is to install ambari-agent on each node, configured it (ed= it /etc/ambari-agent/conf/ambari-agent.conf and point it to your ambari-serv= er) and start the agent. >>=20 >> Thanks=20 >> Olivier >>=20 >>> On 23 Jun 2014 12:48, "Dimitris Bouras" wrote: >>>=20 >>> The steps I follow to setup ambari are based on the Quick start Guide ar= e: >>>=20 >>> 1)cd centos6.5 >>> 2)./up.sh 3 >>> 3) vagrant ssh c6501 >>> 4) sudo su - >>> 4a) yum install wget >>> 5) wget http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/= 1.6.0/ambari.repo ..setup star...etc. >>> 6) login to c6501:8080 >>> 7) Define my range expression: >>> c65[01-03].ambari.apache.org >>>=20 >>> Specify the the non-root SSH user vagrant, and upload insecure_private_k= ey file that I copied earlier as the private key. >>>=20 >>> Here is where the process fails, probably due to me not setting up pass= wordless ssh. Is this a correct assumption ? >>> or is there some other kind of error in my setup ? (since the vagrant in= secure key should do the trick?) >>> Kind regards >>>=20 >>> Dimitri >>>=20 >>>=20 >>=20 >> CONFIDENTIALITY NOTICE >> NOTICE: This message is intended for the use of the individual or entity t= o which it is addressed and may contain information that is confidential, pr= ivileged and exempt from disclosure under applicable law. If the reader of t= his message is not the intended recipient, you are hereby notified that any p= rinting, copying, dissemination, distribution, disclosure or forwarding of t= his communication is strictly prohibited. If you have received this communic= ation in error, please contact the sender immediately and delete it from you= r system. Thank You. >=20 --Apple-Mail-8EBCB295-611A-40C3-A0DD-0230B083BBE7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
Hello
I have had similar error. 
You need to store ssh public key of ambari server into root user of .ssh/authorized_keys file in every host you add using web GUI. This must be done manually. Remember its root user and not any other user.

Sent from my iPhone

On 23-Jun-2014, at 7:35 pm, Dimitris Bouras <dmpour23@gmail.com> wrote:

Thanks,

 Shouldn't the shell command in bootstrap.sh do this fo rme?

mkdir -p /root/.ssh; chmod 600 /root/.ssh; cp /home/vagrant/.ssh/authorized_keys /root/.ssh/


On Mon, Jun 23, 2014 at 3:05 PM, Olivier Renault <orenault@hortonworks.com> wrote:

It's probably a good assumption. You need to have distributed the public ssh key to every hosts ahead of time.

An alternative is to install ambari-agent on each node, configured it (edit /etc/ambari-agent/conf/ambari-agent.conf and point it to your ambari-server) and start the agent.

Thanks
Olivier

On 23 Jun 2014 12:48, "Dimitris Bouras" <dmpour23@gmail.com> wrote:

The steps I follow to setup ambari are based on the Quick start Guide are:

1)cd centos6.5
2)./up.sh 3
3) vagrant ssh c6501
4) sudo su -
4a) yum install wget
5) wget http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.6.0/ambari.repo ..setup star...etc.
6) login to c6501:8080
7) Define my range expression:
c65[01-03].ambari.apache.org

Specify the the non-root SSH user vagrant, and upload insecure_private_key file that I copied earlier as the private key.

Here is where the process fails, probably due to me not setting up  passwordless ssh. Is this a correct assumption ?
or is there some other kind of error in my setup ? (since the vagrant insecure key should do the trick?)
Kind regards

Dimitri


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.

--Apple-Mail-8EBCB295-611A-40C3-A0DD-0230B083BBE7--