[StarCluster] LoadBalance

Sergio Mafra sergiohmafra at gmail.com
Tue Apr 30 10:05:45 EDT 2013


Hi fellows,

I´m testing StarCluster version 0.999 and so far so good.
one thing that isn´t working is loadbalance. This is what I get:

ubuntu at domU-12-31-39-02-19-36:~$ starcluster loadbalance newcam
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

>>> Starting load balancer (Use ctrl-c to exit)
Maximum cluster size: 3
Minimum cluster size: 1
Cluster growth rate: 1 nodes/iteration

*** WARNING - Failed to retrieve stats (1/5):
Traceback (most recent call last):
  File
"/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/balancers/sge/__init__.py",
line 515, in get_stats
    self.stat = self._get_stats()
  File
"/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/balancers/sge/__init__.py",
line 487, in _get_stats
    now = self.get_remote_time()
  File
"/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/balancers/sge/__init__.py",
line 466, in get_remote_time
    return datetime.datetime.strptime(str, "%a %b %d %H:%M:%S UTC %Y")
  File "/usr/lib/python2.7/_strptime.py", line 325, in _strptime
    (data_string, format))
ValueError: time data 'Tue Apr 30 07:01:35 PDT 2013' does not match format
'%a %b %d %H:%M:%S UTC %Y'
*** WARNING - Retrying in 60s
^CTraceback (most recent call last):
  File "/usr/local/bin/starcluster", line 9, in <module>
    load_entry_point('StarCluster==0.9999', 'console_scripts',
'starcluster')()
  File
"/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/cli.py",
line 313, in main
    StarClusterCLI().main()
  File
"/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/cli.py",
line 257, in main
    sc.execute(args)
  File
"/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/commands/loadbalance.py",
line 90, in execute
    lb.run(cluster)
  File
"/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/balancers/sge/__init__.py",
line 576, in run
    self.get_stats()
  File "<string>", line 2, in get_stats
  File
"/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/utils.py",
line 92, in wrap_f
    res = func(*arg, **kargs)
  File
"/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/balancers/sge/__init__.py",
line 521, in get_stats
    time.sleep(self.polling_interval)

Any ideas?

All Best,

Sergio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20130430/88ff0472/attachment.htm


More information about the StarCluster mailing list