Merge lp:~tribaal/charms/trusty/rabbitmq-server/fix-le-ignore-min-cluster into lp:~openstack-charmers-archive/charms/trusty/rabbitmq-server/next
Status: | Work in progress |
---|---|
Proposed branch: | lp:~tribaal/charms/trusty/rabbitmq-server/fix-le-ignore-min-cluster |
Merge into: | lp:~openstack-charmers-archive/charms/trusty/rabbitmq-server/next |
Diff against target: |
204 lines (+52/-39) 4 files modified
Makefile (+1/-1) hooks/rabbit_utils.py (+23/-23) hooks/rabbitmq_server_relations.py (+19/-6) unit_tests/test_rabbit_utils.py (+9/-9) |
To merge this branch: | bzr merge lp:~tribaal/charms/trusty/rabbitmq-server/fix-le-ignore-min-cluster |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ryan Beisner (community) | Needs Information | ||
Geoff Teale (community) | Approve | ||
OpenStack Charmers | Pending | ||
Review via email: mp+274109@code.launchpad.net |
Description of the change
This branch fixes some comments about a previously merged branch (https:/
List of changes:
- Changed retry logic to actually work.
- Changed leader_node() to return something or None, but not a list with always only one element
- Changed a few things to use more pythonic idioms.
REVIEWERS: Please add your comments and approval/rejection but let me merge the branch myself (I have a sister branch targeting trunk I want to keep in sync)
Unmerged revisions
- 125. By Chris Glass
-
Removed introduced test.
- 124. By Chris Glass
-
Added missing unit tests dependency while we're at it.
- 123. By Chris Glass
-
Empty commit to kick of OSCI again.
- 122. By Chris Glass
-
Fix typo.
- 121. By Chris Glass
-
Added more logging and a slightly clearer logic.
- 120. By Chris Glass
-
Add Amulet test for trusty/
kilo/leader- election to ensure previously introduced
behavior actually works.Some refactoring around unecessary looping.
- 119. By Adam Collard
-
Address the review comments I made on stable branch
* leader_node() returns something or None
* Fix the retry logic which was crazy bonkers wrong
* Use better Python idioms
Added some inline notes to reviewers.