whirr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Masters <kenmasters.cl...@gmail.com>
Subject Error when destroy cluster. [org.jclouds.aws.AWSResponseException] DependencyViolation
Date Sun, 15 Sep 2013 23:34:33 GMT
Hi all,

I got an Error message when I try to destroy a cluster using the same
.properties file.

Here's what I did:
whirr launch-cluster --config mahout.properties
whirr destroy-cluster --config mahout.properties

Anyone has an idea about how to avoid this dependencyViolation?

Error message is attached:

Finished running destroy phase scripts on all cluster instances
Destroying mahout cluster
Exception in thread "main" org.jclouds.aws.AWSResponseException: request
POST https://ec2.us-west-1.amazonaws.com/ HTTP/1.1 failed with code 400,
error: AWSError{requestId='b0ca58c8-21c9-4400-b4f8-797020f2623c',
requestToken='null', code='DependencyViolation', message='resource
sg-e14fac8e has a dependent object', context='{Response=, Errors=}'}
at
org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:78)
at
org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:69)
at
org.jclouds.http.internal.BaseHttpCommandExecutorService$HttpResponseCallable.shouldContinue(BaseHttpCommandExecutorService.java:197)
at
org.jclouds.http.internal.BaseHttpCommandExecutorService$HttpResponseCallable.call(BaseHttpCommandExecutorService.java:167)
at
org.jclouds.http.internal.BaseHttpCommandExecutorService$HttpResponseCallable.call(BaseHttpCommandExecutorService.java:135)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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:680)
at
org.jclouds.concurrent.config.DescribingExecutorService.submit(DescribingExecutorService.java:89)
at
org.jclouds.http.internal.BaseHttpCommandExecutorService.submit(BaseHttpCommandExecutorService.java:132)
at
org.jclouds.http.TransformingHttpCommandExecutorServiceImpl.submit(TransformingHttpCommandExecutorServiceImpl.java:54)
at
org.jclouds.http.TransformingHttpCommandImpl.execute(TransformingHttpCommandImpl.java:73)
at
org.jclouds.rest.internal.AsyncRestClientProxy.createListenableFutureForHttpRequestMappedToMethodAndArgs(AsyncRestClientProxy.java:254)
at
org.jclouds.rest.internal.AsyncRestClientProxy.invoke(AsyncRestClientProxy.java:148)
at com.sun.proxy.$Proxy72.deleteSecurityGroupInRegion(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 com.sun.proxy.$Proxy73.deleteSecurityGroupInRegion(Unknown Source)
at
org.jclouds.ec2.compute.EC2ComputeService.deleteSecurityGroup(EC2ComputeService.java:145)
at
org.jclouds.ec2.compute.EC2ComputeService$3.apply(EC2ComputeService.java:237)
at
org.jclouds.ec2.compute.EC2ComputeService$3.apply(EC2ComputeService.java:232)
at
org.jclouds.predicates.RetryableNumTimesPredicate.apply(RetryableNumTimesPredicate.java:78)
at org.jclouds.predicates.Retryables.retryNumTimes(Retryables.java:43)
at
org.jclouds.ec2.compute.EC2ComputeService.cleanUpIncidentalResources(EC2ComputeService.java:232)
at
org.jclouds.aws.ec2.compute.AWSEC2ComputeService.cleanUpIncidentalResources(AWSEC2ComputeService.java:216)
at
org.jclouds.ec2.compute.EC2ComputeService.cleanUpIncidentalResourcesOfDeadNodes(EC2ComputeService.java:215)
at
org.jclouds.compute.internal.BaseComputeService.destroyNodesMatching(BaseComputeService.java:284)
at
org.apache.whirr.actions.DestroyClusterAction.postRunScriptsActions(DestroyClusterAction.java:66)
at
org.apache.whirr.actions.ScriptBasedClusterAction.doAction(ScriptBasedClusterAction.java:158)
at
org.apache.whirr.actions.ScriptBasedClusterAction.execute(ScriptBasedClusterAction.java:131)
at
org.apache.whirr.ClusterController.destroyCluster(ClusterController.java:233)
at
org.apache.whirr.ClusterController.destroyCluster(ClusterController.java:226)
at
org.apache.whirr.cli.command.DestroyClusterCommand.run(DestroyClusterCommand.java:69)
at
org.apache.whirr.cli.command.DestroyClusterCommand.run(DestroyClusterCommand.java:58)
at org.apache.whirr.cli.Main.run(Main.java:69)
at org.apache.whirr.cli.Main.main(Main.java:102)
at
org.jclouds.concurrent.config.DescribingExecutorService.submit(DescribingExecutorService.java:89)
at
org.jclouds.http.internal.BaseHttpCommandExecutorService.submit(BaseHttpCommandExecutorService.java:132)
at
org.jclouds.http.TransformingHttpCommandExecutorServiceImpl.submit(TransformingHttpCommandExecutorServiceImpl.java:54)
at
org.jclouds.http.TransformingHttpCommandImpl.execute(TransformingHttpCommandImpl.java:73)
at
org.jclouds.rest.internal.AsyncRestClientProxy.createListenableFutureForHttpRequestMappedToMethodAndArgs(AsyncRestClientProxy.java:254)
at
org.jclouds.rest.internal.AsyncRestClientProxy.invoke(AsyncRestClientProxy.java:148)
at com.sun.proxy.$Proxy72.deleteSecurityGroupInRegion(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 com.sun.proxy.$Proxy73.deleteSecurityGroupInRegion(Unknown Source)
at
org.jclouds.ec2.compute.EC2ComputeService.deleteSecurityGroup(EC2ComputeService.java:145)
at
org.jclouds.ec2.compute.EC2ComputeService$3.apply(EC2ComputeService.java:237)
at
org.jclouds.ec2.compute.EC2ComputeService$3.apply(EC2ComputeService.java:232)
at
org.jclouds.predicates.RetryableNumTimesPredicate.apply(RetryableNumTimesPredicate.java:78)
at org.jclouds.predicates.Retryables.retryNumTimes(Retryables.java:43)
at
org.jclouds.ec2.compute.EC2ComputeService.cleanUpIncidentalResources(EC2ComputeService.java:232)
at
org.jclouds.aws.ec2.compute.AWSEC2ComputeService.cleanUpIncidentalResources(AWSEC2ComputeService.java:216)
at
org.jclouds.ec2.compute.EC2ComputeService.cleanUpIncidentalResourcesOfDeadNodes(EC2ComputeService.java:215)
at
org.jclouds.compute.internal.BaseComputeService.destroyNodesMatching(BaseComputeService.java:284)
at
org.apache.whirr.actions.DestroyClusterAction.postRunScriptsActions(DestroyClusterAction.java:66)
at
org.apache.whirr.actions.ScriptBasedClusterAction.doAction(ScriptBasedClusterAction.java:158)
at
org.apache.whirr.actions.ScriptBasedClusterAction.execute(ScriptBasedClusterAction.java:131)
at
org.apache.whirr.ClusterController.destroyCluster(ClusterController.java:233)
at
org.apache.whirr.ClusterController.destroyCluster(ClusterController.java:226)
at
org.apache.whirr.cli.command.DestroyClusterCommand.run(DestroyClusterCommand.java:69)
at
org.apache.whirr.cli.command.DestroyClusterCommand.run(DestroyClusterCommand.java:58)
at org.apache.whirr.cli.Main.run(Main.java:69)
at org.apache.whirr.cli.Main.main(Main.java:102)

Thanks,
Ken

Mime
View raw message