[openstack-dev] [ceilometer] [gnocchi] keystone verification failed.

__ mango. 935540343 at qq.com
Tue Mar 20 02:15:21 UTC 2018


hi,
 I have a question about the validation of gnocchi keystone.
 I run the following command, but it is not successful.(api.auth_mode :basic, basic mode can be 
 # gnocchi status --debug
REQ: curl -g -i -X GET http://localhost:8041/v1/status?details=False -H "Authorization: {SHA1}d4daf1cf567f14f32dbc762154b3a281b4ea4c62" -H "Accept: application/json, */*" -H "User-Agent: gnocchi keystoneauth1/3.1.0 python-requests/2.18.1 CPython/2.7.12"
Starting new HTTP connection (1): localhost
http://localhost:8041 "GET /v1/status?details=False HTTP/1.1" 401 114
RESP: [401] Content-Type: application/json Content-Length: 114 WWW-Authenticate: Keystone uri='http://controller:5000/v3' Connection: Keep-Alive 
RESP BODY: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
The request you have made requires authentication. (HTTP 401)

Please help me, thank you very much.

Ps:
I have configured the following
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180320/b9049443/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 971D4487 at D78F3174.B96EB05A.jpg
Type: image/jpeg
Size: 8224 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180320/b9049443/attachment.jpg>


More information about the OpenStack-dev mailing list