Return-Path: X-Original-To: apmail-incubator-ambari-user-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 570DAFF5D for ; Tue, 23 Apr 2013 22:17:30 +0000 (UTC) Received: (qmail 89975 invoked by uid 500); 23 Apr 2013 22:17:30 -0000 Delivered-To: apmail-incubator-ambari-user-archive@incubator.apache.org Received: (qmail 89906 invoked by uid 500); 23 Apr 2013 22:17:30 -0000 Mailing-List: contact ambari-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-user@incubator.apache.org Delivered-To: mailing list ambari-user@incubator.apache.org Received: (qmail 89895 invoked by uid 99); 23 Apr 2013 22:17:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Apr 2013 22:17:30 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jeff@hortonworks.com designates 209.85.210.175 as permitted sender) Received: from [209.85.210.175] (HELO mail-ia0-f175.google.com) (209.85.210.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Apr 2013 22:17:26 +0000 Received: by mail-ia0-f175.google.com with SMTP id i38so1029200iae.34 for ; Tue, 23 Apr 2013 15:17:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=seUY0UXhSPmobEHbU+ba7ioGe2oDz1mlOj++To3npj8=; b=XEOMxfd64F3tSc+zoAKr+ssTQaIHZU2q+gOI8nlN1wCtn+6uKy25hgGOHQ+3Yq9IiT DFmPIow6FGoit6EBllo2VCeR30lpE8sqUai/qFjeqmXPIHvURN5JDEJdnaDA5zoaO+6Q RyrlQqXfNamIxRl912YWMnuDtsmH3u9aJb29mWwK+fOTopZeA+FKQ6r5B8n7csmVXIsO Hj2rptJqYaE6S90DDzNo4KVTNSD6wotbkduel4okj0acklPYmhQhbaavJdN8DuljC38u zbKHBeVnMGOj820cj75irTbFKnQwWzgdzTjg+XFXQkSjWTpq8x1oPrH8u6Y8aMiZgt87 zk6g== MIME-Version: 1.0 X-Received: by 10.50.62.66 with SMTP id w2mr11915910igr.81.1366755425628; Tue, 23 Apr 2013 15:17:05 -0700 (PDT) Received: by 10.64.32.229 with HTTP; Tue, 23 Apr 2013 15:17:05 -0700 (PDT) In-Reply-To: References: <99DD75DC8938B743BBBC2CA54F7224A706DD757A@NYSGMBXB06.a.wcmc-ad.net> <99DD75DC8938B743BBBC2CA54F7224A706DD7FFE@NYSGMBXB06.a.wcmc-ad.net> <99DD75DC8938B743BBBC2CA54F7224A706DD967E@NYSGMBXB06.a.wcmc-ad.net> <99DD75DC8938B743BBBC2CA54F7224A706DD96B8@NYSGMBXB06.a.wcmc-ad.net> <99DD75DC8938B743BBBC2CA54F7224A706DD9827@NYSGMBXB06.a.wcmc-ad.net> Date: Tue, 23 Apr 2013 15:17:05 -0700 Message-ID: Subject: Re: unable to register servers From: Jeff Sposetti To: ambari-user@incubator.apache.org Content-Type: multipart/alternative; boundary=047d7bdc0f0ea3c6a704db0e8ba0 X-Gm-Message-State: ALoCoQmpIIL0RnU2oJDf7ewCSIukDoDv1gvCcqVr4FdYMKwj1IMLyM3hZVStL3ruyAN9V+0uwGRN X-Virus-Checked: Checked by ClamAV on apache.org --047d7bdc0f0ea3c6a704db0e8ba0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Artem, This doesn't solve your immediate issue but FYI: there is a JIRA for the ability to disable Ambari from distributing the .repo files during installation. https://issues.apache.org/jira/browse/AMBARI-2006 You can watch that JIRA for progress. Thanks. On Tue, Apr 23, 2013 at 3:02 PM, Siddharth Wagle wr= ote: > Please look at the section in repoinfo.xml that corresponds to your OS > version. It should have both the HDP-1.2.1 and the HDP-epel repo sections= . > > -Sid > > On Tue, Apr 23, 2013 at 2:38 PM, Artem Ervits wrote: > >> Ok I fixed this issue but the rest still remains. I have to manually >> delete /etc/yum.repos.d/HDP.repo every time I run the installer because >> Ambari deploys a new HDP.repo and HDP-epel.repo files. If there was a wa= y >> to force it to stop doing so. Like I said before, I already changed the >> stacks file.**** >> >> ** ** >> >> *From:* Siddharth Wagle [mailto:swagle@hortonworks.com] >> *Sent:* Tuesday, April 23, 2013 4:40 PM >> >> *To:* ambari-user@incubator.apache.org >> *Subject:* Re: unable to register servers**** >> >> ** ** >> >> Hi Artem, >> >> >> Could you verify that "hostname -f" on your managed host returns same >> hostname that you used for registering the host ? >> >> -Sid**** >> >> On Tue, Apr 23, 2013 at 1:34 PM, Artem Ervits wrote:*= * >> ** >> >> I also see this:**** >> >> **** >> >> warning: Could not retrieve fact fqdn**** >> >> warning: Host is missing hostname and/or domain: test04**** >> >> notice: Finished catalog run in 0.03 seconds**** >> >> warning: Could not retrieve fact fqdn**** >> >> warning: Host is missing hostname and/or domain: test04**** >> >> notice: Finished catalog run in 0.03 seconds**** >> >> warning: Could not retrieve fact fqdn**** >> >> warning: Host is missing hostname and/or domain: test04**** >> >> **** >> >> I checked in /etc/hosts I have both test04 and test04.domain**** >> >> I also added /etc/hostname file for Red Hat 6.4, saw that somewhere and >> test04.domain is also there. /etc/sysconfig/network has test04 without >> domain, can it be it?**** >> >> **** >> >> Thanks.**** >> >> **** >> >> **** >> >> *From:* Artem Ervits [mailto:are9004@nyp.org] >> *Sent:* Tuesday, April 23, 2013 4:28 PM**** >> >> >> *To:* ambari-user@incubator.apache.org >> *Subject:* RE: unable to register servers**** >> >> **** >> >> I=92m passed that error, it was NTP however, I=92m cannot get past this >> following issue:**** >> >> **** >> >> err: >> /Stage[1]/Hdp::Snappy::Package/Hdp::Package[snappy]/Hdp::Package::Proces= s_pkg[snappy]/Package[snappy-devel]/ensure: >> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e= 0 >> -y install snappy-devel' returned 1: Error: Cannot retrieve repository >> metadata (repomd.xml) for repository: HDP-1.2.1. Please verify its path = and >> try aga**** >> >> **** >> >> I am installing Ambari using local mirror. I ended up setting up a local >> repo of HDP-1.2.1 as well, but I still seem to get the error. **** >> >> **** >> >> *From:* Artem Ervits [mailto:are9004@nyp.org] >> *Sent:* Tuesday, April 23, 2013 11:55 AM >> *To:* ambari-user@incubator.apache.org >> *Subject:* RE: unable to register servers**** >> >> **** >> >> I googled this error and article pointed to NTP. I checked clocks on all >> servers and they=92re indeed off. Will update the thread whether that wa= s the >> culprit.**** >> >> **** >> >> Thanks.**** >> >> **** >> >> *From:* Artem Ervits [mailto:are9004@nyp.org] >> *Sent:* Monday, April 22, 2013 5:57 PM >> *To:* ambari-user@incubator.apache.org >> *Subject:* unable to register servers**** >> >> **** >> >> Hello all,**** >> >> **** >> >> I=92m getting the following message when trying to do an initial install= of >> 1.2.2. Please advise how to work around this issue.**** >> >> **** >> >> ('INFO 2013-04-22 11:32:52,545 security.py:49 - SSL Connect being >> called.. connecting to the server**** >> >> INFO 2013-04-22 11:32:52,696 Controller.py:103 - Unable to connect to: >> https://servername1:8441/agent/v1/register/servername5**** >> >> Traceback (most recent call last):**** >> >> File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", >> line 88, in registerWithServer**** >> >> response =3D self.sendRequest(self.registerUrl, data)**** >> >> File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", >> line 237, in sendRequest**** >> >> self.cachedconnect =3D security.CachedHTTPSConnection(self.config)**= ** >> >> File "/usr/lib/python2.6/site-packages/ambari_agent/security.py", line >> 77, in __init__**** >> >> self.connect()**** >> >> File "/usr/lib/python2.6/site-packages/ambari_agent/security.py", line >> 82, in connect**** >> >> self.httpsconn.connect()**** >> >> File "/usr/lib/python2.6/site-packages/ambari_agent/security.py", line >> 66, in connect**** >> >> ca_certs=3Dserver_crt)**** >> >> File "/usr/lib64/python2.6/ssl.py", line 338, in wrap_socket**** >> >> suppress_ragged_eofs=3Dsuppress_ragged_eofs)**** >> >> File "/usr/lib64/python2.6/ssl.py", line 120, in __init__**** >> >> self.do_handshake()**** >> >> File "/usr/lib64/python2.6/ssl.py", line 279, in do_handshake**** >> >> self._sslobj.do_handshake()**** >> >> SSLError: [Errno 1] _ssl.c:490: error:14090086:SSL >> routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed**** >> >> ', None)**** >> >> **** >> >> **** >> >> Artem Ervits**** >> >> Artem@nyp.org**** >> >> New York Presbyterian Hospital**** >> >> **** >> >> >> This electronic message is intended to be for the use only of the named >> recipient, and may contain information that is confidential or privilege= d. >> If you are not the intended recipient, you are hereby notified that any >> disclosure, copying, distribution or use of the contents of this message= is >> strictly prohibited. If you have received this message in error or are n= ot >> the named recipient, please notify us immediately by contacting the send= er >> at the electronic mail address noted above, and delete and destroy all >> copies of this message. Thank you.**** >> ------------------------------ >> >> >> Confidential Information subject to NYP's (and its affiliates') >> information management and security policies ( >> http://infonet.nyp.org/QA/HospitalManual).**** >> >> >> This electronic message is intended to be for the use only of the named >> recipient, and may contain information that is confidential or privilege= d. >> If you are not the intended recipient, you are hereby notified that any >> disclosure, copying, distribution or use of the contents of this message= is >> strictly prohibited. If you have received this message in error or are n= ot >> the named recipient, please notify us immediately by contacting the send= er >> at the electronic mail address noted above, and delete and destroy all >> copies of this message. Thank you.**** >> ------------------------------ >> >> >> Confidential Information subject to NYP's (and its affiliates') >> information management and security policies ( >> http://infonet.nyp.org/QA/HospitalManual).**** >> >> >> This electronic message is intended to be for the use only of the named >> recipient, and may contain information that is confidential or privilege= d. >> If you are not the intended recipient, you are hereby notified that any >> disclosure, copying, distribution or use of the contents of this message= is >> strictly prohibited. If you have received this message in error or are n= ot >> the named recipient, please notify us immediately by contacting the send= er >> at the electronic mail address noted above, and delete and destroy all >> copies of this message. Thank you.**** >> ------------------------------ >> >> >> Confidential Information subject to NYP's (and its affiliates') >> information management and security policies ( >> http://infonet.nyp.org/QA/HospitalManual).**** >> >> >> This electronic message is intended to be for the use only of the named >> recipient, and may contain information that is confidential or privilege= d. >> If you are not the intended recipient, you are hereby notified that any >> disclosure, copying, distribution or use of the contents of this message= is >> strictly prohibited. If you have received this message in error or are n= ot >> the named recipient, please notify us immediately by contacting the send= er >> at the electronic mail address noted above, and delete and destroy all >> copies of this message. Thank you.**** >> >> ** ** >> >> This electronic message is intended to be for the use only of the named >> recipient, and may contain information that is confidential or privilege= d. >> If you are not the intended recipient, you are hereby notified that any >> disclosure, copying, distribution or use of the contents of this message= is >> strictly prohibited. If you have received this message in error or are n= ot >> the named recipient, please notify us immediately by contacting the send= er >> at the electronic mail address noted above, and delete and destroy all >> copies of this message. Thank you. >> > > --047d7bdc0f0ea3c6a704db0e8ba0 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Artem,

This doesn't solve your immediate issue but FYI: there= is a JIRA for the ability to disable Ambari from distributing the .repo fi= les during installation.

https://issues.apache.org/jira/browse/AMBARI-2006
You can watch that JIRA for progress.

Thanks.


On Tue, Apr 23, 2013 at 3:02 PM, Siddharth Wagle <swagle@hortonworks.com> wrote:
Please look at the section in repoinfo.xml t= hat corresponds to your OS version. It should have both the HDP-1.2.1 and t= he HDP-epel repo sections.

-Sid

On Tue, Apr 23, 2013 at 2:38 PM,= Artem Ervits <are9004@nyp.org> wrote:

Ok I fixed this issue but= the rest still remains. I have to manually delete /etc/yum.repos.d/HDP.rep= o every time I run the installer because Ambari deploys a new HDP.repo and HDP-epel.repo files. If there was a way to force it to = stop doing so. Like I said before, I already changed the stacks file.

=A0<= /p>

From: Siddhart= h Wagle [mailto:swagle@hortonworks.com]
Sent: Tuesday, April 23, 2013 4:40 PM


To: ambari-user@incubator.apache.org
Subject: Re: unable to register servers

=A0

Hi Artem,



Could you verify that "hostname -f" on your managed host returns = same hostname that you used for registering the host ?

-Sid

On Tue, Apr 23, 2013 at 1:34 PM, Artem Ervits <are9004@nyp.org> = wrote:

I also see this:

=A0

warning: Could not retrieve fact fqdn=

warning: Host is missing hostname and/or domain: test04

notice: Finished catalog run in 0.03 seconds=

warning: Could not retrieve fact fqdn=

warning: Host is missing hostname and/or domain: test04

notice: Finished catalog run in 0.03 seconds=

warning: Could not retrieve fact fqdn=

warning: Host is missing hostname and/or domain: test04

=A0

I checked in /etc/hosts I have both test04 and test04.doma= in

I also added /etc/hostname file for Red Hat 6.4, saw that = somewhere and test04.domain is also there. /etc/sysconfig/network has test04 without domain, can it be it?

=A0

Thanks.

=A0

=A0

From: Artem Er= vits [mailto:are9004@n= yp.org]
Sent: Tuesday, April 23, 2013 4:28 PM


To: ambari-user@incubator.apache.org
Subject: RE: unable to register servers

=A0

I=92m passed that erro= r, it was NTP however, I=92m cannot get past this following issue:

=A0

err: /Stage[1]/Hdp::Snappy::Package/Hdp::Package[snappy]/H= dp::Package::Process_pkg[snappy]/Package[snappy-devel]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 = -e 0 -y install snappy-devel' returned 1: Error: Cannot retrieve reposi= tory metadata (repomd.xml) for repository: HDP-1.2.1. Please verify its pat= h and try aga

=A0

I am installing Ambari= using local mirror. I ended up setting up a local repo of HDP-1.2.1 as wel= l, but I still seem to get the error.

=A0

From: Artem Er= vits [mailto:are90= 04@nyp.org]
Sent: Tuesday, April 23, 2013 11:55 AM
To: ambari-user@incubator.apache.org
Subject: RE: unable to register servers

=A0

I googled this error a= nd article pointed to NTP. I checked clocks on all servers and they=92re in= deed off. Will update the thread whether that was the culprit.

=A0

Thanks.<= u>

=A0

From: Artem Er= vits [mailto:are90= 04@nyp.org]
Sent: Monday, April 22, 2013 5:57 PM
To: ambari-user@incubator.apache.org
Subject: unable to register servers

=A0

Hello all,

=A0

I=92m getting the following message when trying to d= o an initial install of 1.2.2. Please advise how to work around this issue.=

=A0

('INFO 2013-04-22 11:32:52,545 security.py:49 - SSL Co= nnect being called.. connecting to the server

INFO 2013-04-22 11:32:52,696 Controller.py:103 - Unable to= connect to: https://servername1:8441/agent/v1/register/servername5=

Traceback (most recent call last):

=A0 File "/usr/lib/python2.6/site-packages/ambari_age= nt/Controller.py", line 88, in registerWithServer=

=A0=A0=A0 response =3D self.sendRequest(self.registerUrl, = data)

=A0 File "/usr/lib/python2.6/site-packages/ambari_age= nt/Controller.py", line 237, in sendRequest

=A0=A0=A0 self.cachedconnect =3D security.CachedHTTPSConne= ction(self.config)

=A0 File "/usr/lib/python2.6/site-packages/ambari_age= nt/security.py", line 77, in __init__

=A0=A0=A0 self.connect()

=A0 File "/usr/lib/python2.6/site-packages/ambari_age= nt/security.py", line 82, in connect

=A0=A0=A0 self.httpsconn.connect()

=A0 File "/usr/lib/python2.6/site-packages/ambari_age= nt/security.py", line 66, in connect

=A0=A0=A0 ca_certs=3Dserver_crt)

=A0 File "/usr/lib64/python2.6/ssl.py", line 338= , in wrap_socket

=A0=A0=A0 suppress_ragged_eofs=3Dsuppress_ragged_eofs)

