ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Review Request 34710: Ambari Agent is not reporting the public_host_name properly on ec2
Date Wed, 27 May 2015 14:54:16 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message