Merge lp:~danilo/charms/trusty/percona-cluster/autodetect-vip-cidr into lp:~openstack-charmers-archive/charms/trusty/percona-cluster/next
Proposed by
Данило Шеган
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 | Pending | ||
Review via email: mp+272813@code.launchpad.net |
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.
To post a comment you must log in.
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/