=A0File "/usr/lib64/python2.6/ssl.py", line 120,= in __init__

=A0=A0=A0 self.do_handshake()

=A0 File "/usr/lib64/python2.6/ssl.py", line 279= , in do_handshake

=A0=A0=A0 self._sslobj.do_handshake()=

SSLError: [Errno 1] _ssl.c:490: error:14090086:SSL routine= s:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

', None)

=A0

=A0

Artem Ervits

A= rtem@nyp.org

New York Presbyterian Hospital

=A0


This electronic message is intended to be for the use only of the named rec= ipient, and may contain information that is confidential or privileged. If = you are not the intended recipient, you are hereby notified that any disclo= sure, copying, distribution or use of the contents of this message is strictly prohibited. If you have receiv= ed this message in error or are not the named recipient, please notify us i= mmediately by contacting the sender at the electronic mail address noted ab= ove, and delete and destroy all copies of this message. Thank you.



Confidential Information subject to NYP's (and its affiliates') inf= ormation management and security policies (http://infonet.nyp.org/QA/HospitalMa= nual).


This electronic message is intended to be for the use only of the named rec= ipient, and may contain information that is confidential or privileged. If = you are not the intended recipient, you are hereby notified that any disclo= sure, copying, distribution or use of the contents of this message is strictly prohibited. If you have receiv= ed this message in error or are not the named recipient, please notify us i= mmediately by contacting the sender at the electronic mail address noted ab= ove, and delete and destroy all copies of this message. Thank you.



Confidential Information subject to NYP's (and its affiliates') inf= ormation management and security policies (http://infonet.nyp.org/QA/HospitalMa= nual).


This electronic message is intended to be for the use only of the named rec= ipient, and may contain information that is confidential or privileged. If = you are not the intended recipient, you are hereby notified that any disclo= sure, copying, distribution or use of the contents of this message is strictly prohibited. If you have receiv= ed this message in error or are not the named recipient, please notify us i= mmediately by contacting the sender at the electronic mail address noted ab= ove, and delete and destroy all copies of this message. Thank you.



Confidential Information subject to NYP's (and its affiliates') inf= ormation management and security policies (http://infonet.nyp.org/QA/HospitalMa= nual).


This electronic message is intended to be for the use only of the named rec= ipient, and may contain information that is confidential or privileged. If = you are not the intended recipient, you are hereby notified that any disclo= sure, copying, distribution or use of the contents of this message is strictly prohibited. If you have receiv= ed this message in error or are not the named recipient, please notify us i= mmediately by contacting the sender at the electronic mail address noted ab= ove, and delete and destroy all copies of this message. Thank you.

=A0


This electronic message is intended to be for the use only of the named rec= ipient, and may contain information that is confidential or privileged. If= you are not the intended recipient, you are hereby notified that any discl= osure, copying, distribution or use of the contents of this message is stri= ctly prohibited. If you have received this message in error or are not the= named recipient, please notify us immediately by contacting the sender at = the electronic mail address noted above, and delete and destroy all copies = of this message. Thank you.


--047d7bdc0f0ea3c6a704db0e8ba0--