Merge lp://staging/~niedbalski/charms/trusty/percona-cluster/fix-default-password-grant into lp://staging/~openstack-charmers-archive/charms/trusty/percona-cluster/trunk
Proposed by
Jorge Niedbalski
Status: | Merged |
---|---|
Approved by: | Edward Hope-Morley |
Approved revision: | 39 |
Merge reported by: | Edward Hope-Morley |
Merged at revision: | not available |
Proposed branch: | lp://staging/~niedbalski/charms/trusty/percona-cluster/fix-default-password-grant |
Merge into: | lp://staging/~openstack-charmers-archive/charms/trusty/percona-cluster/trunk |
Diff against target: |
39 lines (+13/-7) 1 file modified
hooks/percona_hooks.py (+13/-7) |
To merge this branch: | bzr merge lp://staging/~niedbalski/charms/trusty/percona-cluster/fix-default-password-grant |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenStack Charmers | Pending | ||
Edward Hope-Morley | Pending | ||
Review via email: mp+236408@code.staging.launchpad.net |
This proposal supersedes a proposal from 2014-09-29.
Description of the change
If no sst-password is specified then , a randomly generated one is created using pwgen. This
password is correctly set on the configuration file ( my.cnf ) but the replication permissions are set incorrectly.
The charm is performing:
GRANT RELOAD, LOCK TABLES, REPLICATION CLIENT ON *.* TO 'sstuser'
Replication:
$ juju deploy percona-cluster
$ juju add-unit percona-cluster
$ juju ssh 1 -e service mysql restart
This will fail due to no permissions for perform the reload on the cluster.
The linked branch , fixes this issue.
To post a comment you must log in.
$ make lint hooks.py: 91:41: E128 continuation line under-indented for visual indent
hooks/percona_
make: *** [lint] Error 1