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

Instance.getPrivateHostName returns an IP address

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • core
    • 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

        1. WHIRR-511.patch
          5 kB
          Andrei Savu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: