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 06447110B4 for ; Tue, 24 Jun 2014 11:56:21 +0000 (UTC) Received: (qmail 51534 invoked by uid 500); 24 Jun 2014 11:56:20 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 51502 invoked by uid 500); 24 Jun 2014 11:56:20 -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 51491 invoked by uid 99); 24 Jun 2014 11:56:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2014 11:56:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of deepujain@gmail.com designates 74.125.82.174 as permitted sender) Received: from [74.125.82.174] (HELO mail-we0-f174.google.com) (74.125.82.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2014 11:56:16 +0000 Received: by mail-we0-f174.google.com with SMTP id u57so228535wes.19 for ; Tue, 24 Jun 2014 04:55:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Rml3MQPLRQ4of0DIWAgvfGsaogN1fQEeZsjCfCFU1Vs=; b=Ep7pywASXfXzfi6VQqKXp4Uk+YhcshSC584iI4UzcIUZc0Ws+DuP+pzAh+NCFLqi84 lujCD+SWHgLZZi6YfZ3K2jBNxDf2/Oy8tlcZaMm5RINylcRzNNbZOyVGqIM/ew4/qjLS DGm4XrAJwIhTcYZUJ0WYLNw9CCheeSSpWh5apMd/z259pcE/DcrGmMjkumnJ546/QS6p WHdQ8jRoc7trsKi1DumzY5tx/z/oV+O5icXK+xU/qZba0GLTRXMmg895TguBw/+J+bfR MkmyCqRwz/rKxvOViT2yQCGR0yh+pX9vCKNoDEsCXjHvzCzcNiXm1gcmQ1CzfG6mJ9H4 7v+A== X-Received: by 10.194.179.170 with SMTP id dh10mr668277wjc.7.1403610955378; Tue, 24 Jun 2014 04:55:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.35.65 with HTTP; Tue, 24 Jun 2014 04:55:34 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?B?w5DOnuKCrM+BQNKcICjguY/Mr82h4LmPKQ==?= Date: Tue, 24 Jun 2014 17:25:34 +0530 Message-ID: Subject: Re: Ambari 1.6.0 installation error To: user Content-Type: multipart/alternative; boundary=089e0141a0b465f6b504fc93a43f X-Virus-Checked: Checked by ClamAV on apache.org --089e0141a0b465f6b504fc93a43f Content-Type: text/plain; charset=UTF-8 Hello, I had faced the exact same error and the user must be root, otherwise it does not work. It did not work with my user upon switching to root everything worked. You will need to get private key of root@ambari-server and copy public certificate of root@ambari-server into all the compute nodes. Switch to root and everything will be dead smooth :) Regards, Deepak On Tue, Jun 24, 2014 at 5:13 PM, Dimitris Bouras wrote: > Thank you both for your promt reply > > Deepak, I will try out your solution thanks. > > Yusako, I still cannot seem to install the ambari-cluster following the > quick start guide. I have attached my steps in a "steps.txt" please point > out any steps I might be missing or user privileges that may be involved. > > Furthermore i have attached the console output of installation and the > tail of /ambari-server.log & (ui logs) for both cases as root and vagrant > using same insecure key. I cant seem to get to work with either. > > Thanks in advance for your help > > Dimitri > > > > > > > On Tue, Jun 24, 2014 at 12:59 AM, Yusaku Sako > wrote: > >> Hi all, >> >> The Quick Start Guide [1] was missing the step to copy the >> insecure_priviate_key file to the OS-specific project folder. >> The Wiki has been updated to add this step. >> You don't need to manually distribute or configure SSH on all VMs. Once >> the insecure_private_key file is in place in the project folder, >> bootstrap.sh does the rest (including passwordless ssh login for root). >> >> [1] https://cwiki.apache.org/confluence/display/AMBARI/Quick+Start+Guide >> >> Yusaku >> >> >> On Mon, Jun 23, 2014 at 7:41 AM, Deepak wrote: >> >>> 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 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" 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. >>> >>> >>> >> >> 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. >> > > -- Deepak --089e0141a0b465f6b504fc93a43f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,
I had faced the exact same error and the user m= ust be root, otherwise it does not work.
It did not work with my = user upon switching to root everything worked.
You will need to g= et private key of root@ambari-server and copy public certificate of root@am= bari-server into all the compute nodes.

Switch to root and everything will be dead smooth :)
Regards,
Deepak



On Tue, Jun 24, 2014 at 5:13= PM, Dimitris Bouras <dmpour23@gmail.com> wrote:
Thank you both for you= r promt reply

Deepak, I will try out your solution thanks.

Yusako, I still cannot seem to install the ambari-cluster following th= e quick start guide. I have attached my steps in a "steps.txt" pl= ease point out any steps I might be missing or user privileges that may be = involved.

Furthermore i have attached the console output of installati= on and the tail of=C2=A0 /ambari-server.log & (ui logs)=C2=A0 for both = cases as root and vagrant using same insecure key. I cant seem to get to wo= rk with either.

Thanks in advance for your help

Dimitri






On Tue, Jun 24, 2014 at 12:59 AM, Yusaku Sako <yusaku@hortonworks.c= om> wrote:
Hi all,

The Quick St= art Guide [1] was missing the step to copy the insecure_priviate_key file t= o the OS-specific project folder.
The Wiki has been updated to add this step.
You don't ne= ed to manually distribute or configure SSH on all VMs. =C2=A0Once the insec= ure_private_key file is in place in the project folder, bootstrap.sh does t= he rest (including passwordless ssh login for root).

[1] https://cwiki.apache.org/confluence/display= /AMBARI/Quick+Start+Guide

Yusaku


On Mon, Jun 23, 2014 at 7:41 AM, Deepak <deepujain@gmail.com><= /span> wrote:
Hello
I hav= e had similar error.=C2=A0
You need to store ssh public key of am= bari server into root user of .ssh/authorized_keys file in every host you a= dd using web GUI. This must be done manually. Remember its root user and no= t any other user.

Sent from my iPhone

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

Thanks,

=C2=A0Shouldn'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 distri= buted the public ssh key to every hosts ahead of time.

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

Thanks
Olivier

On 23 Jun 2014 12:48, "Dimitris Bouras"= ; <dmpour23@gmai= l.com> wrote:

The steps I follow to setup ambari are based on t= he Quick start Guide are:

1)cd centos6.5
2)./up.sh 3
3) vagran= t ssh c6501
4) sudo su -
4a) yum install wget
5) wget http://public-repo-1.hortonwor= ks.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-r= oot SSH user vagrant, and upload insecure_private_key file that I copied ea= rlier as the private key.

Here is where the process fails, probably due to me not setting up=C2= =A0 passwordless ssh. Is this a correct assumption ?
or is there some ot= her kind of error in my setup ? (since the vagrant insecure key should do t= he 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 comm= unication is strictly prohibited. If you have received this communication i= n error, please contact the sender immediately and delete it from your syst= em. Thank You.



CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd 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, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u.




--
=
Deepak

--089e0141a0b465f6b504fc93a43f--