StarCluster - Mailing List Archive

Trying to remove nodes gives an error

From: Ryan Golhar <no email>
Date: Fri, 20 Sep 2013 08:01:47 -0400

[ec2-user_at_ip-10-28-206-211 ~]$ starcluster removenode rosecluster node039
node040 node041 node042 node043 node044 node045 node046 node047 node048
StarCluster - (http://star.mit.edu/cluster) (v. 0.9999)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to starcluster_at_mit.edu

>>> Running plugin tagger.TaggerPlugin
>>> Running plugin setupuserenv.SetupUserEnvironment
>>> Running plugin starcluster.plugins.users.CreateUsers
>>> Running plugin starcluster.plugins.sge.SGEPlugin
>>> Removing node039 from SGE
>>> Updating SGE parallel environment 'orte'
48/48 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
100%
>>> Adding parallel environment 'orte' to queue 'all.q'
>>> Running plugin starcluster.clustersetup.DefaultClusterSetup
>>> Removing node node039 (i-91f29ce9)...
>>> Removing node039 from known_hosts files
!!! ERROR - Error occured while running plugin
'starcluster.clustersetup.DefaultClusterSetup':
!!! ERROR - Unhandled exception occured
Traceback (most recent call last):
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/cli.py",
line 257, in main
    sc.execute(args)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/commands/removenode.py",
line 46, in execute
    self.cm.remove_node(tag, alias, terminate=self.opts.terminate)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/cluster.py",
line 178, in remove_node
    cl.remove_node(n, terminate=terminate)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/cluster.py",
line 898, in remove_node
    return self.remove_nodes([node], terminate=terminate)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/cluster.py",
line 908, in remove_nodes
    node=node, reverse=True)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/cluster.py",
line 1527, in run_plugins
    self.run_plugin(plug, method_name=method_name, node=node)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/cluster.py",
line 1552, in run_plugin
    func(*args)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/clustersetup.py",
line 394, in on_remove_node
    self._remove_from_known_hosts(node)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/clustersetup.py",
line 384, in _remove_from_known_hosts
    n.remove_from_known_hosts(self._user, [node])
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/node.py",
line 568, in remove_from_known_hosts
    known_hosts_file = posixpath.join(user.pw_dir, '.ssh', 'known_hosts')
AttributeError: 'NoneType' object has no attribute 'pw_dir'

!!! ERROR - Oops! Looks like you've found a bug in StarCluster
!!! ERROR - Crash report written to:
/home/ec2-user/.starcluster/logs/crash-report-25015.txt
!!! ERROR - Please remove any sensitive data from the crash report
!!! ERROR - and submit it to starcluster_at_mit.edu
Received on Fri Sep 20 2013 - 08:01:55 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject