charm-percona-cluster/charmhelpers/contrib/storage/linux
David Ames 801c2e7829 Redesign cluster buildup process
In order to fix bug#1756928 the whole cluster buildup process needed to
be redesigned. The assumptions about what is_bootstrapped and clustered
meant and when to restart on configuration changed needed to be
re-evaluated.

The timing of restarts needed to be protected to avoid collisions.
Only bootstrapped hosts should go in to the
wsrep_cluster_address=gcomm:// setting. Adding or removing units should
be handled gracefully. Starting with a single unit and expanding to a
cluster must work.

This change guarantees mysqld is restarted when the configuration file
changes and meets all the above requirements. As a consequence of the redesign,
the workload status now more accurately reflects the state of the unit.

Charm-helpers sync to bring in distributed_wait fix.

Closes-Bug: #1756308
Closes-Bug: #1756928
Change-Id: I0742e6889b32201806cec6a0b5835e11a8027567
2018-03-29 09:24:05 -07:00
..
__init__.py Resync charmhelpers for licensing change 2016-07-06 16:42:34 +01:00
bcache.py Resync charm-helpers for support to change passwords 2017-07-28 16:23:05 -04:00
ceph.py Sync charm-helpers 2018-01-19 12:10:51 +00:00
loopback.py Resync charmhelpers for licensing change 2016-07-06 16:42:34 +01:00
lvm.py Redesign cluster buildup process 2018-03-29 09:24:05 -07:00
utils.py Enable artful amulet test 2017-11-15 11:21:32 +13:00