StarCluster - Mailing List Archive

Re: [Starcluster] Problems paramiko.AuthenticationException: Authentication failed.

From: Justin Riley <no email>
Date: Mon, 12 Apr 2010 21:23:22 -0400

Hi Marko,

You're right about the other instance with a different keypair being the issue
and it's related to the fact that the current version of StarCluster does not
support multiple clusters.

This is fixed in the latest development code on github. I'm in the process of
cleaning up the current code in github and putting together documentation for
a new release that supports multiple clusters, multiple ebs volumes, cluster
'plugins' that allow users to write their own custom setup routines on top of
starcluster's defaults, automated ebs volume creation (including
partition/format), and more.

Stay tuned...

~Justin

On Sunday 04 April 2010 6:59:51 pm markos calderon wrote:
> Hi Justin,
>
> I'm working with Carlos in a project. We already found the problem, it
> seems that when there is another instance (other project) running with
> another keypair and in the same AWS account, our instance (with
> starcluster) with our keypair has problems, I think that it is a conflict
> problem... Well, we decide to take down the other instance (not ours), and
> it solved...
>
> - Marko
>
> On Wed, Mar 31, 2010 at 10:09 AM, Justin Riley <jtriley_at_mit.edu> wrote:
> > -----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-----
> > _______________________________________________
> > Starcluster mailing list
> > Starcluster_at_mit.edu
> > http://mailman.mit.edu/mailman/listinfo/starcluster
>
Received on Mon Apr 12 2010 - 21:23:25 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject