StarCluster - Mailing List Archive

Re: load balancer - crashed with !!! ERROR - Unhandled exception occured

From: Nick Stong <no email>
Date: Wed, 6 May 2015 10:25:35 -0400

It's a problem the visualizer has with the time format of the log. I fixed
the issue by changing the line, hardcoding in +00:00.
Changing
a = [datetime.strptime(parts[0], '%Y-%m-%d %H:%M:%S.%f'),
to
a = [datetime.strptime(parts[0], '%Y-%m-%d %H:%M:%S.%f+00:00'),

in the file /usr/lib/python2.6/site-packages/StarCluster-0.95.5-
py2.6.egg/starcluster/balancers/sge/visualizer.py



On Wed, May 6, 2015 at 10:18 AM, Andrey Evtikhov <Andrey_Evtikhov_at_epam.com>
wrote:

> Hi there – simplest configuration master and 1 node:
>
>
>
> OS:
>
> Description: Ubuntu 13.04
>
> Release: 13.04
>
> Codename: raring
>
>
>
> >>> Starting load balancer (Use ctrl-c to exit)
>
> Maximum cluster size: 2
>
> Minimum cluster size: 1
>
> Cluster growth rate: 1 nodes/iteration
>
>
>
> >>> Writing stats to file:
> /home/aevtikhov/.starcluster/sge/aevtikhov/sge-stats.csv
>
> >>> Plotting stats to directory: /tmp
>
> >>> Loading full job history
>
> Execution hosts: 2
>
> Queued jobs: 0
>
> Avg job duration: 0 secs
>
> Avg job wait time: 0 secs
>
> Last cluster modification time: 2015-04-30 14:28:54+0000
>
> >>> Not adding nodes: already at or above maximum (2)
>
> >>> Cluster was modified less than 180 seconds ago
>
> >>> Waiting for cluster to stabilize...
>
> !!! ERROR - Unhandled exception occured
>
> Traceback (most recent call last):
>
> File
> "/usr/lib/python2.6/site-packages/StarCluster-0.95.5-py2.6.egg/starcluster/cli.py",
> line 274, in main
>
> sc.execute(args)
>
> File
> "/usr/lib/python2.6/site-packages/StarCluster-0.95.5-py2.6.egg/starcluster/commands/loadbalance.py",
> line 115, in execute
>
> lb.run(cluster)
>
> File
> "/usr/lib/python2.6/site-packages/StarCluster-0.95.5-py2.6.egg/starcluster/balancers/sge/__init__.py",
> line 643, in run
>
> self.visualizer.graph_all()
>
> File
> "/usr/lib/python2.6/site-packages/StarCluster-0.95.5-py2.6.egg/starcluster/balancers/sge/visualizer.py",
> line 71, in graph_all
>
> self.read()
>
> File
> "/usr/lib/python2.6/site-packages/StarCluster-0.95.5-py2.6.egg/starcluster/balancers/sge/visualizer.py",
> line 47, in read
>
> a = [datetime.strptime(parts[0], '%Y-%m-%d %H:%M:%S.%f'),
>
> File "/usr/lib64/python2.6/_strptime.py", line 328, in _strptime
>
> data_string[found.end():])
>
> ValueError: unconverted data remains: +00:00
>
>
>
> !!! ERROR - Oops! Looks like you've found a bug in StarCluster
>
> !!! ERROR - Crash report written to:
> /home/aevtikhov/.starcluster/logs/crash-report-31714.txt
>
> !!! ERROR - Please remove any sensitive data from the crash report
>
> !!! ERROR - and submit it to starcluster_at_mit.edu
>
>
>
>
>
> _______________________________________________
> StarCluster mailing list
> StarCluster_at_mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster
>
>


-- 
Nick Stong, PhD
Bioinformatics Scientist
Celmatix Inc.
54 W. 40th
New York, NY 10018
262-994-4152
www.celmatix.com
This email message and any attachments being sent by Celmatix Inc., are
confidential, and may be privileged. If you are not the intended recipient,
please notify us immediately—by replying to this message—and destroy all
copies of this message and any attachments. Thank you.
Received on Wed May 06 2015 - 10:25:37 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject