joaquincasares / cassandralauncher

Allows for the DataStax AMI to run from the command line while removing common user errors. End-to-end time to a cluster of any size is ~5 minutes. 22,000+ PyPI downloads.
46 stars 13 forks source link

Not authorized for images #18

Closed tritonresearch closed 9 years ago

tritonresearch commented 9 years ago

I'm getting the following. Was wondering if this is a key permissions issue or an AMI permissions issue?

Thanks!

Using configuration file: ~/.clusterlauncher.conf

Welcome to DataStax' Cassandra Cluster Launcher! The easiest way to get Apache Cassandra up and running in Amazon's EC2 in under 5 minutes!

ShortName (Handle): tron-east AWS Access Key ID: * AWS Secret Access Key: *** No existing clusters currently running!

Cluster Name: tron-east Total Nodes: 1 Version: [0] Community [1] Enterprise 0

Starting an EC2 cluster of type m1.large with image ami-05caca6c... Ensuring DataStaxLauncher pem key exists on AWS... Ensuring DataStaxLauncher pem key exists on filesystem... Ensuring DataStaxLauncher pem key's permissions are acceptable... Configuring ports... Launching cluster...

AWS Error: EC2ResponseError: 400 Bad Request AuthFailure: Not authorized for images: [ami-05caca6c]

tritonresearch commented 9 years ago

Sorry. Fixed this by replacing the correct DataStax AMI number from http://docs.datastax.com/en/cassandra/3.0/cassandra/install/installAMILaunch.html.