Whirr
  1. Whirr
  2. WHIRR-511

Instance.getPrivateHostName returns an IP address

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development