Melan Nimesh created STRATOS-589:
------------------------------------
Summary: [vCloud] Getting error when unsubscribing, but instance
terminated successfully
Key: STRATOS-589
URL: https://issues.apache.org/jira/browse/STRATOS-589
Project: Stratos
Issue Type: Bug
Components: Cloud Controller, jclouds
Affects Versions: 4.0.0 RC1
Environment: vCloud
Reporter: Melan Nimesh
Fix For: 4.0.0
Getting error when unsubscribing, but instance terminated successfully
TID: [0] [STRATOS] [2014-04-08 11:42:12,246] INFO
{org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -
Starting to terminate an instance with member id :
php123.php.domain5b742089-0a3e-41b2-9cae-be19b314a57d in partition id:
Partition1 of cluster id: php123.php.domain and of cartridge type: php
{org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [STRATOS] [2014-04-08 11:42:16,520] ERROR
{org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -
Instance termination failed. MemberContext
[memberId=php123.php.domain5b742089-0a3e-41b2-9cae-be19b314a57d,
nodeId=https://mycloud.stratogen.sg/api/vApp/vapp-afa6f55c-7956-4112-90f2-519952ad9116,
clusterId=php123.php.domain, cartridgeType=php, privateIpAddress=null,
publicIpAddress=212.54.141.74, allocatedIpAddress=null, initTime=1396949652399,
lbClusterId=lblb1810953059.lb.domain, networkPartitionId=vcloud]
{org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
java.lang.IllegalArgumentException: The requested operation could not be
executed on vApp "php123php-637". Stop the vApp and try again.
at
org.jclouds.vcloud.handlers.ParseVCloudErrorFromHttpResponse.handleError(ParseVCloudErrorFromHttpResponse.java:92)
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.InvokeHttpMethod.invoke(InvokeHttpMethod.java:93)
at
org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:76)
at
org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:47)
at
org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117)
at
com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:79)
at com.sun.proxy.$Proxy108.deleteVApp(Unknown Source)
at
org.jclouds.vcloud.compute.strategy.VCloudComputeServiceAdapter.destroyNode(VCloudComputeServiceAdapter.java:213)
at
org.jclouds.compute.strategy.impl.AdaptingComputeServiceStrategies.destroyNode(AdaptingComputeServiceStrategies.java:180)
at
org.jclouds.compute.internal.BaseComputeService$2.apply(BaseComputeService.java:296)
at
org.jclouds.compute.internal.BaseComputeService$2.apply(BaseComputeService.java:293)
at
org.jclouds.util.Predicates2$RetryablePredicate.apply(Predicates2.java:111)
at
org.jclouds.compute.internal.BaseComputeService.doDestroyNode(BaseComputeService.java:307)
at
org.jclouds.compute.internal.BaseComputeService.destroyNode(BaseComputeService.java:248)
at
org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.terminate(CloudControllerServiceImpl.java:762)
at
org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.access$200(CloudControllerServiceImpl.java:63)
at
org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl$InstanceTerminator.run(CloudControllerServiceImpl.java:545)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.jclouds.vcloud.VCloudResponseException: request DELETE
https://mycloud.stratogen.sg/api/vApp/vapp-afa6f55c-7956-4112-90f2-519952ad9116
HTTP/1.1 failed with code 400, error: [majorErrorCode=400, message=The
requested operation could not be executed on vApp "php123php-637". Stop the
vApp and try again., minorErrorCode=BAD_REQUEST, stackTrace=null,
vendorSpecificErrorCode=null]
at
org.jclouds.vcloud.handlers.ParseVCloudErrorFromHttpResponse.handleError(ParseVCloudErrorFromHttpResponse.java:72)
... 22 more
--
This message was sent by Atlassian JIRA
(v6.2#6252)