lp:~billy-olsen/charms/trusty/hacluster/lp1394008.quorum-fix
- Get this branch:
- bzr branch lp:~billy-olsen/charms/trusty/hacluster/lp1394008.quorum-fix
Branch merges
- OpenStack Charmers: Pending requested
-
Diff: 995 lines (+794/-16)13 files modified.bzrignore (+1/-0)
.coveragerc (+10/-0)
Makefile (+11/-2)
charm-helpers.yaml (+1/-0)
config.yaml (+5/-0)
hooks/charmhelpers/contrib/openstack/utils.py (+486/-0)
hooks/hooks.py (+49/-8)
hooks/pcmk.py (+26/-5)
templates/corosync.conf (+15/-1)
unit_tests/__init__.py (+2/-0)
unit_tests/test_hacluster_hooks.py (+59/-0)
unit_tests/test_pcmk.py (+29/-0)
unit_tests/test_utils.py (+100/-0)
Branch information
- Owner:
- Billy Olsen
- Status:
- Development
Recent revisions
- 40. By Billy Olsen
-
Updates from Testing:
- Remove role from pcmk.Node
- fix corosync.conf template
- differentiate unit_name vs unit_ip in hooks.get_ha_nodes - 39. By Billy Olsen
-
[wolsen,r=]
Always specify the nodelist to corosync to allow for corosync to
calculate the number of votes required for quorum. This scenario
also modifies the id generation code for corosync to reuse the
id from any nodes which are known to corosync. - 34. By James Page
-
[james-
page,r= gnuoy,r= *] Refactor hacluster charm 1) supports reconfiguration of cluster resources from principle charm
2) direct configuration of mcastport and bindiface via juju configuration
3) quorum policy based on expected size of cluster
2 = ignore quorum loss
3 = stop on quorum loss4) conditional restarting of corosync/pacemaker as required.
It's all just a bit nicer to use now!
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:charms/hacluster