prometheus-openstack-exporter icon indicating copy to clipboard operation
prometheus-openstack-exporter copied to clipboard

Could not get hypervisor statistics

Open jeevadotnet opened this issue 6 years ago • 0 comments

2019-02-25 11:54:01,818:INFO:Trying to get token from 'https://api.xxxxxx:5000/v3'
2019-02-25 11:54:01,823:INFO:Starting new HTTPS connection (1): api.xxxxxxxx
2019-02-25 11:54:01,846:DEBUG:"POST /v3/auth/tokens HTTP/1.1" 401 114
2019-02-25 11:54:01,847:INFO:https://api.xxxxx:5000/v3/auth/tokens responded with status code 401
2019-02-25 11:54:01,847:ERROR:Cannot get a valid token from https://api.xxxxxx:5000/v3
2019-02-25 11:54:01,847:ERROR:https://api.xxxxxx:5000/v3 responded with code 401
2019-02-25 11:54:01,847:ERROR:'token'
2019-02-25 11:54:01,847:ERROR:failed to get data for cache key check_os_api
2019-02-25 11:54:01,847:ERROR:Service 'neutron' not found in catalog
2019-02-25 11:54:01,847:WARNING:Cannot get state of neutron workers
2019-02-25 11:54:01,847:ERROR:Service 'cinder' not found in catalog
2019-02-25 11:54:01,847:WARNING:Cannot get state of cinder workers
2019-02-25 11:54:01,847:ERROR:Service 'nova' not found in catalog
2019-02-25 11:54:01,847:WARNING:Cannot get state of nova workers
2019-02-25 11:54:01,848:ERROR:Service 'nova' not found in catalog
2019-02-25 11:54:01,848:WARNING:Could not get nova aggregates
2019-02-25 11:54:01,848:ERROR:Service 'nova' not found in catalog
2019-02-25 11:54:01,848:WARNING:Could not get hypervisor statistics

anyone know how to fix this ?

Launching with

sudo docker run --env-file /etc/prometheus-openstack-exporter/env.conf -d --name openstack-exporter -p 9103:9103 xxxxxx:5000/prometheus-openstack-exporter```

also the website metrics shows only?

sudo curl http://localhost:9103/metrics

HELP openstack_exporter_cache_refresh_duration_seconds Cache refresh duration in seconds.
TYPE openstack_exporter_cache_refresh_duration_seconds gauge
openstack_exporter_cache_refresh_duration_seconds{region="RegionOne"} 0.029609203338623047

jeevadotnet avatar Feb 25 '19 11:02 jeevadotnet