You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2015/05/27 16:54:16 UTC

Review Request 34710: Ambari Agent is not reporting the public_host_name properly on ec2

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


Re: Review Request 34710: Ambari Agent is not reporting the public_host_name properly on ec2

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34710/#review85370
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On May 27, 2015, 2:54 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34710/
> -----------------------------------------------------------
> 
> (Updated May 27, 2015, 2:54 p.m.)
> 
> 
> 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
> 
>