[StarCluster] unable to start a cluster created with starcluster: NoneType object is not iterable

Justin Riley jtriley at MIT.EDU
Wed Mar 7 10:16:42 EST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jeffrey,

My apologies for the delay. This is a long standing issue that is
fixed in the next 0.93.2 version which should be released later today
- - stay tuned. For now you can get around this issue by skipping
validation:

$ starcluster start -x -V gfscluster

HTH,

~Justin

On 03/06/2012 09:39 AM, Jeffrey Wan wrote:
> Hi,
> 
> I could not start or ssh in my cluster created by starcluster
> quite often recently.
> 
> The screen logs and the crash report content is attached in this
> email.
> 
> Could you kindly give me some clue?
> 
> And oddly, I could not find many useful information from the
> Internet?
> 
> Thanks!
> 
> 
> 
> Thanks!
> 
> 
> 
> Jeffrey Wan
> 
> Houston Client Systems Support
> 
> +1 713-817-7963 (Mobile)
> 
> +1 713-689-2943
> 
> Jwan2 at slb.com
> 
> 
> 
> cid:image002.png at 01CA92A5.668AEC00
> 
> 
> 
> 
> 
> 
> 
>> starcluster -c .starcluster/gluster/config start -x gfscluster
> 
> /usr/local/lib/python2.7/site-packages/pycrypto-2.5-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57:
>
> 
PowmInsecureWarning: Not using mpz_powm_sec.  You should rebuild using
> libgmp >= 5 to avoid timing attack vulnerability.
> 
> _warn("Not using mpz_powm_sec.  You should rebuild using libgmp >=
> 5 to avoid timing attack vulnerability.", PowmInsecureWarning)
> 
> StarCluster - (http://web.mit.edu/starcluster) (v. 0.93.1)
> 
> Software Tools for Academics and Researchers (STAR)
> 
> Please submit bug reports to starcluster at mit.edu
> 
> 
> 
>>>> Validating existing instances...
> 
> Traceback (most recent call last):
> 
> File "/usr/local/lib/python2.7/site-packages/starcluster/cli.py",
> line 255, in main
> 
> sc.execute(args)
> 
> File 
> "/usr/local/lib/python2.7/site-packages/starcluster/commands/start.py",
>
> 
line 193, in execute
> 
> validate_running=validate_running)
> 
> File
> "/usr/local/lib/python2.7/site-packages/starcluster/cluster.py", 
> line 1382, in start
> 
> self._validate_running_instances()
> 
> File
> "/usr/local/lib/python2.7/site-packages/starcluster/cluster.py", 
> line 517, in _validate_running_instances
> 
> itype, image = rlmap.get(node.alias)
> 
> TypeError: 'NoneType' object is not iterable
> 
> 
> 
> !!! ERROR - Oops! Looks like you've found a bug in StarCluster
> 
> !!! ERROR - Crash report written to: 
> /NFS/home/home1/jwan2/.starcluster/logs/crash-report-11821.txt
> 
> !!! ERROR - Please remove any sensitive data from the crash report
> 
> !!! ERROR - and submit it to starcluster at mit.edu
> 
> 
> 
> ---------- CRASH DETAILS ----------
> 
> COMMAND: starcluster -c .starcluster/gluster/config start -x
> gfscluster
> 
> 2012-03-05 08:57:08,874 PID: 11432 config.py:551 - DEBUG - Loading
> config
> 
> 2012-03-05 08:57:08,874 PID: 11432 config.py:118 - DEBUG - Loading
> file: .starcluster/gluster/con
> 
> fig
> 
> 2012-03-05 08:57:08,913 PID: 11432 awsutils.py:54 - DEBUG -
> creating self._conn w/ connection_aut
> 
> henticator kwargs = {'proxy_user': None, 'proxy_pass': None, 
> 'proxy_port': None, 'proxy': None, '
> 
> is_secure': True, 'path': '/', 'region': None, 'port': None}
> 
> 2012-03-05 08:57:16,993 PID: 11432 cluster.py:665 - DEBUG -
> existing nodes: {}
> 
> 2012-03-05 08:57:16,994 PID: 11432 cluster.py:673 - DEBUG - adding
> node i-791ae71d to self._nodes
> 
> list
> 
> 2012-03-05 08:57:16,994 PID: 11432 cluster.py:673 - DEBUG - adding
> node i-7b1ae71f to self._nodes
> 
> list
> 
> 2012-03-05 08:57:16,995 PID: 11432 cluster.py:673 - DEBUG - adding
> node i-37945353 to self._nodes
> 
> list
> 
> 2012-03-05 08:57:16,996 PID: 11432 cluster.py:681 - DEBUG -
> returning self._nodes = [<Node: maste
> 
> r (i-791ae71d)>, <Node: node001 (i-7b1ae71f)>, <Node: node002
> (i-37945353)>]
> 
> 2012-03-05 08:57:16,996 PID: 11432 cluster.py:513 - INFO -
> Validating existing instances...
> 
> 2012-03-05 08:57:16,997 PID: 11432 cluster.py:909 - DEBUG - Launch
> map: node001 (ami: ami-12b6477
> 
> b, type: cc1.4xlarge)...
> 
> 2012-03-05 08:57:17,013 PID: 11432 cli.py:287 - DEBUG - Traceback
> (most recent call last):
> 
> File "/usr/local/lib/python2.7/site-packages/starcluster/cli.py",
> line 255, in main
> 
> sc.execute(args)
> 
> File 
> "/usr/local/lib/python2.7/site-packages/starcluster/commands/start.py",
>
> 
line 193, in execu
> 
> te
> 
> validate_running=validate_running)
> 
> File
> "/usr/local/lib/python2.7/site-packages/starcluster/cluster.py", 
> line 1382, in start
> 
> self._validate_running_instances()
> 
> File
> "/usr/local/lib/python2.7/site-packages/starcluster/cluster.py", 
> line 517, in _validate_ru
> 
> nning_instances
> 
> itype, image = rlmap.get(node.alias)
> 
> TypeError: 'NoneType' object is not iterable
> 
> 
> 
> ---------- SYSTEM INFO ----------
> 
> StarCluster: 0.93.1
> 
> Python: 2.7.2 (default, Feb  6 2012, 14:27:35)  [GCC 4.1.2 20080704
> (Red Hat 4.1.2-44)]
> 
> Platform: Linux-2.6.18-128.el5-x86_64-with-redhat-5.3-Final
> 
> boto: 2.0
> 
> paramiko: 1.7.2 (Basil)
> 
> Crypto: 2.5
> 
> jinja2: 2.6
> 
> decorator: 3.3.2
> 
> 
> 
> 
> 
> 
> 
> 
> 
> This body part will be downloaded on demand.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9Xe9oACgkQ4llAkMfDcrn4RgCfWNDgn8ry7890PHGngepSjEuY
2Y4AnRrZD6PtzQqZytSFu5hvy/4ugw91
=IU8S
-----END PGP SIGNATURE-----


More information about the StarCluster mailing list