Just experienced this on Ubuntu 11.04 alpha3 when using uec-run-
instances from the cloud-utils package. To reproduce:

sudo apt-get install cloud-utils
--- setup Amazon EC2_PRIVATE_KEY and EC2_CERT environment variables
uec-run-instances -l your-launchpad-id -t m1.small --wait-for=ssh ami-da3eccb3

Result:


2011-03-15 14:43:12,906 root/WARNING: i-a2759bcd is pending
2011-03-15 14:43:22,694 ssh-key-scanner(i-a2759bcd)/ERROR: Unknown exception: 
PID check failed. RNG must be re-initialized after fork(). Hint: Try 
Random.atfork()
2011-03-15 14:43:22,805 ssh-key-scanner(i-a2759bcd)/ERROR: Traceback (most 
recent call last):
2011-03-15 14:43:22,805 ssh-key-scanner(i-a2759bcd)/ERROR:   File 
"/usr/lib/pymodules/python2.7/paramiko/transport.py", line 1522, in run
2011-03-15 14:43:22,805 ssh-key-scanner(i-a2759bcd)/ERROR:     
self._send_kex_init()
2011-03-15 14:43:22,805 ssh-key-scanner(i-a2759bcd)/ERROR:   File 
"/usr/lib/pymodules/python2.7/paramiko/transport.py", line 1686, in 
_send_kex_init
2011-03-15 14:43:22,805 ssh-key-scanner(i-a2759bcd)/ERROR:     
m.add_bytes(rng.read(16))
2011-03-15 14:43:22,805 ssh-key-scanner(i-a2759bcd)/ERROR:   File 
"/usr/lib/python2.7/dist-packages/Crypto/Random/_UserFriendlyRNG.py", line 185, 
in read
2011-03-15 14:43:22,805 ssh-key-scanner(i-a2759bcd)/ERROR:     return 
self._singleton.read(bytes)
2011-03-15 14:43:22,805 ssh-key-scanner(i-a2759bcd)/ERROR:   File 
"/usr/lib/python2.7/dist-packages/Crypto/Random/_UserFriendlyRNG.py", line 161, 
in read
2011-03-15 14:43:22,805 ssh-key-scanner(i-a2759bcd)/ERROR:     return 
_UserFriendlyRNG.read(self, bytes)
2011-03-15 14:43:22,805 ssh-key-scanner(i-a2759bcd)/ERROR:   File 
"/usr/lib/python2.7/dist-packages/Crypto/Random/_UserFriendlyRNG.py", line 120, 
in read
2011-03-15 14:43:22,805 ssh-key-scanner(i-a2759bcd)/ERROR:     self._check_pid()
2011-03-15 14:43:22,805 ssh-key-scanner(i-a2759bcd)/ERROR:   File 
"/usr/lib/python2.7/dist-packages/Crypto/Random/_UserFriendlyRNG.py", line 136, 
in _check_pid
2011-03-15 14:43:22,806 ssh-key-scanner(i-a2759bcd)/ERROR:     raise 
AssertionError("PID check failed. RNG must be re-initialized after fork(). 
Hint: Try Random.atfork()")

python-paramiko:
  Installed: 1.7.6-5.1
  Candidate: 1.7.6-5.1
  Version table:
 *** 1.7.6-5.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status


** Changed in: paramiko
       Status: New => Confirmed

** Also affects: paramiko (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/649158

Title:
  PID check failed. RNG must be re-initialized after fork()

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to