You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2014/06/06 17:32:02 UTC

[jira] [Resolved] (AMBARI-6049) Ambari-agent start fails if there is no dns record of A type corresponding to host fqdn.

     [ 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:
> <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)