stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udara Liyanage (JIRA)" <j...@apache.org>
Subject [jira] [Created] (STRATOS-471) Error in terminating if the attached volumes are in available state
Date Fri, 21 Feb 2014 13:09:19 GMT
Udara Liyanage created STRATOS-471:
--------------------------------------

             Summary: Error in terminating if the attached volumes are in  available state
                 Key: STRATOS-471
                 URL: https://issues.apache.org/jira/browse/STRATOS-471
             Project: Stratos
          Issue Type: Bug
          Components: Cloud Controller
            Reporter: Udara Liyanage


CC tries to deatch volumes which are already in AVAILABLE state.

TID: [0] [CC] [2014-02-21 13:02:57,017]  INFO {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
-  Starting to terminate an instance with member id : chana.php.domainf77b0f63-5246-45a9-a61d-fa73bca6701d
in partition id: P1 of cluster id: chana.php.domain and of cartridge type: php {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
TID: [0] [CC] [2014-02-21 13:02:58,873] ERROR {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
-  Instance termination failed. MemberContext [memberId=chana.php.domainf77b0f63-5246-45a9-a61d-fa73bca6701d,
nodeId=ap-southeast-1/i-58d0ad70, clusterId=chana.php.domain, cartridgeType=php, privateIpAddress=10.136.15.62,
publicIpAddress=54.254.1.104, allocatedIpAddress=null, initTime=1392987094257, lbClusterId=null,
networkPartitionId=ec2] {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
java.lang.IllegalStateException: Volume 'vol-7fc5b877'is in the 'available' state.
	at org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.refineException(ParseAWSErrorFromXmlContent.java:115)
	at org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:91)
	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 sun.proxy.$Proxy82.detachVolumeInRegion(Unknown Source)
	at org.apache.stratos.cloud.controller.iaases.AWSEC2Iaas.detachVolume(AWSEC2Iaas.java:500)
	at org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.detachVolume(CloudControllerServiceImpl.java:864)
	at org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.terminate(CloudControllerServiceImpl.java:835)
	at org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.access$200(CloudControllerServiceImpl.java:56)
	at org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl$InstanceTerminator.run(CloudControllerServiceImpl.java:508)
	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.aws.AWSResponseException: request POST https://ec2.ap-southeast-1.amazonaws.com/
HTTP/1.1 failed with code 400, error: AWSError{requestId='9a343324-06d8-4cce-92a6-cc6866bfa309',
requestToken='null', code='IncorrectState', message='Volume 'vol-7fc5b877'is in the 'available'
state.', context='{Response=, Errors=}'}
	at org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:77)
	... 17 more




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message