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:22:02 UTC
[jira] [Created] (WHIRR-611) Cloud providers may only return
"public" IPs
Adrian Cole created WHIRR-611:
---------------------------------
Summary: 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: Andrew Bayer
Fix For: 0.8.0
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.
--
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
[jira] [Reopened] (WHIRR-611) Cloud providers may only return
"public" IPs
Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Cole reopened WHIRR-611:
-------------------------------
oddly, this change isn't in the svn log
> 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
>
> Attachments: WHIRR-611.patch
>
> 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
[jira] [Updated] (WHIRR-611) Cloud providers may only return
"public" IPs
Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Cole updated WHIRR-611:
------------------------------
Attachment: WHIRR-611.patch
fix
> 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
>
> Attachments: WHIRR-611.patch
>
> 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
[jira] [Resolved] (WHIRR-611) Cloud providers may only return
"public" IPs
Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Cole resolved WHIRR-611.
-------------------------------
Resolution: Fixed
Committed revision 1369235.
> 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
>
> Attachments: WHIRR-611.patch
>
> 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
[jira] [Commented] (WHIRR-611) Cloud providers may only return
"public" IPs
Posted by "Andrew Bayer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428401#comment-13428401 ]
Andrew Bayer commented on WHIRR-611:
------------------------------------
+1
> 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
>
> Attachments: WHIRR-611.patch
>
> 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
[jira] [Resolved] (WHIRR-611) Cloud providers may only return
"public" IPs
Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Cole resolved WHIRR-611.
-------------------------------
Resolution: Fixed
Committed revision 1371425.
> 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
>
> Attachments: WHIRR-611.patch
>
> 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
[jira] [Updated] (WHIRR-611) Cloud providers may only return
"public" IPs
Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
[ 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