ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Toader (JIRA)" <>
Subject [jira] [Updated] (AMBARI-20787) Ambari agent should log how it determines it's FQDN
Date Thu, 20 Apr 2017 08:11:04 GMT


Sebastian Toader updated AMBARI-20787:
    Status: Patch Available  (was: In Progress)

> Ambari agent should log how it determines it's FQDN
> ---------------------------------------------------
>                 Key: AMBARI-20787
>                 URL:
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-agent
>    Affects Versions: 2.4.0
>            Reporter: Sebastian Toader
>            Assignee: Sebastian Toader
>             Fix For: 3.0.0
>         Attachments: AMBARI-20787.v1.patch
> Ambari agent determines its FQDN that will use for registering with Ambari Server as
> # invokes the script specified by {{hostname_script}} in ambari-agent.ini and uses the
output of this script as host name to register with.
> # if the script mentioned above returned with a non-zero error code (or threw an exception)
than falls back to  [socket.getfqdn|]
python api call.
> # if {{hostname_script}} is not set in  ambari-agent.ini than it uses [socket.getfqdn|]
python api call.
> Currently the agent doesn't log anything about how it obtained its FQDN which makes troubleshooting
difficult in case it registers with Ambari Server using unexpected/wrong FQDN.

This message was sent by Atlassian JIRA

View raw message