You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Adrian Cole (JIRA)" <ji...@apache.org> on 2012/08/02 05:24:03 UTC

[jira] [Updated] (WHIRR-611) Cloud providers may only return "public" IPs

     [ https://issues.apache.org/jira/browse/WHIRR-611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Cole updated WHIRR-611:
------------------------------

           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)

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

              Assignee: Adrian Cole  (was: Andrew Bayer)
    Remaining Estimate: 1h
     Original Estimate: 1h
    
> Cloud providers may only return "public" IPs
> --------------------------------------------
>
>                 Key: WHIRR-611
>                 URL: https://issues.apache.org/jira/browse/WHIRR-611
>             Project: Whirr
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.7.1, 0.8.0
>            Reporter: Andrew Bayer
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira