colocation constraint missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack HA Cluster Charm |
Fix Released
|
High
|
Liam Young |
Bug Description
On deploying percona cluster with hacluster subordinate the colocation constraint was missing from the pacemaker configuration.
The lead hacluster unit shows the following error:
2018-12-12 14:20:05 DEBUG hanode-
2018-12-12 14:20:05 DEBUG hanode-
2018-12-12 14:20:05 DEBUG hanode-
2018-12-12 14:20:05 DEBUG hanode-
It looks like the charm attempts to create the constraint before the clone resource has been created. Subsequently manually running the ha-relation-changed hook in a debug-hooks session causes the constraint to be created.
Changed in charm-hacluster: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Liam Young (gnuoy) |
milestone: | none → 19.04 |
Changed in charm-hacluster: | |
status: | Confirmed → In Progress |
Changed in charm-hacluster: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/624714 /git.openstack. org/cgit/ openstack/ charm-hacluster /commit/ ?id=2ca245127e5 7f13aef9083d6a0 e0fbef4c48041a
Committed: https:/
Submitter: Zuul
Branch: master
commit 2ca245127e57f13 aef9083d6a0e0fb ef4c48041a
Author: Liam Young <email address hidden>
Date: Wed Dec 12 14:43:56 2018 +0000
Reorder colocation creation
A colocation constraint may reference a clone resource (which
percona-cluster charm does). So, the colocation must be created
after the clones.
Closes-Bug: #1808166 77535fe64687af1 1055b932c27
Change-Id: I304df954b2f814