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

          David Arthur created issue -
          Andrei Savu made changes -
          Field Original Value New Value
          Assignee Andrei Savu [ savu.andrei ]
          Andrei Savu made changes -
          Fix Version/s 0.8.0 [ 12318880 ]
          Paolo Castagna made changes -
          Link This issue is related to WHIRR-459 [ WHIRR-459 ]
          Andrei Savu made changes -
          Attachment WHIRR-511.patch [ 12527610 ]
          Andrei Savu made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Andrei Savu made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Tom White made changes -
          Fix Version/s 0.8.0 [ 12321649 ]
          Fix Version/s 0.8.0-alpha.1 [ 12318880 ]
          Tom White made changes -
          Affects Version/s 0.8.0 [ 12321649 ]
          Affects Version/s 0.8.0-alpha.1 [ 12318880 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development