Commit Graph

5 Commits

Author SHA1 Message Date
Liam Young 1d375cbbac Tests dir no longer need copy of charmhelpers
Charmhelpers is now installed via pip for unit tests so stop
'Make sync' from pulling it down.

Change-Id: I3cf07670ff649ebef957df9c8b5c908a66091a42
2018-10-10 12:41:30 +00:00
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
Frode Nordahl 818daebc8f Update repo to do ch-sync from Git
Change-Id: I65a1849c8288c1624fd59d4e10964ef98edd4188
2017-09-26 10:28:11 +02:00
Geoffrey J. Teale 8d964e7eac sync charmhelpers 2015-09-02 11:32:16 +02:00
Felipe Reyes 33f46e4a61 Add tests/charmhelpers/ 2015-04-15 16:23:37 +02:00