grafana-gnocchi-datasource icon indicating copy to clipboard operation
grafana-gnocchi-datasource copied to clipboard

Gnocchi is unreachable or CORS is misconfigured

Open dardelean opened this issue 2 years ago • 0 comments

Hi,

The Gnocchi Grafana datasource is failing with Gnocchi is unreachable or CORS is misconfigured (detail: TypeError: NetworkError when attempting to fetch resource.) Grafana version is 8.2.1 and gnocchixyz-gnocchi-datasource has this fix applied.

Both Keystone and Gnocchi have this in their configs:

[cors]
allowed_origin = *
allow_methods = GET,POST,PUT,DELETE,OPTIONS,HEAD
allow_headers = X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token,X-Project-Id,X-Project-Name,X-Project-Domain-Id,X-Project-Domain-Name,X-Domain-Id,X-Domain-Name

But somehow the integration keep failing.

dardelean avatar Jun 06 '22 06:06 dardelean