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
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 scanner( i-a2759bcd) /ERROR: Unknown exception: PID check failed. RNG must be re-initialized after fork(). Hint: Try Random.atfork() scanner( i-a2759bcd) /ERROR: Traceback (most recent call last): scanner( i-a2759bcd) /ERROR: File "/usr/lib/ pymodules/ python2. 7/paramiko/ transport. py", line 1522, in run scanner( i-a2759bcd) /ERROR: self._send_ kex_init( ) scanner( i-a2759bcd) /ERROR: File "/usr/lib/ pymodules/ python2. 7/paramiko/ transport. py", line 1686, in _send_kex_init scanner( i-a2759bcd) /ERROR: m.add_bytes( rng.read( 16)) scanner( i-a2759bcd) /ERROR: File "/usr/lib/ python2. 7/dist- packages/ Crypto/ Random/ _UserFriendlyRN G.py", line 185, in read scanner( i-a2759bcd) /ERROR: return self._singleton .read(bytes) scanner( i-a2759bcd) /ERROR: File "/usr/lib/ python2. 7/dist- packages/ Crypto/ Random/ _UserFriendlyRN G.py", line 161, in read scanner( i-a2759bcd) /ERROR: return _UserFriendlyRN G.read( self, bytes) scanner( i-a2759bcd) /ERROR: File "/usr/lib/ python2. 7/dist- packages/ Crypto/ Random/ _UserFriendlyRN G.py", line 120, in read scanner( i-a2759bcd) /ERROR: self._check_pid() scanner( i-a2759bcd) /ERROR: File "/usr/lib/ python2. 7/dist- packages/ Crypto/ Random/ _UserFriendlyRN G.py", line 136, in _check_pid scanner( i-a2759bcd) /ERROR: raise AssertionError("PID check failed. RNG must be re-initialized after fork(). Hint: Try Random.atfork()")
2011-03-15 14:43:22,694 ssh-key-
2011-03-15 14:43:22,805 ssh-key-
2011-03-15 14:43:22,805 ssh-key-
2011-03-15 14:43:22,805 ssh-key-
2011-03-15 14:43:22,805 ssh-key-
2011-03-15 14:43:22,805 ssh-key-
2011-03-15 14:43:22,805 ssh-key-
2011-03-15 14:43:22,805 ssh-key-
2011-03-15 14:43:22,805 ssh-key-
2011-03-15 14:43:22,805 ssh-key-
2011-03-15 14:43:22,805 ssh-key-
2011-03-15 14:43:22,805 ssh-key-
2011-03-15 14:43:22,805 ssh-key-
2011-03-15 14:43:22,806 ssh-key-
python-paramiko: us.archive. ubuntu. com/ubuntu/ natty/main amd64 Packages dpkg/status
Installed: 1.7.6-5.1
Candidate: 1.7.6-5.1
Version table:
*** 1.7.6-5.1 0
500 http://
100 /var/lib/