[
https://issues.apache.org/jira/browse/JCLOUDS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056516#comment-14056516
]
Chris Custine commented on JCLOUDS-111:
---------------------------------------
This should all be fixed in 1.7.4 and 1.8.0 as apiVersion 2 is default now.
You can try any recent SNAPSHOT builds of either and you should be able to use
defaults. The relevant Jira is
https://issues.apache.org/jira/browse/JCLOUDS-583.
> 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
> Assignee: Chris Custine
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)