Merge lp:~gnuoy/charm-helpers/current-dc-leader into lp:charm-helpers
Proposed by
Liam Young
on 2015-05-14
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merged at revision: | 374 | ||||
| Proposed branch: | lp:~gnuoy/charm-helpers/current-dc-leader | ||||
| Merge into: | lp:charm-helpers | ||||
| Diff against target: |
112 lines (+63/-0) 2 files modified
charmhelpers/contrib/hahelpers/cluster.py (+25/-0) tests/contrib/hahelpers/test_cluster_utils.py (+38/-0) |
||||
| To merge this branch: | bzr merge lp:~gnuoy/charm-helpers/current-dc-leader | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Adam Collard (community) | Needs Fixing on 2015-05-15 | ||
| James Page | 2015-05-14 | Approve on 2015-05-15 | |
|
Review via email:
|
|||
To post a comment you must log in.
| Liam Young (gnuoy) wrote : | # |
lp:~gnuoy/charm-helpers/current-dc-leader
updated
on 2015-05-15
- 375. By Liam Young on 2015-05-15
-
Use constant for DC resource string and add doc string
lp:~gnuoy/charm-helpers/current-dc-leader
updated
on 2015-05-15
- 376. By Liam Young on 2015-05-15
-
Fix unit test for is_crm_leader to use DC_RESOURCE_NAME
review:
Needs Fixing


This mp implements freyes suggestion of using pacemaker Designated Controller as a way to determine leadership. See https:/ /bugs.launchpad .net/charms/ +source/ percona- cluster/ +bug/1452365/ comments/ 9