jtriley/StarCluster — pull request #323 by FinchPowers (2013-11-13 23:20:52+00:00)
Title: Bumpbed pycrypto to fix an issue where RSA.importKey passphrase param do...

...esn't exist

I had this issue which was resolved by updating pycrypt to 2.6.1.

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/cli.py", line 274, in main
sc.execute(args)
File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/commands/loadbalance.py", line 132, in execute
cluster = self.cm.get_cluster(cluster_tag)
File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py", line 82, in get_cluster
cl.validator.validate_keypair()
File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/cluster.py", line 2361, in validate_keypair
keyfingerprint = sshutils.get_private_rsa_fingerprint(key_location)
File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/sshutils/__init__.py", line 850, in get_private_rsa_fingerpr
int
passphrase=passphrase, use_pycrypto=True)
File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.9999-py2.7.egg/starcluster/sshutils/__init__.py", line 807, in get_rsa_key
key = RSA.importKey(key_fobj, passphrase=passphrase)
TypeError: importKey() got an unexpected keyword argument 'passphrase'
!!! ERROR - Oops! Looks like you've found a bug in StarCluster

!!! ERROR - Crash report written to: /root/.starcluster/logs/crash-report-4152.txt
!!! ERROR - Please remove any sensitive data from the crash report
!!! ERROR - and submit it to starcluster@mit.edu