diff --git a/ansible/roles/elasticsearch/defaults/main.yml b/ansible/roles/elasticsearch/defaults/main.yml index 4d57b85c0d..20e7e3021b 100644 --- a/ansible/roles/elasticsearch/defaults/main.yml +++ b/ansible/roles/elasticsearch/defaults/main.yml @@ -81,6 +81,7 @@ elasticsearch_default_volumes: - "{{ node_config_directory }}/elasticsearch/:{{ container_config_directory }}/" - "/etc/localtime:/etc/localtime:ro" - "{{ elasticsearch_datadir_volume }}:/var/lib/elasticsearch/data" + - "kolla_logs:/var/log/kolla/" elasticsearch_curator_default_volumes: - "{{ node_config_directory }}/elasticsearch-curator/:{{ container_config_directory }}/" - "/etc/localtime:/etc/localtime:ro" diff --git a/releasenotes/notes/fix-issue-with-elasticsearch-kolla-logs-a0ba85d91d1a2c31.yaml b/releasenotes/notes/fix-issue-with-elasticsearch-kolla-logs-a0ba85d91d1a2c31.yaml new file mode 100644 index 0000000000..e50f56d0b8 --- /dev/null +++ b/releasenotes/notes/fix-issue-with-elasticsearch-kolla-logs-a0ba85d91d1a2c31.yaml @@ -0,0 +1,8 @@ +--- +fixes: + - | + The kolla_logs Docker volume is now mounted into the Elasticsearch + container to expose logs which were previously written erroneously + to the container filesystem (bug 1859162). It is up to the user to + migrate any existing logs if they so desire and this should be + done before applying this fix.