Ask Your Question

Revision history [back]

click to hide/show revision 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

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

It work,no error