"keystone discover" failed to list supported extensions. Simply run "keystone discover" returns nothing about extension list. With --debug, it shows extension list has already been returned. But client side failed to read it out.
$ keystone discover
Keystone found at http://192.168.56.102:5000/v2.0
- supports version v2.0 (stable) here http://192.168.56.102:5000/v2.0/
No handlers could be found for logger "keystoneclient.generic.client"
$ keystone --debug discover
DEBUG:keystoneclient.session:REQ: curl -i -X GET http://192.168.56.102:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.56.102
DEBUG:requests.packages.urllib3.connectionpool:"GET /v2.0 HTTP/1.1" 200 617
DEBUG:keystoneclient.session:RESP: [200] CaseInsensitiveDict({'date': 'Tue, 07 Jan 2014 10:29:56 GMT', 'vary': 'X-Auth-Token', 'content-length': '617', 'content-type': 'application/json'})
RESP BODY: {"version": {"status": "stable", "updated": "2013-03-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "http://192.168.56.102:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/content/", "type": "text/html", "rel": "describedby"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf", "type": "application/pdf", "rel": "describedby"}]}}
Keystone found at http://192.168.56.102:5000/v2.0
- supports version v2.0 (stable) here http://192.168.56.102:5000/v2.0/
DEBUG:keystoneclient.session:REQ: curl -i -X GET http://192.168.56.102:5000/v2.0/extensions -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.56.102
DEBUG:requests.packages.urllib3.connectionpool:"GET /v2.0/extensions HTTP/1.1" 200 722
DEBUG:keystoneclient.session:RESP: [200] CaseInsensitiveDict({'date': 'Tue, 07 Jan 2014 10:29:56 GMT', 'vary': 'X-Auth-Token', 'content-length': '722', 'content-type': 'application/json'})
RESP BODY: {"extensions": {"values": [{"updated": "2013-07-07T12:00:0-00:00", "name": "OpenStack Keystone User CRUD", "links": [{"href": "https://github.com/openstack/identity-api", "type": "text/html", "rel": "describedby"}], "namespace": "http://docs.openstack.org/identity/api/ext/OS-KSCRUD/v1.0", "alias": "OS-KSCRUD", "description": "OpenStack extensions to Keystone v2.0 API enabling User Operations."}, {"updated": "2013-07-07T12:00:0-00:00", "name": "OpenStack EC2 API", "links": [{"href": "https://github.com/openstack/identity-api", "type": "text/html", "rel": "describedby"}], "namespace": "http://docs.openstack.org/identity/api/ext/OS-EC2/v1.0", "alias": "OS-EC2", "description": "OpenStack EC2 Credentials backend."}]}}
ERROR:keystoneclient.generic.client:
Traceback (most recent call last):
File "/home/stack/python-keystoneclient/keystoneclient/generic/client.py", line 177, in _check_keystone_extensions
raise exceptions.AuthorizationFailure()
AuthorizationFailure
Fix proposed to branch: master /review. openstack. org/65252
Review: https:/