Skip to content

Instantly share code, notes, and snippets.

@daskinne
Created April 1, 2013 17:34
Show Gist options
  • Save daskinne/5286382 to your computer and use it in GitHub Desktop.
Save daskinne/5286382 to your computer and use it in GitHub Desktop.
self.CLUSTER.terminate_cluster()
File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py", line 1427, in terminate_cluster
sg.delete()
File "/usr/local/lib/python2.7/dist-packages/boto-2.8.0-py2.7.egg/boto/ec2/securitygroup.py", line 88, in delete
return self.connection.delete_security_group(self.name)
File "/usr/local/lib/python2.7/dist-packages/boto-2.8.0-py2.7.egg/boto/ec2/connection.py", line 2316, in delete_security_group
return self.get_status('DeleteSecurityGroup', params, verb='POST')
File "/usr/local/lib/python2.7/dist-packages/boto-2.8.0-py2.7.egg/boto/connection.py", line 1081, in get_status
raise self.ResponseError(response.status, response.reason, body)
EC2ResponseError: EC2ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error><Code>InvalidGroup.InUse</Code><Message>There are active instances using security group '@sc-cluster_657d4'</Message></Error></Errors><RequestID>e675649f-d713-4eae-832e-cb0411eedab6</RequestID></Response>
@daskinne
Copy link
Author

daskinne commented Apr 1, 2013

security group deleted before nodes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment