No such file or directory: '/var/snap/prometheus-openstack-exporter/common/<region_name>'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Prometheus Openstack Exporter Charm |
New
|
Medium
|
Unassigned | ||
prometheus-openstack-exporter-snap |
New
|
Unknown
|
Bug Description
On a fresh deploy of a unit using the charm, connecting to the unit and curling the /metrics endpoint results in the following error:
curl -s http://
Traceback (most recent call last):
File "/snap/
neutron = Neutron()
File "/snap/
with open(config[
IOError: [Errno 2] No such file or directory: '/var/snap/
Touching that file and trying again gives an EOF error.
So something needs to a) create the file, and b) populate it on unit creation.
Changed in charm-prometheus-openstack-exporter: | |
importance: | Undecided → Medium |
summary: |
- charm does not create metrics cache file + No such file or directory: '/var/snap/prometheus-openstack- + exporter/common/<region_name>' |
Changed in prometheus-openstack-exporter-snap: | |
status: | Unknown → New |
Changed in charm-prometheus-openstack-exporter: | |
status: | Incomplete → New |
Could you please provide us with a bundle and / or more instructions on how to reproduce the problem?