← Back to team overview

openstack team mailing list archive

Re: euca2ools: Failure communicating with keystone (Essex on Ubuntu 12.04 B1)

 

On Fri, Mar 16, 2012 at 11:01 AM, Kevin Jackson
<kevin@xxxxxxxxxxxxxxxxxxx> wrote:
[...]
> NOVA_REGION="nova"
>
> export NOVA_USERNAME=demo
> export NOVA_PROJECT_ID=demo
> export NOVA_PASSWORD=openstack
> export NOVA_API_KEY=openstack
> export NOVA_REGION_NAME=$NOVA_REGION
> export NOVA_URL="http://$NOVA_API_HOST:5000/v2.0/";
> export NOVA_VERSION="1.1"
>
> export OS_AUTH_USER=demo
> export OS_AUTH_KEY=openstack
> export OS_AUTH_TENANT=demo
> export OS_AUTH_URL="http://$KEYSTONE_API_HOST:5000/v2.0/";
> export OS_AUTH_STRATEGY="keystone"

I know the documentation has not caught up to the code yet, but for
the above you should switch to the common auth variables (see
http://wiki.openstack.org/CLIAuth) that have been supported since E4:

export OS_USERNAME=demo
export OS_TENANT_NAME=demo
export OS_PASSWORD=openstack
export OS_REGION_NAME=nova
export OS_AUTH_URL="http://$KEYSTONE_API_HOST:5000/v2.0/";
export NOVA_VERSION="1.1"

DevStack has new docs that talk about the auth variables
(http://devstack.org/openrc.html) and the current way to set up euca
creds (http://devstack.org/eucarc.html) using Keystone.  These can
easily be adapted to any Essex-4+ installation of OpenStack.

I'm not certain this will fix your problem, but using the current auth
config will help debugging it.

dt

-- 

Dean Troyer
dtroyer@xxxxxxxxx


References