[StarCluster] auth problem

Shunde Zhang shunde.zhang at adelaide.edu.au
Thu Aug 2 01:01:31 EDT 2012


Hi Justin,

Thanks for the tip.
I was stupid to leave the comments after my key value.
It worked after I removed the comments completely.

Another question, we have existing user system (LDAP) and NFS system which has all users' home dirs.
Is it easy to configure star cluster to use them?
I saw from the log that a NFS system will be enabled on the master and mounted on all worker nodes.
There is a plugin that can create users when launching new nodes.
Is it possible to skip the NFS bit when starting a new cluster? and make use of the existing NFS?
Is it possible to start puppet client on cluster nodes to let it do the work?

Regards,
Shunde Zhang

School of Computer Science, The University of Adelaide, "Life Impact"
Email: shunde.zhang at adelaide.edu.au<mailto:shunde.zhang at adelaide.edu.au>
Phone: +61 8 83038265

eResearch SA (eRSA), "Enabling Discovery, Innovation and Collaboration through eResearch"
14 Little Queen Street, Thebarton, SA 5031
Email: shunde.zhang at eresearchsa.edu.au<mailto:shunde.zhang at eresearchsa.edu.au>


[cid:3B99C05B-0842-44E7-B20D-BEA990DADE98 at thebarton.ersa.edu.au]

On 02/08/2012, at 3:58 AM, Justin Riley wrote:

Hey Shunde,

Check that you don't have quotes around your credentials. If you have
IPython installed you can check that your credentials are entered
correctly using:

$ starcluster shell
[~]> print cfg.aws.aws_access_key_id
'<your-key-here>'
[~]> print cfg.aws.aws_secret_access_key
'<your-secret-key-here>'

Do those values look right?

~Justin

On Wed, Aug 01, 2012 at 06:18:56AM +0000, Shunde Zhang wrote:
Hi,

I am trying to use star cluster on Amazon. However, I always got this error:

# starcluster createkey mykey -o ~/.ssh/mykey.rsa
StarCluster - (http://web.mit.edu/starcluster) (v. 0.93.3)
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

# starcluster -d start -c smallcluster mycluster
StarCluster - (http://web.mit.edu/starcluster) (v. 0.93.3)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to starcluster at mit.edu<mailto:starcluster at mit.edu>

2012-08-01 06:10:18,980 config.py:551 - DEBUG - Loading config
2012-08-01 06:10:18,981 config.py:118 - DEBUG - Loading file: /home/ubuntu/.starcluster/config
2012-08-01 06:10:18,985 awsutils.py:54 - DEBUG - creating self._conn w/ connection_authenticator kwargs = {'proxy_user': None, 'proxy_pass': None, 'proxy_port': None, 'proxy': None, 'is_secure': True, 'path': '/', 'region': RegionInfo:us-east-1, 'port': None}
!!! ERROR - AuthFailure: AWS was not able to validate the provided access credentials


I use the same credential with euca2ools and it worked fine.
I have put my access key and secret key in the config file.
What is the best way to debug this?
Thanks in advance.


Regards,
Shunde Zhang

School of Computer Science, The University of Adelaide, "Life Impact"
Email: shunde.zhang at adelaide.edu.au<mailto:shunde.zhang at adelaide.edu.au>
Phone: +61 8 83038265

eResearch SA (eRSA), "Enabling Discovery, Innovation and Collaboration through eResearch"
14 Little Queen Street, Thebarton, SA 5031
Email: shunde.zhang at eresearchsa.edu.au<mailto:shunde.zhang at eresearchsa.edu.au>







_______________________________________________
StarCluster mailing list
StarCluster at mit.edu<mailto:StarCluster at mit.edu>
http://mailman.mit.edu/mailman/listinfo/starcluster


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20120802/d64ea1e8/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mail Attachment.png
Type: image/png
Size: 3001 bytes
Desc: Mail Attachment.png
Url : http://mailman.mit.edu/pipermail/starcluster/attachments/20120802/d64ea1e8/attachment.png


More information about the StarCluster mailing list