stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Udara Liyanage <ud...@wso2.com>
Subject Re: Error in deploying a VCloud cartridge
Date Wed, 30 Oct 2013 11:14:31 GMT
Hi Nirmal,

Where can I find you patches to the jclouds?


On Tue, Oct 29, 2013 at 6:46 PM, Nirmal Fernando <nirmal070125@gmail.com>wrote:

> Udara,
>
> As you know we've never tested vCloud IaaS support in Apache Stratos (with
> latest jclouds, without my vCloud patches I suppose). So, please fix the
> issues you find while doing the testing and also merge my changes if they
> are not exist in latest jclouds.
>
> Thanks!
>
>
> On Tue, Oct 29, 2013 at 6:19 PM, Udara Liyanage <udara@wso2.com> wrote:
>
>> Hi,
>>
>> I configured Vcloud as a IAAS provider. When a cartridge is going to
>> deploy, I get the fallowing error from CC.
>>
>> FATAL {org.apache.stratos.cloud.controller.deployers.CartridgeDeployer} -
>>  /versions
>> org.jclouds.rest.ResourceNotFoundException: /versions
>> at
>> org.jclouds.vcloud.handlers.ParseVCloudErrorFromHttpResponse.handleError(ParseVCloudErrorFromHttpResponse.java:112)
>>  at
>> org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:67)
>> at
>> org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:180)
>>  at
>> org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:150)
>> at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.invoke(InvokeSyncToAsyncHttpMethod.java:131)
>>  at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:97)
>> at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:58)
>>  at
>> org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:157)
>> at
>> org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:124)
>>  at com.sun.proxy.$Proxy74.getSupportedVersions(Unknown Source)
>> at
>> org.jclouds.vcloud.config.VCloudRestClientModule$30.get(VCloudRestClientModule.java:398)
>>  at
>> org.jclouds.vcloud.config.VCloudRestClientModule$30.get(VCloudRestClientModule.java:394)
>> at
>> org.jclouds.rest.internal.RestAnnotationProcessor.getEndpointFor(RestAnnotationProcessor.java:524)
>>  at
>> org.jclouds.rest.internal.RestAnnotationProcessor.findEndpoint(RestAnnotationProcessor.java:365)
>> at
>> org.jclouds.rest.internal.RestAnnotationProcessor.apply(RestAnnotationProcessor.java:197)
>>  at
>> org.jclouds.rest.internal.RestAnnotationProcessor.apply(RestAnnotationProcessor.java:132)
>> at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.toCommand(InvokeSyncToAsyncHttpMethod.java:240)
>>  at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.invoke(InvokeSyncToAsyncHttpMethod.java:125)
>> at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:97)
>>  at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:58)
>> at
>> org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:157)
>>  at
>> org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:124)
>> at com.sun.proxy.$Proxy71.login(Unknown Source)
>>  at
>> org.jclouds.vcloud.config.VCloudRestClientModule$1.get(VCloudRestClientModule.java:158)
>> at
>> org.jclouds.vcloud.config.VCloudRestClientModule$1.get(VCloudRestClientModule.java:154)
>>  at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75)
>>  at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:59)
>>  at
>> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3599)
>> at
>> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2379)
>>  at
>> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2342)
>> at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2257)
>>  at com.google.common.cache.LocalCache.get(LocalCache.java:4000)
>> at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4004)
>>  at
>> com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4874)
>> at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:121)
>>  at
>> org.jclouds.vcloud.config.VCloudRestClientModule$OrgMapSupplier.get(VCloudRestClientModule.java:282)
>> at
>> org.jclouds.vcloud.config.VCloudRestClientModule$OrgMapSupplier.get(VCloudRestClientModule.java:268)
>>  at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75)
>>  at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:59)
>>  at
>> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3599)
>> at
>> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2379)
>>  at
>> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2342)
>> at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2257)
>>  at com.google.common.cache.LocalCache.get(LocalCache.java:4000)
>> at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4004)
>>  at
>> com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4874)
>> at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:121)
>>  at
>> org.jclouds.vcloud.suppliers.VAppTemplatesSupplier.get(VAppTemplatesSupplier.java:69)
>> at
>> org.jclouds.vcloud.suppliers.VAppTemplatesSupplier.get(VAppTemplatesSupplier.java:47)
>>  at
>> org.jclouds.vcloud.compute.strategy.VCloudComputeServiceAdapter.supportedTemplates(VCloudComputeServiceAdapter.java:103)
>> at
>> org.jclouds.vcloud.compute.strategy.VCloudComputeServiceAdapter.listImages(VCloudComputeServiceAdapter.java:129)
>>  at
>> org.jclouds.compute.config.ComputeServiceAdapterContextModule$2.get(ComputeServiceAdapterContextModule.java:125)
>> at
>> org.jclouds.compute.config.ComputeServiceAdapterContextModule$2.get(ComputeServiceAdapterContextModule.java:122)
>>  at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75)
>>  at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:59)
>>  at
>> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3599)
>> at
>> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2379)
>>  at
>> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2342)
>> at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2257)
>>  at com.google.common.cache.LocalCache.get(LocalCache.java:4000)
>> at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4004)
>>  at
>> com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4874)
>> at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:121)
>>  at
>> org.jclouds.compute.domain.internal.TemplateBuilderImpl.getImages(TemplateBuilderImpl.java:836)
>> at
>> org.jclouds.compute.domain.internal.TemplateBuilderImpl.build(TemplateBuilderImpl.java:652)
>>  at
>> org.apache.stratos.cloud.controller.iaases.VCloudIaas.buildTemplate(VCloudIaas.java:71)
>> at
>> org.apache.stratos.cloud.controller.iaases.VCloudIaas.buildComputeServiceAndTemplate(VCloudIaas.java:52)
>>  at
>> org.apache.stratos.cloud.controller.deployers.CartridgeDeployer$JcloudsObjectBuilder.run(CartridgeDeployer.java:176)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>>  at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>> at java.lang.Thread.run(Thread.java:662)
>> [2013-10-29 12:37:19,527] ERROR
>> {org.apache.zookeeper.server.NIOServerCnxn} -  Thread
>> Thread[pool-21-thread-1,5,main] died
>> org.apache.stratos.cloud.controller.exception.CloudControllerException:
>> /versions
>>  at
>> org.apache.stratos.cloud.controller.deployers.CartridgeDeployer.handleException(CartridgeDeployer.java:153)
>> at
>> org.apache.stratos.cloud.controller.deployers.CartridgeDeployer.access$000(CartridgeDeployer.java:45)
>>  at
>> org.apache.stratos.cloud.controller.deployers.CartridgeDeployer$JcloudsObjectBuilder.run(CartridgeDeployer.java:181)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>>  at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>> at java.lang.Thread.run(Thread.java:662)
>> Caused by: org.jclouds.rest.ResourceNotFoundException: /versions
>> at
>> org.jclouds.vcloud.handlers.ParseVCloudErrorFromHttpResponse.handleError(ParseVCloudErrorFromHttpResponse.java:112)
>>  at
>> org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:67)
>> at
>> org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:180)
>>  at
>> org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:150)
>> at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.invoke(InvokeSyncToAsyncHttpMethod.java:131)
>>  at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:97)
>> at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:58)
>>  at
>> org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:157)
>> at
>> org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:124)
>>  at com.sun.proxy.$Proxy74.getSupportedVersions(Unknown Source)
>> at
>> org.jclouds.vcloud.config.VCloudRestClientModule$30.get(VCloudRestClientModule.java:398)
>>  at
>> org.jclouds.vcloud.config.VCloudRestClientModule$30.get(VCloudRestClientModule.java:394)
>> at
>> org.jclouds.rest.internal.RestAnnotationProcessor.getEndpointFor(RestAnnotationProcessor.java:524)
>>  at
>> org.jclouds.rest.internal.RestAnnotationProcessor.findEndpoint(RestAnnotationProcessor.java:365)
>> at
>> org.jclouds.rest.internal.RestAnnotationProcessor.apply(RestAnnotationProcessor.java:197)
>>  at
>> org.jclouds.rest.internal.RestAnnotationProcessor.apply(RestAnnotationProcessor.java:132)
>> at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.toCommand(InvokeSyncToAsyncHttpMethod.java:240)
>>  at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.invoke(InvokeSyncToAsyncHttpMethod.java:125)
>> at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:97)
>>  at
>> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:58)
>> at
>> org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:157)
>>  at
>> org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:124)
>> at com.sun.proxy.$Proxy71.login(Unknown Source)
>>  at
>> org.jclouds.vcloud.config.VCloudRestClientModule$1.get(VCloudRestClientModule.java:158)
>> at
>> org.jclouds.vcloud.config.VCloudRestClientModule$1.get(VCloudRestClientModule.java:154)
>>  at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75)
>>  at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:59)
>>  at
>> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3599)
>> at
>> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2379)
>>  at
>> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2342)
>> at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2257)
>>  at com.google.common.cache.LocalCache.get(LocalCache.java:4000)
>> at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4004)
>>  at
>> com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4874)
>> at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:121)
>>  at
>> org.jclouds.vcloud.config.VCloudRestClientModule$OrgMapSupplier.get(VCloudRestClientModule.java:282)
>> at
>> org.jclouds.vcloud.config.VCloudRestClientModule$OrgMapSupplier.get(VCloudRestClientModule.java:268)
>>  at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75)
>>  at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:59)
>>  at
>> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3599)
>> at
>> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2379)
>>  at
>> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2342)
>> at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2257)
>>  at com.google.common.cache.LocalCache.get(LocalCache.java:4000)
>> at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4004)
>>  at
>> com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4874)
>> at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:121)
>>  at
>> org.jclouds.vcloud.suppliers.VAppTemplatesSupplier.get(VAppTemplatesSupplier.java:69)
>> at
>> org.jclouds.vcloud.suppliers.VAppTemplatesSupplier.get(VAppTemplatesSupplier.java:47)
>>  at
>> org.jclouds.vcloud.compute.strategy.VCloudComputeServiceAdapter.supportedTemplates(VCloudComputeServiceAdapter.java:103)
>> at
>> org.jclouds.vcloud.compute.strategy.VCloudComputeServiceAdapter.listImages(VCloudComputeServiceAdapter.java:129)
>>  at
>> org.jclouds.compute.config.ComputeServiceAdapterContextModule$2.get(ComputeServiceAdapterContextModule.java:125)
>> at
>> org.jclouds.compute.config.ComputeServiceAdapterContextModule$2.get(ComputeServiceAdapterContextModule.java:122)
>>  at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75)
>>  at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:59)
>>  at
>> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3599)
>> at
>> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2379)
>>  at
>> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2342)
>> at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2257)
>>  at com.google.common.cache.LocalCache.get(LocalCache.java:4000)
>> at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4004)
>>  at
>> com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4874)
>> at
>> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:121)
>>  at
>> org.jclouds.compute.domain.internal.TemplateBuilderImpl.getImages(TemplateBuilderImpl.java:836)
>> at
>> org.jclouds.compute.domain.internal.TemplateBuilderImpl.build(TemplateBuilderImpl.java:652)
>>  at
>> org.apache.stratos.cloud.controller.iaases.VCloudIaas.buildTemplate(VCloudIaas.java:71)
>> at
>> org.apache.stratos.cloud.controller.iaases.VCloudIaas.buildComputeServiceAndTemplate(VCloudIaas.java:52)
>>  at
>> org.apache.stratos.cloud.controller.deployers.CartridgeDeployer$JcloudsObjectBuilder.run(CartridgeDeployer.java:176)
>>
>>
>> --
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Mime
View raw message