Use kolla_logs volume for Elasticsearch
This patch mounts the kolla_logs volume into the Elasticsearch container so that logs are no longer written to the container filesystem. It is up to the user to migrate any existing logs into the kolla_logs volume, if they so desire. Closes-Bug: #1859162 Change-Id: Ia1743e202e310fc88a61476c80eadf3855256c20
This commit is contained in:
parent
ac62b560ff
commit
1917d1a9f5
@ -81,6 +81,7 @@ elasticsearch_default_volumes:
|
|||||||
- "{{ node_config_directory }}/elasticsearch/:{{ container_config_directory }}/"
|
- "{{ node_config_directory }}/elasticsearch/:{{ container_config_directory }}/"
|
||||||
- "/etc/localtime:/etc/localtime:ro"
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "{{ elasticsearch_datadir_volume }}:/var/lib/elasticsearch/data"
|
- "{{ elasticsearch_datadir_volume }}:/var/lib/elasticsearch/data"
|
||||||
|
- "kolla_logs:/var/log/kolla/"
|
||||||
elasticsearch_curator_default_volumes:
|
elasticsearch_curator_default_volumes:
|
||||||
- "{{ node_config_directory }}/elasticsearch-curator/:{{ container_config_directory }}/"
|
- "{{ node_config_directory }}/elasticsearch-curator/:{{ container_config_directory }}/"
|
||||||
- "/etc/localtime:/etc/localtime:ro"
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user