diff --git a/ansible/roles/prometheus/defaults/main.yml b/ansible/roles/prometheus/defaults/main.yml index 3cd8ac0543..720a6fdd7b 100644 --- a/ansible/roles/prometheus/defaults/main.yml +++ b/ansible/roles/prometheus/defaults/main.yml @@ -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" diff --git a/ansible/roles/prometheus/templates/prometheus-openstack-exporter.json.j2 b/ansible/roles/prometheus/templates/prometheus-openstack-exporter.json.j2 index 6a65ee802a..60d9e5fd3b 100644 --- a/ansible/roles/prometheus/templates/prometheus-openstack-exporter.json.j2 +++ b/ansible/roles/prometheus/templates/prometheus-openstack-exporter.json.j2 @@ -9,11 +9,6 @@ } ], "permissions": [ - { - "path": "/data", - "owner": "prometheus:kolla", - "recurse": true - }, { "path": "/var/log/kolla/prometheus", "owner": "prometheus:kolla", diff --git a/releasenotes/notes/remove-prometheus-volume-from-openstack-exporter-f6bb5da3093abef8.yaml b/releasenotes/notes/remove-prometheus-volume-from-openstack-exporter-f6bb5da3093abef8.yaml new file mode 100644 index 0000000000..2976ec3530 --- /dev/null +++ b/releasenotes/notes/remove-prometheus-volume-from-openstack-exporter-f6bb5da3093abef8.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + No longer configures the Prometheus OpenStack exporter to use the + ``prometheus`` Docker volume, which was never required.