openstack-ansible/releasenotes/notes/bindmount-logs-3c23aab5b5ed3440.yaml
Kevin Carter 992e616046
Implement container bind mount for all logs
All of the log directories for all containers will now be bind mounted to the
host. This change ensures that containers are not running into an issue with
Full file systems due to logs which is common when a container is backed by
a blocked device (lvm, zfs, btrfs).

Closes-Bug: #1588051
Change-Id: I25a481c0409f1a45494a8668f00c5393672e853c
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-08-29 21:59:42 -05:00

26 lines
1.3 KiB
YAML

---
features:
- Containers will now bind mount all logs to the physical host
machine in the "/openstack/log/{{ inventory_hostname }}"
location. This change will ensure containers using a block
backed file system (lvm, zfs, bfrfs) do not run into issues
with full file systems due to logging.
upgrade:
- When upgrading deployers will need to ensure they have a
backup of all logging from within the container prior to
running the playbooks. If the logging node is present within
the deployment all logs should already be sync'd with the
logging server and no action is required. As a pre-step it's
recommended that deployers clean up logging directories from
within containers prior to running the playbooks. After the
playbooks have run the bind mount will be in effect at
"/var/log" which will mount over all previous log files and
directories.
- Due to a new bind mount at "/var/log" all containers will be
restarted. This is a required restart. It is recommended that
deployers run the container restarts in serial to not impact
production workloads.
fixes:
- Logging within the container has been bind mounted to the hosts
this reslves issue `1588051 <https://bugs.launchpad.net/openstack-ansible/+bug/1588051>_`