Ravikumar Venkatesan created JCLOUDS-111:
--------------------------------------------
Summary: 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