Remove unused configuration for prometheus-openstack-exporter

The Prometheus OpenStack exporter was needlessly configured to use the
prometheus Docker volume and change permissions of /data, which does
not exist in the container image.

This must have been copy-pasted from existing Prometheus code.

Change-Id: I96017c17e68ca7a00a2d5ac41f2f43ef87694514
This commit is contained in:
Pierre Riteau 2020-09-01 14:15:52 +02:00
parent 3316daad83
commit 295f8d1b43
3 changed files with 5 additions and 6 deletions

View File

@ -221,7 +221,6 @@ prometheus_openstack_exporter_default_volumes:
- "/etc/localtime:/etc/localtime:ro"
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_os_family == 'Debian' else '' }}"
- "kolla_logs:/var/log/kolla/"
- "prometheus:/var/lib/prometheus"
prometheus_elasticsearch_exporter_default_volumes:
- "{{ node_config_directory }}/prometheus-elasticsearch-exporter/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro"

View File

@ -9,11 +9,6 @@
}
],
"permissions": [
{
"path": "/data",
"owner": "prometheus:kolla",
"recurse": true
},
{
"path": "/var/log/kolla/prometheus",
"owner": "prometheus:kolla",

View File

@ -0,0 +1,5 @@
---
fixes:
- |
No longer configures the Prometheus OpenStack exporter to use the
``prometheus`` Docker volume, which was never required.