Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0AEE11D27 for ; Fri, 6 Jun 2014 15:32:03 +0000 (UTC) Received: (qmail 23616 invoked by uid 500); 6 Jun 2014 15:32:02 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 23542 invoked by uid 500); 6 Jun 2014 15:32:02 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 23433 invoked by uid 99); 6 Jun 2014 15:32:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2014 15:32:02 +0000 Date: Fri, 6 Jun 2014 15:32:02 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-6049) Ambari-agent start fails if there is no dns record of A type corresponding to host fqdn. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-6049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Onischuk resolved AMBARI-6049. ------------------------------------- Resolution: Fixed Committed to trunk > Ambari-agent start fails if there is no dns record of A type corresponding to host fqdn. > ---------------------------------------------------------------------------------------- > > Key: AMBARI-6049 > URL: https://issues.apache.org/jira/browse/AMBARI-6049 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 1.6.1 > > > Have dns record 103 IN PTR abc.ambari.local. > without corresponding A record (abc IN A 192.168.64.103) > when starting ambari-agent on host 64.103 : > INFO 2014-05-28 13:06:42,523 Controller.py:125 - Unable to connect to: > > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 89, > in registerWithServer > data = json.dumps(self.register.build(id)) > File "/usr/lib/python2.6/site-packages/ambari_agent/Register.py", line 43, in > build > hostInfo.register(agentEnv, False, False) > File "/usr/lib/python2.6/site-packages/ambari_agent/HostInfo.py", line 331, in > register > dict= self.checkReverseLookup() > File "/usr/lib/python2.6/site-packages/ambari_agent/HostInfo.py", line 387, in > checkReverseLookup > fqdn_ip = socket.gethostbyname(host_fqdn) -- This message was sent by Atlassian JIRA (v6.2#6252)