openstack-ansible/releasenotes/notes/mariadb-rolling-upgrades-323510425c3c7751.yaml
Darren Birkett fd690e1fc3 Better control of mariadb restarts in upgrades
This commit adds additional control around how the galera cluster
nodes are restarted during an upgrade (both the openstack upgrade
as well as mariadb upgrade). lxc config that gets added during the
lxc-container-create play would normally force a container restart.
This commit essentially does the following:

- run lxc-container-create on galera nodes but prevent container restarts
  from being triggered by the new lxc config that gets laid down
- run a mariadb upgrade
- run a controlled rolling restart of all mariadb cluster containers

Change-Id: I5d979eb15c471274cc14ce6f41c8ae479c5131d6
2016-08-05 12:46:58 +01:00

9 lines
429 B
YAML

---
upgrade:
- During upgrades, container and service restarts for the mariadb/galera
cluster were being triggered multiple times and causing the cluster to
become unstable and often unrecoverable. This situation has been improved
immensely, and we now have tight control such that restarts of the galera
containers only need to happen once, and are done so in a controlled,
predictable and repeatable way.