-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34710/
-----------------------------------------------------------
Review request for Ambari, Dmitro Lisnichenko and Myroslav Papirkovskyy.
Bugs: AMBARI-11428
https://issues.apache.org/jira/browse/AMBARI-11428
Repository: ambari
Description
-------
On EC2, the agent is supposed to report the public_host_name based on querying
curl http://169.254.169.254/latest/meta-data/public-hostname.
However, it looks like this is not happening.
/api/v1/hosts?fields=Hosts/public_host_name shows the internal FQDN for EC2
instances.
This code has been removed in commit for AMBARI-10879 , reverting corresponding
changes at hostname.py
Diffs
-----
ambari-agent/src/main/python/ambari_agent/hostname.py 3c2fe72
Diff: https://reviews.apache.org/r/34710/diff/
Testing
-------
Unit tests passed
Thanks,
Dmytro Sen