blob: c1065e6f619ae55af5da689528b23584854af55c [file] [log] [blame]
Sean M. Collins09e550c2014-10-21 11:40:08 -04001`DevStack </>`__
2
3- `Overview <overview.html>`__
4- `Changes <changes.html>`__
5- `FAQ <faq.html>`__
6- `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
7- `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
8
9eucarc EC2 settings
10-------------------
11
12``eucarc`` creates EC2 credentials for the current user as defined by
13``OS_TENANT_NAME:OS_USERNAME``. ``eucarc`` sources ``openrc`` at the
14beginning (which in turn sources ``stackrc`` and ``localrc``) in order
15to set credentials to create EC2 credentials in Keystone.
16
17EC2\_URL
18 Set the EC2 url for euca2ools. The endpoint is extracted from the
19 service catalog for ``OS_TENANT_NAME:OS_USERNAME``.
20
21 ::
22
23 EC2_URL=$(keystone catalog --service ec2 | awk '/ publicURL / { print $4 }')
24
25S3\_URL
26 Set the S3 endpoint for euca2ools. The endpoint is extracted from
27 the service catalog for ``OS_TENANT_NAME:OS_USERNAME``.
28
29 ::
30
31 export S3_URL=$(keystone catalog --service s3 | awk '/ publicURL / { print $4 }')
32
33EC2\_ACCESS\_KEY, EC2\_SECRET\_KEY
34 Create EC2 credentials for the current tenant:user in Keystone.
35
36 ::
37
38 CREDS=$(keystone ec2-credentials-create)
39 export EC2_ACCESS_KEY=$(echo "$CREDS" | awk '/ access / { print $4 }')
40 export EC2_SECRET_KEY=$(echo "$CREDS" | awk '/ secret / { print $4 }')
41
42Certificates for Bundling
43 Euca2ools requires certificate files to enable bundle uploading. The
44 exercise script ``exercises/bundle.sh`` demonstrated retrieving
45 certificates using the Nova CLI.
46
47 ::
48
49 EC2_PRIVATE_KEY=pk.pem
50 EC2_CERT=cert.pem
51 NOVA_CERT=cacert.pem
52 EUCALYPTUS_CERT=${NOVA_CERT}
53
54© Openstack Foundation 2011-2013 An `OpenStack
55program <https://wiki.openstack.org/wiki/Programs>`__ created by
56`Rackspace Cloud
57Builders <http://www.rackspace.com/cloud/private_edition/>`__