tripleo-heat-templates/common
Cédric Jeanneret 9cbfdfa146 Ensure /var/log/journal exists as soon as possible
It might happen the /var/log/journal directory doesn't exist on a host,
especially if this host is a VM (the image creation usually involves
deep cleaning of the logs).

This absence might lead to log loss with the default journald
configuration, which uses the "auto" Storage.
This "auto" means that:
- if /var/log/journal exists, journald will use it, and it will be
persistent
- if /var/log/journal doesn't exist, journald will use a volatile
location, /run/log/journal, which is dropped upon system reboot

Since logs are important, and "old" logs might be useful after a reboot,
it's better to ensure we have persistent storage for journald.

Related-Bug: #1856278
Change-Id: I93dcc57aff63b91dab475b0c114b278324434e41
2019-12-13 15:12:25 +01:00
..
services Ensure /var/log/journal exists as soon as possible 2019-12-13 15:12:25 +01:00
container-puppet.py container-puppet: SystemExit with RC 1 to actually error out 2019-12-09 18:31:43 -05:00
container-puppet.sh Drop file test before removal 2019-11-22 10:22:39 -07:00
container_startup_configs_tasks.yaml Do not log startup config output 2019-11-04 14:39:44 -07:00
deploy-steps-tasks-step-0.j2.yaml Ensure we set proper SELinux label on container-puppet.sh 2019-11-28 17:01:05 +01:00
deploy-steps-tasks-step-1.yaml Mode 0750 for /var/log/containers 2019-11-04 11:06:44 +01:00
deploy-steps-tasks.yaml deploy-steps-tasks/containers: set concurrency to 2 2019-12-09 02:57:47 +00:00
deploy-steps.j2 scale: fixes for compute scale down 2019-12-12 13:54:31 +00:00
post.j2.yaml Consolidate puppet/docker deployments with one deploy steps workflow 2017-08-11 17:25:02 +00:00