percona cluster next charm seeing issues in HA with 'hook failed: "shared-db-relation-changed" for mysql:shared-db'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
We have the percona cluster next charm rev 37 setup in a 3 node HA mode in LXC
containers, and are seeing a hook failure fairly consistantly across different
services (heat, glance, etc) while deploying:
'hook failed: "shared-
In the unit log, I see:
2014-10-02 05:39:02 INFO shared-
But looking on the mysql unit, I see:
mysql> select user, host from mysql.user where user = 'glance';
+------
| user | host |
+------
| glance | x.y.z.101 |
| glance | x.y.z.90 |
+------
mysql> show grants for 'glance'
+------
| Grants for glance@x.y.z.101 |
+------
| GRANT USAGE ON *.* TO 'glance'
| GRANT ALL PRIVILEGES ON `glance`.* TO 'glance'
+------
A quick duplication of the grants for 'glance'
juju resolved --retry on the glance unit works.
This seems like another issue with using LXCs and not getting the right
hostnames added for access.
Please let us know if you need any further information.
NOTE this consistently happens when deploying perconaas per its README:
1 unit at a time ( FYI if deployed with -n3 it doesn't show this
behavior).
Additionally, after resolving as per above and continuing with
deployment, at the end shows the issue filed at
lp#1376466: "credentials lacking from some percona mysql relations".