Merge lp:~danilo/charms/trusty/percona-cluster/autodetect-vip-cidr into lp:~openstack-charmers-archive/charms/trusty/percona-cluster/next
| Status: | Merged |
|---|---|
| Merged at revision: | 77 |
| Proposed branch: | lp:~danilo/charms/trusty/percona-cluster/autodetect-vip-cidr |
| Merge into: | lp:~openstack-charmers-archive/charms/trusty/percona-cluster/next |
| Diff against target: |
117 lines (+67/-4) 2 files modified
hooks/percona_hooks.py (+4/-3) unit_tests/test_percona_hooks.py (+63/-1) |
| To merge this branch: | bzr merge lp:~danilo/charms/trusty/percona-cluster/autodetect-vip-cidr |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| OpenStack Charmers | 2015-09-29 | Pending | |
|
Review via email:
|
|||
Description of the Change
Make percona-cluster auto-detect vip_cidr and vip_iface like other charms
percona-cluster is currently behaving differently from other OpenStack charms: it does not attempt to auto-detect a VIP CIDR at all.
This branch (which is mostly by Andreas) changes that to behave like all other charms: autodetect first, if it fails, use the passed-in config value.
I've added a few unit tests for all the cases.
charm_unit_test #10236 percona-
UNIT OK: passed
charm_amulet_test #6879 percona-
AMULET OK: passed
Build: http://
| Ryan Beisner (1chb1n) wrote : | # |
FYI, full amulet output: http://
Be aware, that the percona-cluster amulet tests are on my list to refactor and extend. Until then, these existing tests do exercise some basic functionality, on Trusty only.

charm_lint_check #11026 percona- cluster- next for danilo mp272813
LINT OK: passed
Build: http:// 10.245. 162.77: 8080/job/ charm_lint_ check/11026/