Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-511

Instance.getPrivateHostName returns an IP address

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: core
    • Labels:
    • Environment:

      AWS m1.large

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                savu.andrei Andrei Savu
                Reporter:
                mumrah David Arthur
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: