New deploys of nova-compute charm sometimes go into a relation-changed loop
Bug #1415763 reported by
Paul Gear
This bug report is a duplicate of:
Bug #1389670: 100x increase on shared-db-relation-changed activity recent charm revisions.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-compute (Juju Charms Collection) |
In Progress
|
Medium
|
Edward Hope-Morley |
Bug Description
On a new deploy of the nova-compute charm, 2 out of 5 deploys have resulted in nova-compute going into a loop running two different relation-changed hooks. I'll attach a log of the ceilometer subordinate charm on the same host, showing the nova-compute cycling between these two hooks. I've also confirmed that the two hooks run successfully using debug-hooks.
I suspect a race condition between nova-compute and one of the other OpenStack components. I'll also attach our juju status brief output, showing the units with failures.
tags: | added: openstack |
tags: | added: canonical-bootstack |
tags: | added: cts |
Changed in nova-compute (Juju Charms Collection): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Edward Hope-Morley (hopem) |
milestone: | none → 15.04 |
tags: | added: backport-potential |
To post a comment you must log in.
I wonder if this is the same issue we saw with percona-cluster bug 1389670.
If your relations are spinning could you please try:
Get relid:
juju run --unit nova-compute/0 "relation-ids shared-db"
Then:
juju run --unit nova-compute/0 "relation-get -r <relid> - mysql/0" > 1
juju run --unit nova-compute/0 "relation-get -r <relid> - mysql/0" > 2
juju run --unit nova-compute/0 "relation-get -r <relid> - mysql/0" > 3
juju run --unit nova-compute/0 "relation-get -r <relid> - mysql/0" > 4
Then diff 1 2, diff 2 3 etc and paste the output. If it looks like the the settings are changing/toggling on each run then it is likely the same issue we are seing with Percona and would require the same fix.
Also, you can actually do without relating db with nova-compute unless you are using nova-network