First time here? Check out the FAQ!
![]() | 1 | initial version |
I am on devstack ocata
# gnocchi metric list
The request you have made requires authentication. (HTTP 401)
then i try noauth
# vim /etc/gnocchi/gnocchi.conf
[api]
auth_mode = noauth
#auth_mode = keystone
then use this env,the GNOCCHI_USER_ID、GNOCCHI_PROJECT_ID and GNOCCHI_ENDPOINT come from /etc/gnocchi/gnocchi.conf
export OS_AUTH_TYPE=gnocchi-noauth
export GNOCCHI_USER_ID=d3c5a671-30be-4f3f-892b-184464fcfdd0
export GNOCCHI_PROJECT_ID=4c718289-51d7-4f3e-b846-ec0875572459
export GNOCCHI_ENDPOINT=http://192.168.3.222:8041
It work,no error