ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-6049) Ambari-agent start fails if there is no dns record of A type corresponding to host fqdn.
Date Fri, 06 Jun 2014 15:20:01 GMT
Andrew Onischuk created AMBARI-6049:
---------------------------------------

             Summary: 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:
<https://192.168.64.101:8441/agent/v1/register/abc.ambari.local>  
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)

Mime
View raw message