gnocchixyz / gnocchi

Timeseries database
Apache License 2.0
302 stars 85 forks source link

Gnocchi & Grafana #268

Closed YuXiaoCoder closed 7 years ago

YuXiaoCoder commented 7 years ago

Hello, I'm not configured Gnocchi & Grafana on OpenStack Cloud. The use of CLI on Kolla: gnocchi resource list --type image --endpoint=172.18.50.61:8041 Result: Unexpected exception for 172.18.50.61:8041/v1/resource/image?: No connection adapters were found for '172.18.50.61:8041/v1/resource/image?'

Asking for help, thank you.

chungg commented 7 years ago

"No connection adapters were found" is that a Kolla error?

sileht commented 7 years ago

On Thu, Aug 03, 2017 at 05:37:03AM -0700, YuXiao wrote:

Hello, I'm not configured Gnocchi & Grafana on OpenStack Cloud. The use of CLI on Kolla: gnocchi resource list --type image --endpoint=172.18.50.61:8041

maybe "gnocchi resource list --type image --endpoint=http://172.18.50.61:8041" ? -- Mehdi Abaakouk mail: sileht@sileht.net irc: sileht

YuXiaoCoder commented 7 years ago

I tried 'gnocchi resource list --type image --endpoint=http://172.18.50.204:8041', but 'The request you have made requires authentication. (HTTP 401)', I don't know how to authenticate.

I tried 'source /etc/kolla/admin-openrc.sh', Asking for help, Thank you. admin-openrc

How do I use Grafana?

grafana

sileht commented 7 years ago

On Fri, Aug 04, 2017 at 01:10:01AM +0000, YuXiao wrote:

I tried 'gnocchi resource list --type image --endpoint=http://172.18.50.204:8041', but 'The request you have made requires authentication. (HTTP 401)', I don't know how to authenticate.

I tried 'source /etc/kolla/admin-openrc.sh', Asking for help, Thank you. admin-openrc

Did you read http://gnocchi.xyz/gnocchiclient/shell.html#openstack-keystone-authentication ?

Can you paste the content of admin-openrc.sh ?

In think kolla have missed to put "export OS_AUTH_TYPE=password" inside.

-- Mehdi Abaakouk mail: sileht@sileht.net irc: sileht

YuXiaoCoder commented 7 years ago

Thank You.