You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Kavan K Patil (JIRA)" <ji...@apache.org> on 2013/06/18 12:15:20 UTC

[jira] [Commented] (JCLOUDS-111) hpcloud-compute - Error while setting strRegion - region-b.geo-1 (a new region)

    [ https://issues.apache.org/jira/browse/JCLOUDS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686546#comment-13686546 ] 

Kavan K Patil commented on JCLOUDS-111:
---------------------------------------

The "region-b-geo-1" provides a 2.0 version of OpenStack Compute service. So setting the apiVersion=2 on ContextBuilder should allow the use of region-b-geo-1. This is required as apiVersion always defaults to 1.1.
                
> hpcloud-compute - Error while setting strRegion - region-b.geo-1 (a new region)
> -------------------------------------------------------------------------------
>
>                 Key: JCLOUDS-111
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-111
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute
>    Affects Versions: 1.5.10
>         Environment: hpcloud-compute
>            Reporter: Ravikumar Venkatesan
>
> I have set strRegion - region-b.geo-1 (a new region) for hpcloud-compute provider, and while running get the following errror.
> Exception in thread "main" java.lang.IllegalArgumentException: requested location region-b.geo-1, which is not in the configured locations: {az-1.region-a.geo-1=Suppliers.ofInstance(https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/), az-2.region-a.geo-1=Suppliers.ofInstance(https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/), az-3.region-a.geo-1=Suppliers.ofInstance(https://az-3.region-a.geo-1.compute.hpcloudsvc.com/v1.1/)}
>       at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119)
>       at org.jclouds.location.functions.ZoneToEndpoint.apply(ZoneToEndpoint.java:56)
>       at org.jclouds.location.functions.ZoneToEndpoint.apply(ZoneToEndpoint.java:41)
>       at org.jclouds.rest.internal.RestAnnotationProcessor.getEndpointInParametersOrNull(RestAnnotationProcessor.java:705)
>       at org.jclouds.rest.internal.RestAnnotationProcessor.getEndpointFor(RestAnnotationProcessor.java:741)
>       at org.jclouds.rest.internal.RestAnnotationProcessor.findEndpoint(RestAnnotationProcessor.java:565)
>       at org.jclouds.rest.internal.RestAnnotationProcessor.createRequest(RestAnnotationProcessor.java:386)
>       at org.jclouds.rest.internal.AsyncRestClientProxy.createListenableFutureForHttpRequestMappedToMethodAndArgs(AsyncRestClientProxy.java:243)
>       at org.jclouds.rest.internal.AsyncRestClientProxy.invoke(AsyncRestClientProxy.java:148)
>       at $Proxy79.listInDetail(Unknown Source)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at org.jclouds.concurrent.internal.SyncProxy.invoke(SyncProxy.java:170)
>       at $Proxy80.listInDetail(Unknown Source)
>       at hpcsCompute.main(hpcsCompute.java:56)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira