[Starcluster] Problems paramiko.AuthenticationException: Authentication failed.

Justin Riley jtriley at MIT.EDU
Wed Mar 31 10:09:26 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Carlos,

I notice that your KEY_LOCATION points to a pem file. Are you sure this
pem file matches up with your KEYPAIR on Amazon? Could you double check
that you're able to launch and connect to an instance using that pem
file manually using ElasticFox or the AWS Management Console?

Thanks,

~Justn

On 03/31/2010 03:03 AM, Carlos Fernando Corral Espinoza wrote:
> Hello,
> I have problems using StarCluster, when running starcluster-s command
> shows me the following error:
> 
>>>> Setting up the cluster...
> ec2utils.py:284 - DEBUG - Creating persistent connection to
> ec2-72-44-60-176.compute-1.amazonaws.com
> <http://ec2-72-44-60-176.compute-1.amazonaws.com>
> ssh.py:60 - DEBUG - private key specified
> ssh.py:66 - WARNING - specified key does not end in either rsa or dsa,
> trying both
>>>> Using private key /tmp/calderon-corral.pem (rsa)
> Traceback (most recent call last):
>   File "/usr/local/bin/starcluster", line 5, in <module>
>     pkg_resources.run_script('StarCluster==0.90.1', 'starcluster')
>   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 448, in
> run_script
>     self.require(requires)[0].run_script(script_name, ns)
>   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1173,
> in run_script
>     exec script_code in namespace, namespace
>   File
> "/usr/local/lib/python2.6/dist-packages/StarCluster-0.90.1-py2.6.egg/EGG-INFO/scripts/starcluster",
> line 100, in <module>
>    
>   File
> "/usr/local/lib/python2.6/dist-packages/StarCluster-0.90.1-py2.6.egg/EGG-INFO/scripts/starcluster",
> line 71, in main
>    
>   File "build/bdist.linux-i686/egg/starcluster/ec2utils.py", line 27, in
> wrapper
>   File "build/bdist.linux-i686/egg/starcluster/ec2utils.py", line 321,
> in start_cluster
>   File "build/bdist.linux-i686/egg/starcluster/ec2utils.py", line 285,
> in get_nodes
>   File "build/bdist.linux-i686/egg/starcluster/ssh.py", line 80, in __init__
>   File "build/bdist.linux-i686/egg/paramiko/transport.py", line 989, in
> connect
>   File "build/bdist.linux-i686/egg/paramiko/transport.py", line 1216, in
> auth_publickey
>   File "build/bdist.linux-i686/egg/paramiko/auth_handler.py", line 174,
> in wait_for_response
> paramiko.AuthenticationException: Authentication failed.
> 
> 
> I'm using paramiko 1.7.4
> 
> root at ip-10-195-45-223:~/StarCluster-0.90.1# python -c "import paramiko;
> print paramiko.__version__"
> /usr/local/lib/python2.6/dist-packages/Crypto/Hash/SHA.py:6:
> DeprecationWarning: the sha module is deprecated; use the hashlib module
> instead
>   from sha import *
> /usr/local/lib/python2.6/dist-packages/Crypto/Hash/MD5.py:6:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
>   from md5 import *
> 1.7.4 (Desmond)
> 
> Greetings
> Carlos Corral Espinoza
> 
> 
> 
> _______________________________________________
> Starcluster mailing list
> Starcluster at mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuzV5YACgkQ4llAkMfDcrmF6wCfWBBCJsRBXcRppKysgyl/zgqB
1UgAnR+l8Rl0Sgrpww9TGA5sVRwHn87N
=drFW
-----END PGP SIGNATURE-----



More information about the StarCluster mailing list