openstack-ansible/releasenotes/notes/add-lxc-container-restart-option-acf4cd9a20ef61e4.yaml
Gaudenz Steinlin 35d1415a22 Allow disabling container restarts
Allow a deployer to disable container restarts by setting
``lxc_container_allow_restarts`` to ``false``.

The tasks in common-tasks/os-lxc-container-setup.yml change some
container options that require a restart to be effective. If these
change during an upgrade this can cause uncoordinated LXC container
restarts of galera or rabbitmq containers.

This is a complement to the same option already present in the
lxc_container_create role.

Change-Id: Ib9b9daf816b0f62522997d2b0e66b6a5acd9a645
2017-12-01 22:41:36 +01:00

16 lines
681 B
YAML

---
features:
- A new variable has been added to allow a deployer to control
the restart of containers from common-tasks/os-lxc-container-setup.yml.
This new option is ``lxc_container_allow_restarts`` and has a
default of ``true``. If a deployer wishes to disable the
auto-restart functionality they can set this value to ``false``
and automatic container restarts will be disabled.
This is a complement to the same option already present in the
lxc_container_create role.
This option is useful to avoid uncoordinated restarts of galera
or rabbitmq containers if the LXC container configuration changes
in a way that requires a restart.