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

Cloud providers may only return "public" IPs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.1, 0.8.0
    • 0.8.0
    • core
    • None

    Description

      For example, Bluelock vCloud only has one IP per instance, which is returned as the public address. In these sorts of situations, where only a "public" address exists in the NodeMetadata, we should fall back to that public address rather than giving up because there's no private address.

      2012-08-01 20:15:08,029 ERROR [org.apache.whirr.ClusterController] (main) Unable to start the cluster. Terminating all nodes.
      java.lang.IndexOutOfBoundsException: index (0) must be less than size (0)
      at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:305)
      at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:284)
      at com.google.common.collect.Iterables.get(Iterables.java:734)
      at org.apache.whirr.actions.BootstrapClusterAction$1.apply(BootstrapClusterAction.java:142)

      Attachments

        1. WHIRR-611.patch
          0.8 kB
          Adrian Cole

        Issue Links

          Activity

            People

              adrian@jclouds.org Adrian Cole (Inactive)
              abayer Andrew Bayer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified