openstack-ansible-lxc_conta.../releasenotes/notes/journal-link-3c23aab5b5ed3441.yaml
Kevin Carter 72a16fd9e5 Add container journal linking
The container and host can link journals giving operators the ability to
log stream and check on the health of a system without needing to login
(attach) to the container. This change implements journal linking for
LXC containers following the reference systemd specification.

Reference implementation:
https://www.freedesktop.org/software/systemd/man/systemd-nspawn.html#--link-journal=

Change-Id: Id68cf39a77b5dd9c13c010829b47cd7a414378bc
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-03-24 01:45:25 +00:00

15 lines
731 B
YAML

---
features:
- In a greenfield deployment containers will now bind link
their journals to the physical host machine in the
``/var/log/journal/{{ machine_id }}`` location. During an
upgrade this change will be added to the container config but
will not go into effect until the container is restarted.
Because the restart is not forced the operator can perform
restarts to best suit the needs of their environment.
Journal linking provides operators the ability to log stream
and health check containerized systems without having to
attach or otherwise login. If this feature is not needed or
desired it can be disabled by setting the option
``lxc_container_journal_link`` to *false*.