[StarCluster] Cannot foricly terminate cluster

Andrew Rech andrewrech at gmail.com
Wed Jun 29 00:16:30 EDT 2016


I was able to resolve this issue on my own. The security template used for
the cluster throwing the error was linked and therefore not actually
deleted. When I unlinked and deleted it I was able to forcibly terminate
the cluster.

Sorry, thanks for reading!

Andew

On Tue, Jun 28, 2016 at 11:48 PM Andrew Rech <andrewrech at gmail.com> wrote:

> Hello,
>
> I receive the following error when attempting to listclusters or forcibly
> terminate a cluster. I have manually removed the instances and security
> group using the AWS console, however I am not sure how to manually remove
> this cluster listing from Starcluster so I can continue normally?
>
> Thank you,
> Andrew
>
> 2016-06-28 23:47:11,637 !!! ERROR - Unhandled exception occured
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cli.py",
> line 275, in main
>     sc.execute(args)
>   File
> "/usr/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/commands/listclusters.py",
> line 36, in execute
>     show_ssh_status=self.opts.show_ssh_status)
>   File
> "/usr/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py",
> line 315, in list_clusters
>     load_volumes=False, require_keys=False)
>   File
> "/usr/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py",
> line 74, in get_cluster
>     self.cfg.get_key(cl.master_node.key_name)\
>   File
> "/usr/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py",
> line 884, in master_node
>     for node in self.nodes:
>   File
> "/usr/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py",
> line 945, in nodes
>     if n.is_master():
>   File
> "/usr/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/node.py",
> line 1021, in is_master
>     return self.alias.find("master") != -1
>   File
> "/usr/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/node.py",
> line 160, in alias
>     alias = self.get_aliases(self.ami_launch_index)
>   File
> "/usr/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/node.py",
> line 140, in get_aliases
>     aliasestxt = self.user_data.get(static.UD_ALIASES_FNAME, '')
>   File
> "/usr/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/node.py",
> line 129, in user_data
>     self._user_data = userdata.unbundle_userdata(raw)
>   File
> "/usr/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/userdata.py",
> line 197, in unbundle_userdata
>     tf = get_tar_from_userdata(string)
>   File
> "/usr/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/userdata.py",
> line 156, in get_tar_from_userdata
>     b64str = r.search(string).groups()[0]
> AttributeError: 'NoneType' object has no attribute 'groups'
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20160629/2450af56/attachment.html


More information about the StarCluster mailing list