Three environment variables need to be set to use euca2ools.
openrc sets these for you but you could easily create a small rc file for them (note that bundling images currently is not supported).
Set the ec2 url so euca2ools works
export EC2_URL=${EC2_URL:-http://$HOST_IP:8773/services/Cloud}
Access key is set in the initial keystone data to be the same as username
export EC2_ACCESS_KEY=${USERNAME:-demo}
Secret key is set in the initial keystone data to the admin password
export EC2_SECRET_KEY=${ADMIN_PASSWORD:-secrete}
if you give them a file with those three variables set they can use it. To see how to create a new user in keystone with ec2 credentials, checkout files/keystone_data.sh
Also note that you can use any arbitrary string for acess and secret, the keystone_data.sh script just sets access key = username and secret key = password to keep things simple.
On Nov 18, 2011, at 8:45 AM, ashokkumar c wrote:
Question #178940 on OpenStack Compute (nova) changed:
https://answers.launchpad.net/nova/+q...
ashokkumar c gave more information on the question:
can anyone tell me how to make creds.zip for user, so that they can use
ec2ools.
You received this question notification because you are a member of Nova
Core, which is an answer contact for OpenStack Compute (nova).