Glance not reporting all units to percona-cluster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance (Juju Charms Collection) |
Fix Released
|
High
|
James Page |
Bug Description
In symptoms which look remarkably similar to bug 1441811, but with Juju 1.22.1 on MAAS and therefore none of the SNAT issues, when glance tried to syncdb its connection to mysql (percona-cluster) got rejected.
The deployment was an Autopilot, two phased HA deployment, with waits between the phases to allow hacluster relations to settle. Percona-cluster units were deployed serially.
I've attached the full log, we can see that the charm (repeatedly) notes that 10.1.69.206 (glance/0) does not have a grant, the other units (glance/1 and glance/2) seem to have grants setup.
The traceback: http://
grep mysql-0.*glance: http://
The error went away when I "juju resolved --retry glance/0" by hand, several hours after the initial failure.
Related branches
- Liam Young (community): Approve
- Adam Collard (community): Approve
-
Diff: 65 lines (+23/-13)2 files modifiedhooks/glance_relations.py (+12/-11)
unit_tests/test_glance_relations.py (+11/-2)
description: | updated |
Changed in glance (Juju Charms Collection): | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in glance (Juju Charms Collection): | |
importance: | Undecided → High |
Changed in glance (Juju Charms Collection): | |
status: | New → In Progress |
assignee: | Liam Young (gnuoy) → James Page (james-page) |
milestone: | none → 15.04 |
Changed in glance (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in glance (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
unit-mysql-0[901]: 2015-04-09 16:48:14 DEBUG unit.mysql/ 0.juju- log cmd.go:247 cluster:2: Grant does NOT exist for host '10.1.69.206' on db 'glance' 0.juju- log cmd.go:247 cluster:2: Grant exists for host '10.1.69.234' on db 'glance' 0.juju- log cmd.go:247 cluster:2: Grant exists for host '10.1.69.223' on db 'glance'
unit-mysql-0[901]: 2015-04-09 16:48:14 DEBUG unit.mysql/
unit-mysql-0[901]: 2015-04-09 16:48:14 DEBUG unit.mysql/