ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Håkon Trømborg (JIRA) <>
Subject [jira] [Commented] (AMBARI-21702) ambari-agent registration fails due to invalid public hostname
Date Thu, 31 Aug 2017 08:56:00 GMT


Håkon Trømborg commented on AMBARI-21702:

Experiencing the same problem. Validating format of FQDN-s should probably be placed somewhere
else than in Assigning to author.

> ambari-agent registration fails due to invalid public hostname
> --------------------------------------------------------------
>                 Key: AMBARI-21702
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.6.0
>         Environment: Networks with an active web proxy
>            Reporter: Michael Davie
>            Priority: Critical
> * The script {{}} (
attempts to retrieve a host's public hostname from AWS from the location
> * In a non-AWS network with a network proxy present, this request can return an HTML
login or redirect page, rather than the expected hostname value.
> * The script does not validate the length or format of the returned value, and submits
the returned HTML code to ambari-server as the public hostname.
> * Registration of the host fails, as the submitted HTML code exceeds the size of the
hostname field in the server's database (255 characters).
> * A partial manual workaround has been published at

This message was sent by Atlassian JIRA

View raw message