Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AWS TerminateInstances 500 Internal Server Error
2014-04-02 14:26:18,329 DEBUG o.j.h.i.JavaUrlHttpCommandExecutorService [brooklyn-execmanager-C7S2PVnJ-4771]: Sending request -467970851: POST https://ec2.us-east-1.amazonaws.com/ HTTP/1.1
2014-04-02 14:26:18,329 DEBUG jclouds.wire [brooklyn-execmanager-C7S2PVnJ-4771]: >> "Action=TerminateInstances&InstanceId.1=i-ace13c8c&Signature=sigsnip&SignatureMethod=HmacSHA256&SignatureVersion
=2&Timestamp=2014-04-02T13%3A26%3A18.329Z&Version=2012-06-01&AWSAccessKeyId=keysnip"
2014-04-02 14:26:18,330 DEBUG jclouds.headers [brooklyn-execmanager-C7S2PVnJ-4771]: >> POST https://ec2.us-east-1.amazonaws.com/ HTTP/1.1
2014-04-02 14:26:18,330 DEBUG jclouds.headers [brooklyn-execmanager-C7S2PVnJ-4771]: >> Host: ec2.us-east-1.amazonaws.com
2014-04-02 14:26:18,330 DEBUG jclouds.headers [brooklyn-execmanager-C7S2PVnJ-4771]: >> Content-Type: application/x-www-form-urlencoded
2014-04-02 14:26:18,330 DEBUG jclouds.headers [brooklyn-execmanager-C7S2PVnJ-4771]: >> Content-Length: 246
2014-04-02 14:26:19,097 DEBUG o.j.h.i.JavaUrlHttpCommandExecutorService [brooklyn-execmanager-C7S2PVnJ-4772]: Receiving response -1348949823: HTTP/1.1 500 Internal Server Error
2014-04-02 14:26:19,097 DEBUG jclouds.headers [brooklyn-execmanager-C7S2PVnJ-4772]: << HTTP/1.1 500 Internal Server Error
2014-04-02 14:26:19,097 DEBUG jclouds.headers [brooklyn-execmanager-C7S2PVnJ-4772]: << Transfer-Encoding: chunked
2014-04-02 14:26:19,097 DEBUG jclouds.headers [brooklyn-execmanager-C7S2PVnJ-4772]: << Date: Wed, 02 Apr 2014 13:26:18 GMT
2014-04-02 14:26:19,097 DEBUG jclouds.headers [brooklyn-execmanager-C7S2PVnJ-4772]: << Cneonction: close
2014-04-02 14:26:19,097 DEBUG jclouds.headers [brooklyn-execmanager-C7S2PVnJ-4772]: << Server: AmazonEC2
2014-04-02 14:26:19,097 DEBUG jclouds.headers [brooklyn-execmanager-C7S2PVnJ-4772]: << Content-Type: application/unknown
2014-04-02 14:26:19,097 DEBUG jclouds.wire [brooklyn-execmanager-C7S2PVnJ-4772]: << "<?xml version="1.0" encoding="UTF-8"?>[\n]"
2014-04-02 14:26:19,097 DEBUG jclouds.wire [brooklyn-execmanager-C7S2PVnJ-4772]: << "<Response><Errors><Error><Code>InternalError</Code><Message>An internal error has occurred</Message></Error></Errors><RequestID>5ab6d7f4-8a8b-44c6-b9dd-0416073b033d</RequestID></Response>"
2014-04-02 14:26:19,099 ERROR b.l.jclouds.JcloudsLocation [brooklyn-execmanager-C7S2PVnJ-4772]: Problem releasing machine SshMachineLocation[ec2-54-82-176-197.compute-1.amazonaws.com:ec2-54-82-176-197.compute-1.amazonaws.com/54.82.176.197] in JcloudsLocation[Vanilla AWS us-east-1:keysnip], instance id us-east-1/i-86f32ea6; discarding instance and continuing...
org.jclouds.aws.AWSResponseException: request POST https://ec2.us-east-1.amazonaws.com/ HTTP/1.1 failed with code 500, error: AWSError{requestId='5ab6d7f4-8a8b-44c6-b9dd-0416073b033d', requestToken='null', code='InternalError', message='An internal error has occurred', context='{Response=, Errors=}'}
at org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:77) ~[sts-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:69) ~[jclouds-core-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:180) ~[jclouds-core-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:150) ~[jclouds-core-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:93) ~[jclouds-core-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:76) ~[jclouds-core-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:47) ~[jclouds-core-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117) ~[jclouds-core-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:79) ~[guava-15.0.jar:na]
at com.sun.proxy.$Proxy137.terminateInstancesInRegion(Unknown Source) ~[na:na]
at org.jclouds.ec2.compute.strategy.EC2DestroyNodeStrategy.destroyInstanceInRegion(EC2DestroyNodeStrategy.java:103) ~[ec2-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.aws.ec2.compute.strategy.AWSEC2DestroyNodeStrategy.destroyInstanceInRegion(AWSEC2DestroyNodeStrategy.java:68) ~[aws-ec2-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.ec2.compute.strategy.EC2DestroyNodeStrategy.destroyNode(EC2DestroyNodeStrategy.java:76) ~[ec2-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.compute.internal.BaseComputeService$2.apply(BaseComputeService.java:296) ~[jclouds-compute-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.compute.internal.BaseComputeService$2.apply(BaseComputeService.java:293) ~[jclouds-compute-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.util.Predicates2$RetryablePredicate.apply(Predicates2.java:111) ~[jclouds-core-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.compute.internal.BaseComputeService.doDestroyNode(BaseComputeService.java:307) ~[jclouds-compute-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at org.jclouds.compute.internal.BaseComputeService.destroyNode(BaseComputeService.java:248) ~[jclouds-compute-1.7.2-ea-brooklyn.5.jar:1.7.2-ea-brooklyn.5]
at brooklyn.location.jclouds.JcloudsLocation.releaseNode(JcloudsLocation.java:1622) [brooklyn-locations-jclouds-0.7.0-SNAPSHOT.jar:na]
at brooklyn.location.jclouds.JcloudsLocation.release(JcloudsLocation.java:1589) [brooklyn-locations-jclouds-0.7.0-SNAPSHOT.jar:na]
at brooklyn.location.jclouds.JcloudsLocation.release(JcloudsLocation.java:1) [brooklyn-locations-jclouds-0.7.0-SNAPSHOT.jar:na]
at brooklyn.entity.software.MachineLifecycleEffectorTasks.stopAnyProvisionedMachines(MachineLifecycleEffectorTasks.java:513) [brooklyn-software-base-0.7.0-SNAPSHOT.jar:na]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment