[ 
https://issues.apache.org/jira/browse/WHIRR-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206186#comment-13206186
 ] 

Andrei Savu commented on WHIRR-511:
-----------------------------------

Very good point! I think we should delegate as much as possible those calls to 
nodemetada. Right now this is happening because we attempt to do reverse DNS 
resolution - and as expected it fails - and it returns the raw IP address. I 
will make the needed changes. 
                
> Instance.getPrivateHostName returns an IP address
> -------------------------------------------------
>
>                 Key: WHIRR-511
>                 URL: https://issues.apache.org/jira/browse/WHIRR-511
>             Project: Whirr
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8.0
>         Environment: AWS m1.large
>            Reporter: David Arthur
>            Priority: Minor
>              Labels: aws, hostname
>             Fix For: 0.8.0
>
>
> getPrivateHostName returns the same thing as getPrivateIp. I would expect to 
> get something like "ip-42-142-142-142.ec2.internal" as is reported by the AWS 
> console. 
> Instance.getNodeMetadata().getHostname() returns the actual `hostname` as 
> reported by the OS of the instance (which worked for me). 
> Not sure if this is expected behavior, or if it's a JCloud issue, or what. 
> Feel free to mark invalid

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to