[StarCluster] authentication error

Justin Riley jtriley at MIT.EDU
Tue Jul 26 10:49:56 EDT 2011


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

Hi Jonathan,

Could you please send me the output of:

$ python --version
$ python -c 'import boto; print boto.Version'

Also, as a sanity test you can try the following with boto directly:

[~]> from boto.ec2.connection import EC2Connection
[~]> conn = EC2Connection('<aws access key>', '<aws secret key>')
[~]> conn.get_all_instances()

Obviously you'll need to replace the <aws access key> and <aws secret
key> with your keys. If this works for you without error then there's
definitely a bug in StarCluster. If not, then I would suspect an issue
between boto and your currently installed python version.

~Justin

On 07/20/2011 06:21 PM, Jonathan Taylor wrote:
> Hi Justin,
> 
> I did not manage to get it working. I wonder if there's a way to
> "debug" this, or to ensure that the values I have copied off AWS are
> indeed correct. It has been a while since I started any machines on
> EC2, maybe I should just double check that that works first.
> 
> Jonathan
> 
> On Wed, Jul 20, 2011 at 9:54 AM, Justin Riley <jtriley at mit.edu 
> <mailto:jtriley at mit.edu>> wrote:
> 
> Hi Jonathan,
> 
> Were you able to get things working? If not make sure you don't have 
> quotes around the values for aws_access_key_id and 
> aws_secret_access_key. Also, aws_secret_access_key is the longer of 
> the two keys so make sure you don't have them flipped.
> 
> ~Justin
> 
> 
> On Jul 15, 2011, at 5:39 PM, Rayson Ho wrote:
> 
>> Are you able to run any ec2 command line tools (like
> ec2-describe-images)??
>> 
>> A lot of times it's the private key file readable by group or
>> others.
>> 
>> Rayson
>> 
>> 
>> --- On Fri, 7/15/11, Jonathan Taylor <jonathan.taylor at stanford.edu
> <mailto:jonathan.taylor at stanford.edu>> wrote:
>> From: Jonathan Taylor <jonathan.taylor at stanford.edu
> <mailto:jonathan.taylor at stanford.edu>>
>> Subject: [StarCluster] authentication error To: "starcluster"
>> <starcluster at MIT.EDU <mailto:starcluster at MIT.EDU>> Date: Friday,
>> July 15, 2011, 3:04 PM
>> 
>> I've copied the AWS info into the config file from my amazon AWS
>> credential page  but it seems I am still unable to
> authenticate my AWS account with starcluster.
>> 
>> jtaylo at gkf-ubuntu:~$ starcluster start mycluster
>> 
>> 
>> StarCluster - (http://web.mit.edu/starcluster) (v. 0.92rc2) 
>> Software Tools for Academics and Researchers (STAR) Please submit
>> bug reports to starcluster at mit.edu
> <mailto:starcluster at mit.edu>
>> 
>> 
>> 
>> !!! ERROR - AuthFailure: AWS was not able to validate the provided
> access credentials
>> 
>> Any suggestions to find out which part of my AWS info is causing
> problems?
>> 
>> Thanks,
>> 
>> Jonathan
>> 
>> 
>> 
>> --
>> 
>> 
>> 
>> 
>> -- Jonathan Taylor Dept. of Statistics Sequoia Hall, 137 390 Serra
>> Mall Stanford, CA 94305
>> 
>> Tel:   650.723.9230 <tel:650.723.9230> Fax:   650.725.8977
>> <tel:650.725.8977> Web: http://www-stat.stanford.edu/~jtaylo
> <http://www-stat.stanford.edu/%7Ejtaylo>
>> 
>> 
>> -----Inline Attachment Follows-----
>> 
>> _______________________________________________ StarCluster mailing
>> list StarCluster at mit.edu <mailto:StarCluster at mit.edu> 
>> http://mailman.mit.edu/mailman/listinfo/starcluster
>> 
>> 
>> _______________________________________________ StarCluster mailing
>> list StarCluster at mit.edu <mailto:StarCluster at mit.edu> 
>> http://mailman.mit.edu/mailman/listinfo/starcluster
> 
> 
> 
> 
> -- Jonathan Taylor Dept. of Statistics Sequoia Hall, 137
>  390 Serra Mall Stanford, CA 94305 Tel:   650.723.9230 Fax:
> 650.725.8977 Web: http://www-stat.stanford.edu/~jtaylo

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

iEYEARECAAYFAk4u1BMACgkQ4llAkMfDcrl0kwCdEV86Dz2B/6zI0WbXAf7vPyne
CnkAn304JlhpF35Q9ijZs+owj8rbRTAS
=jkmJ
-----END PGP SIGNATURE-----



More information about the StarCluster mailing list