Oops! Looks like you've found a bug in StarCluster -- AttributeError: 'module' object has no attribute 'getStrongPrime'
Hello,
I am also getting this error every time i create a new cluster.
It is not affecting the creation, and things are working, but i didnt get this error before
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/StarCluster-0.93.3-py2.6.egg/starcluster/cli.py", line 255, in main
sc.execute(args)
File "/usr/lib/python2.6/site-packages/StarCluster-0.93.3-py2.6.egg/starcluster/commands/start.py", line 194, in execute
validate_running=validate_running)
File "/usr/lib/python2.6/site-packages/StarCluster-0.93.3-py2.6.egg/starcluster/cluster.py", line 1414, in start
return self._start(create=create, create_only=create_only)
File "<string>", line 2, in _start
File "/usr/lib/python2.6/site-packages/StarCluster-0.93.3-py2.6.egg/starcluster/utils.py", line 87, in wrap_f
res = func(*arg, **kargs)
File "/usr/lib/python2.6/site-packages/StarCluster-0.93.3-py2.6.egg/starcluster/cluster.py", line 1437, in _start
self.setup_cluster()
File "/usr/lib/python2.6/site-packages/StarCluster-0.93.3-py2.6.egg/starcluster/cluster.py", line 1446, in setup_cluster
self._setup_cluster()
File "<string>", line 2, in _setup_cluster
File "/usr/lib/python2.6/site-packages/StarCluster-0.93.3-py2.6.egg/starcluster/utils.py", line 87, in wrap_f
res = func(*arg, **kargs)
File "/usr/lib/python2.6/site-packages/StarCluster-0.93.3-py2.6.egg/starcluster/cluster.py", line 1460, in _setup_cluster
self.cluster_shell, self.volumes)
File "/usr/lib/python2.6/site-packages/StarCluster-0.93.3-py2.6.egg/starcluster/clustersetup.py", line 350, in run
self._setup_passwordless_ssh()
File "/usr/lib/python2.6/site-packages/StarCluster-0.93.3-py2.6.egg/starcluster/clustersetup.py", line 225, in _setup_passwordless_ssh
auth_conn_key=True)
File "/usr/lib/python2.6/site-packages/StarCluster-0.93.3-py2.6.egg/starcluster/node.py", line 420, in generate_key_for_user
key = self.ssh.generate_rsa_key()
File "/usr/lib/python2.6/site-packages/StarCluster-0.93.3-py2.6.egg/starcluster/sshutils/__init__.py", line 200, in generate_rsa_key
return ssh.RSAKey.generate(2048)
File "/usr/lib/python2.6/site-packages/ssh-1.7.13-py2.6.egg/ssh/rsakey.py", line 140, in generate
rsa = RSA.generate(bits, rng.read, progress_func)
File "/usr/lib64/python2.6/site-packages/Crypto/PublicKey/RSA.py", line 508, in generate
obj = _RSA.generate_py(bits, rf, progress_func, e) # TODO: Don't use legacy _RSA module
File "/usr/lib64/python2.6/site-packages/Crypto/PublicKey/_RSA.py", line 50, in generate_py
p = pubkey.getStrongPrime(bits>>1, obj.e, 1e-12, randfunc)
File "/usr/lib64/python2.6/site-packages/Crypto/Util/number.py", line 264, in getStrongPrime
return _fastmath.getStrongPrime(long(N), long(e), false_positive_prob,
AttributeError: 'module' object has no attribute 'getStrongPrime'
!!! ERROR - Oops! Looks like you've found a bug in StarCluster
!!! ERROR - Crash report written to: /root/.starcluster/logs/crash-report-18054.txt
!!! ERROR - Please remove any sensitive data from the crash report
!!! ERROR - and submit it to starcluster_at_mit.edu
Received on Fri Feb 22 2013 - 21:53:56 EST
This archive was generated by
hypermail 2.3.0.