Merge lp:~james-page/charms/trusty/percona-cluster/1497527 into lp:~openstack-charmers-archive/charms/trusty/percona-cluster/next
Proposed by
James Page
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 75 | ||||
Proposed branch: | lp:~james-page/charms/trusty/percona-cluster/1497527 | ||||
Merge into: | lp:~openstack-charmers-archive/charms/trusty/percona-cluster/next | ||||
Diff against target: |
56 lines (+22/-3) 1 file modified
hooks/percona_hooks.py (+22/-3) |
||||
To merge this branch: | bzr merge lp:~james-page/charms/trusty/percona-cluster/1497527 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenStack Charmers | Pending | ||
Review via email: mp+271772@code.launchpad.net |
Description of the change
This change ensures that for configurations using access-network, access is only granted to IP addresses within the access-network CIDR, avoiding race conditions where the db_host presented to remote units get switch to the local access-network IP address for the PXC unit, allowed_hosts containers all remote unit names, but access has not been granted for all remote units for access-network IP addresses.
The old behaviour would grant access for any presented address, and then upgrade the grants to the new IP address once the remote units changed the 'hostname' relation data.
To post a comment you must log in.
charm_lint_check #10403 percona- cluster- next for james-page mp271772
LINT OK: passed
Build: http:// 10.245. 162.77: 8080/job/ charm_lint_ check/10403/