token-get fails with the following authentication response from keystone:
{"access": {"token": {"issued_at": "2012-11-20T15:59:08.040496", "expires": "2012-11-21T15:59:08Z", "id": "a7242b15acc94a6089ee73b870b233fb", "tenant": {"enabled": true, "description": null, "name": "project-x", "id": "c72ad33b78054683afc8741642cb6fa2"}}, "serviceCatalog": [{"endpoints": [{"adminURL": null, "region": "North", "internalURL": null, "id": "425de0e81586448bb6af3be5591f1fd2", "publicURL": "http://north.nova.openstack/"}, {"adminURL": null, "region": "South", "internalURL": null, "id": "82b79795a20e4c77bf62b474edc48252", "publicURL": "http://south.supernova.openstack/"}], "endpoints_links": [], "type": "compute", "name": "Supernova"}], "user": {"username": "joe", "roles_links": [], "id": "2f6e164bf01b45c2bb5440b3b1d5ed61", "roles": [{"name": "member"}], "name": "joe"}, "metadata": {"is_admin": 0, "roles": ["5336ade4c234492097be35b82f2627e3"]}}}
Due to:
Traceback (most recent call last):
File "/Users/dolph/Environments/os/bin/keystone", line 9, in <module>
load_entry_point('python-keystoneclient==0.2.0', 'console_scripts', 'keystone')()
File "/Users/dolph/Projects/keystone/vendor/python-keystoneclient-master/keystoneclient/shell.py", line 432, in main
OpenStackIdentityShell().main(sys.argv[1:])
File "/Users/dolph/Projects/keystone/vendor/python-keystoneclient-master/keystoneclient/shell.py", line 373, in main
debug=args.debug)
File "/Users/dolph/Projects/keystone/vendor/python-keystoneclient-master/keystoneclient/v2_0/client.py", line 135, in __init__
self.authenticate()
File "/Users/dolph/Projects/keystone/vendor/python-keystoneclient-master/keystoneclient/v2_0/client.py", line 197, in authenticate
"%s" % e)
keystoneclient.exceptions.AuthorizationFailure: Authorization Failed: 'NoneType' object has no attribute '__getitem__'
The client is assuming that a management URL exists just because authentication is scoped, even though a management URL is not necessary or applicable to non-admin users.
Fix proposed to branch: master /review. openstack. org/16540
Review: https:/