need min-cluster-size option to avoid racey bootstrap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
percona-cluster (Juju Charms Collection) |
Fix Released
|
High
|
Edward Hope-Morley |
Bug Description
Percona-cluster bootstrap is still racey in our charm when deploying > 1 unit. This appears to be a result multiple configure-
http://
Until we have leadership-election supported in the charms and stable in Juju we should add a config option similar to that used in the rabbitmq-server charm whereby the user can optionally tell the charm to wait for a certain number of units to be extant before it tries to configure/create the percona cluster.
Related branches
- James Page: Approve
- David Ames: Pending requested
-
Diff: 790 lines (+444/-77)10 files modifiedMakefile (+2/-2)
config.yaml (+6/-0)
hooks/percona_hooks.py (+113/-33)
hooks/percona_utils.py (+121/-0)
tests/10-deploy_test.py (+1/-1)
tests/40-test-bootstrap-single.py (+17/-0)
tests/41-test-bootstrap-multi-notmin.py (+41/-0)
tests/42-test-bootstrap-multi-min.py (+43/-0)
tests/basic_deployment.py (+83/-41)
unit_tests/test_percona_utils.py (+17/-0)
- James Page: Approve
-
Diff: 106 lines (+29/-24)3 files modifiedhooks/percona_hooks.py (+28/-2)
hooks/percona_utils.py (+0/-22)
unit_tests/test_percona_utils.py (+1/-0)
description: | updated |
tags: | added: backport-potential |
Changed in percona-cluster (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in percona-cluster (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |