cloudbuilders/devstack — Issue #76: exercise.sh fails with KeyError
Author: superbobry
Created: 2011-10-18 08:06:56+00:00
State: open

Is this somewhat expected?

```
user@nova:~/devstack$ ./exercise.sh
+ HOST=localhost
+ export NOVA_PROJECT_ID=demo
+ NOVA_PROJECT_ID=demo
+ export NOVA_USERNAME=demo
+ NOVA_USERNAME=demo
+ export NOVA_API_KEY=secrete
+ NOVA_API_KEY=secrete
+ export NOVA_URL=http://31.186.98.2:8774/v1.1/
+ NOVA_URL=http://31.186.98.2:8774/v1.1/
+ export NOVA_VERSION=1.1
+ NOVA_VERSION=1.1
+ export NOVA_REGION_NAME=RegionOne
+ NOVA_REGION_NAME=RegionOne
+ export NOVACLIENT_DEBUG=1
+ NOVACLIENT_DEBUG=1
++ curl -s -d '{"auth":{"passwordCredentials": {"username": "demo", "password": "secrete"}}}' -H 'Content-type: application/json' http://localhost:5000/v2.0/tokens
++ python -c 'import sys; import json; tok = json.loads(sys.stdin.read()); print tok['\''access'\'']['\''token'\'']['\''id'\''];'
Traceback (most recent call last):
File "", line 1, in
KeyError: 'access'
+ TOKEN=```