StarCluster - Mailing List Archive

AttributeError: 'module' object has no attribute 'getStrongPrime'

From: Ramon Linan <no email>
Date: Wed, 13 Feb 2013 22:14:05 +0000

I got this error in the crash reports,


Anybody has seen this before?

  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'

---------- SYSTEM INFO ----------
StarCluster: 0.93.3
Python: 2.6.6 (r266:84292, Sep 11 2012, 08:34:23) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)]
Platform: Linux-2.6.32-279.14.1.el6.x86_64-x86_64-with-centos-6.3-Final
boto: 2.3.0
ssh: 1.7.13
Crypto: 2.6
jinja2: 2.6
decorator: 3.3.1
Received on Wed Feb 13 2013 - 17:14:44 EST
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject