hi??The environment variable that you're talking about has been configured and 
the error has not gone away.




I was on OpenStack for the first time, can you be more specific? Thank you very 
much.









------------------ Original ------------------
From:  "Julien Danjou"<jul...@danjou.info>;
Date:  Thu, Mar 15, 2018 04:48 PM
To:  "__ mango."<935540...@qq.com>;
Cc:  "openstack-dev"<openstack-dev@lists.openstack.org>; 
Subject:  Re: [openstack-dev] [gnocchi] gnocchi-keystone verification failed.



On Thu, Mar 15 2018, __ mango. wrote:

> I have a question about the validation of gnocchi keystone.

There's no question in your message.

> I run the following command, but it is not successful.(api.auth_mode :basic, 
> basic mode can be successful)
>
> # 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"

There's no token in this request so Keystone auth won't work. You did
not set the environment variable OS_* correctly.

-- 
Julien Danjou
# Free Software hacker
# https://julien.danjou.info
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to