[StarCluster] Error when running starcluster addnode

Robert Chase rerpc at channing.harvard.edu
Thu May 2 17:34:14 EDT 2013


Hello,

I have been working towards adapting starcluster for use with Eucalyptus. I
am happy to report that I have the start and terminate commands working. I
have moved on to work on the add node and remove node commands.

When I run the add node command, it appears that starcluster starts a
second master node rather than a node 002. When I look in the debug log I
see this;

DEBUG:starcluster:existing nodes: {u'i-52DE3ECA': <Node: master
(i-52DE3ECA)>, u'i-F6F5453E': <Node: node001 (i-F6F5453E)>, u'i-5C414124':
<Node: master (i-5C414124)>, u'i-F1D140FC': <Node: master (i-F1D140FC)>}

Any thoughts on this issue would be greatly appreciated,

Thanks,
-Rob

[rerpc at PC001539 ~]$ starcluster an -i emi-594335AB mycluster1
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

*** WARNING - ************************************************************
*** WARNING - The cluster 'mycluster1' was created with a newer version of
*** WARNING - StarCluster (). You're currently using version 0.9999.
*** WARNING -
*** WARNING - This may or may not be a problem depending on what's changed
*** WARNING - between these versions, however, it's highly recommended
*** WARNING - that you use version  when using the 'mycluster1' cluster.
*** WARNING - ************************************************************
>>> Launching node(s): node002
Reservation:r-A4DD42B1
>>> Waiting for node(s) to come up... (updating every 30s)
>>> Waiting for all nodes to be in a 'running' state...
!!! 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 259, in main
    sc.execute(args)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/commands/addnode.py",
line 120, in execute
    no_create=self.opts.no_create)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/cluster.py",
line 170, in add_nodes
    no_create=no_create)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/cluster.py",
line 941, in add_nodes
    self.wait_for_cluster(msg="Waiting for node(s) to come up...")
  File "<string>", line 2, in wait_for_cluster
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/utils.py",
line 92, in wrap_f
    res = func(*arg, **kargs)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/cluster.py",
line 1344, in wait_for_cluster
    self.progress_bar.finish()
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/cluster.py",
line 1244, in progress_bar
    force_update=True)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/progressbar.py",
line 299, in __init__
    super(ProgressBar, self).__init__(maxval, force_update=force_update)
  File
"/usr/lib/python2.6/site-packages/StarCluster-0.9999-py2.6.egg/starcluster/progressbar.py",
line 206, in __init__
    assert maxval > 0
AssertionError

!!! ERROR - Oops! Looks like you've found a bug in StarCluster
!!! ERROR - Crash report written to:
/home/rerpc/.starcluster/logs/crash-report-11108.txt
!!! ERROR - Please remove any sensitive data from the crash report
!!! ERROR - and submit it to starcluster at mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20130502/edf27d9e/attachment.htm


More information about the StarCluster mailing list