[StarCluster] Configuration error?

Rayson Ho raysonlogin at gmail.com
Sun Feb 16 00:49:34 EST 2014


Hi Xavier,

To run StarCluster, you need your AWS access key:

http://blogs.aws.amazon.com/security/post/Tx1R9KDN9ISZ0HF/Where-s-my-secret-access-key


Note that the AWS access key is not your AWS web management console
password, and not the AWS x.509 certificate.

http://star.mit.edu/cluster/docs/latest/manual/configuration.html#amazon-web-services-credentials

Rayson

==================================================
Open Grid Scheduler - The Official Open Source Grid Engine
http://gridscheduler.sourceforge.net/
http://gridscheduler.sourceforge.net/GridEngine/GridEngineCloud.html


On Sat, Feb 15, 2014 at 11:52 PM, Jackson, Xavier Jamel
<xjjackson at wpi.edu> wrote:
> Hello, I am new to using Starcluster, and I am having issues setting up the configuration properly.  I followed all of the instructions in the Quick Start and the user menu.  Then I received this error when I tried to run:
>
> $ starcluster start mycluster
> StarCluster - (http://star.mit.edu/cluster) (v. 0.95)
> Software Tools for Academics and Researchers (STAR)
> Please submit bug reports to starcluster at mit.edu
>
> !!! ERROR - AuthFailure: AWS was not able to validate the provided access credentials
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95-py2.7.egg/starcluster/cli.py", line 274, in main
>     sc.execute(args)
>   File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95-py2.7.egg/starcluster/commands/start.py", line 173, in execute
>     scluster = self.cm.get_cluster_group_or_none(tag)
>   File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95-py2.7.egg/starcluster/cluster.py", line 244, in get_cluster_group_or_none
>     return self.get_cluster_security_group(group_name)
>   File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95-py2.7.egg/starcluster/cluster.py", line 240, in get_cluster_security_group
>     return self.ec2.get_security_group(gname)
>   File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95-py2.7.egg/starcluster/awsutils.py", line 366, in get_security_group
>     filters={'group-name': groupname})[0]
>   File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95-py2.7.egg/starcluster/awsutils.py", line 378, in get_security_groups
>     return self.conn.get_all_security_groups(filters=filters)
>   File "/usr/local/lib/python2.7/dist-packages/boto/ec2/connection.py", line 2914, in get_all_security_groups
>     [('item', SecurityGroup)], verb='POST')
>   File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 1141, in get_list
>     raise self.ResponseError(response.status, response.reason, body)
> EC2ResponseError: EC2ResponseError: 401 Unauthorized
> <?xml version="1.0" encoding="UTF-8"?>
> <Response><Errors><Error><Code>AuthFailure</Code><Message>AWS was not able to validate the provided access credentials</Message></Error></Errors><RequestID>c91b02ff-1565-4b52-b3bb-12ae0ac0267d</RequestID></Response>
>
>
> Which didn't make sense to me, since I can run instances directly from aws with the credentials I used.  I read that you can use Ipython to check  that the credentials are valid, so I attempted to set up the Ipython plugin, then I got this error:
>
> $ starcluster start mycluster
> StarCluster - (http://star.mit.edu/cluster) (v. 0.95)
> Software Tools for Academics and Researchers (STAR)
> Please submit bug reports to starcluster at mit.edu
>
> !!! ERROR - invalid node_instance_type specified: 't1.micro
> [plugin ipcluster]
> SETUP_CLASS=starcluster.plugins.ipcluster.IPCluster'
> must be one of: m3.large, m1.small, c1.medium, cg1.4xlarge, t1.micro, cr1.8xlarge, c3.large, c3.xlarge, m1.large, hs1.8xlarge, c3.2xlarge, c3.4xlarge, hi1.4xlarge, i2.8xlarge, m2.2xlarge, m3.2xlarge, c1.xlarge, g2.2xlarge, m2.xlarge, c3.8xlarge, cc1.4xlarge, m1.medium, i2.xlarge, m3.medium, cc2.8xlarge, i2.2xlarge, i2.4xlarge, m1.xlarge, m2.4xlarge, m3.xlarge
>
> I don't know why the configuration is treating the plugin as an extension of the node instance, especially since I didn't use any ' ' when entering the information.
>
> Can anyone help with either error?  I will try playing around with it to find a fix, but I am a bit confused as to how to get the configuration to work.
>
> _______________________________________________
> StarCluster mailing list
> StarCluster at mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster



More information about the StarCluster mailing list