100x increase on shared-db-relation-changed activity recent charm revisions

Bug #1389670 reported by JuanJo Ciarlante
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mysql (Juju Charms Collection)
Fix Released
High
Edward Hope-Morley
percona-cluster (Juju Charms Collection)
Fix Released
High
Edward Hope-Morley

Bug Description

branch: lp:~openstack-charmers/charms/trusty/percona-cluster/trunk

On a maas+juju openstack HA deployment over 8 metal hosts (1*MaaS +3*HA
+ 4*compute-storage, trusty charms from trunk), we are seeing a huge
increase on shared-db-relation-changed activity, compared with deployments
from about 1 month ago.

I deployed the same setup but with percona r36 instead, grepping + aggregating
":shared-db-relation-changed:" from all-machines.log gives (excerpt):

ubuntu@node0:~$ egrep -o [a-z0-9/-]+:shared-db-relation-changed: /var/log/juju/all-machines.log |sort | uniq -c
* percona r36:
334 neutron-api/0:shared-db-relation-changed:
336 neutron-api/1:shared-db-relation-changed:
362 neutron-api/2:shared-db-relation-changed:
307 neutron-gateway/0:shared-db-relation-changed:
406 neutron-gateway/1:shared-db-relation-changed:
436 neutron-gateway/2:shared-db-relation-changed:
420 nova-cloud-controller/0:shared-db-relation-changed:
570 nova-cloud-controller/1:shared-db-relation-changed:
508 nova-cloud-controller/2:shared-db-relation-changed:
* percona r39:
33832 neutron-api/0:shared-db-relation-changed:
34470 neutron-api/1:shared-db-relation-changed:
35117 neutron-api/2:shared-db-relation-changed:
14679 neutron-gateway/0:shared-db-relation-changed:
20094 neutron-gateway/1:shared-db-relation-changed:
17232 neutron-gateway/2:shared-db-relation-changed:
54147 nova-cloud-controller/0:shared-db-relation-changed:
52044 nova-cloud-controller/1:shared-db-relation-changed:
38299 nova-cloud-controller/2:shared-db-relation-changed:

-> full log: http://paste.ubuntu.com/8827847/

AFAICS r36,r37 look suspicious for potentially triggering this behavior.

Related branches

JuanJo Ciarlante (jjo)
tags: added: canonical-bootstack
tags: added: canonical-is
Revision history for this message
Peter Sabaini (peter-sabaini) wrote :

With r37 I get:

root@entz:~# egrep -o [a-z0-9/-]+:shared-db-relation-changed: /var/log/juju/all-machines.log |sort | uniq -c
    284 ceilometer/0:shared-db-relation-changed:
   1059 cinder/0:shared-db-relation-changed:
   1037 cinder/1:shared-db-relation-changed:
    301 cinder/2:shared-db-relation-changed:
    869 glance/0:shared-db-relation-changed:
    950 glance/1:shared-db-relation-changed:
    266 glance/2:shared-db-relation-changed:
    322 heat/0:shared-db-relation-changed:
   2470 keystone/0:shared-db-relation-changed:
   2948 keystone/1:shared-db-relation-changed:
    268 keystone/2:shared-db-relation-changed:
   1367 mysql/0:shared-db-relation-changed:
   1081 mysql/1:shared-db-relation-changed:
   1149 mysql/2:shared-db-relation-changed:
    893 neutron-api/0:shared-db-relation-changed:
    882 neutron-api/1:shared-db-relation-changed:
    677 neutron-api/2:shared-db-relation-changed:
    750 neutron-gateway/0:shared-db-relation-changed:
   1273 neutron-gateway/1:shared-db-relation-changed:
    991 neutron-gateway/2:shared-db-relation-changed:
   1521 nova-cloud-controller/0:shared-db-relation-changed:
   1604 nova-cloud-controller/1:shared-db-relation-changed:
    526 nova-cloud-controller/2:shared-db-relation-changed:
    983 nova-compute/0:shared-db-relation-changed:
    887 nova-compute/1:shared-db-relation-changed:
    875 nova-compute/2:shared-db-relation-changed:
    882 nova-compute/3:shared-db-relation-changed:

JuanJo Ciarlante (jjo)
description: updated
Liam Young (gnuoy)
Changed in mysql (Juju Charms Collection):
status: New → In Progress
importance: Undecided → Medium
importance: Medium → High
assignee: nobody → Liam Young (gnuoy)
Changed in mysql (Juju Charms Collection):
assignee: Liam Young (gnuoy) → Edward Hope-Morley (hopem)
affects: mysql (Juju Charms Collection) → percona-cluster (Juju Charms Collection)
Changed in percona-cluster (Juju Charms Collection):
milestone: none → 15.04
tags: added: backport-potential
Revision history for this message
Edward Hope-Morley (hopem) wrote :

See comments in duplicate bug 1415763. Basically the code that appears to be causing this issue is the same in mysql and percona-cluster. So i will first fix each and backport to 15.01 then i'll refactor for /next and move the code into charm-helpers.

Changed in mysql (Juju Charms Collection):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Edward Hope-Morley (hopem)
milestone: none → 15.04
summary: - percona charm: 100x increase on shared-db-relation-changed activity
- recent charm revisions
+ 100x increase on shared-db-relation-changed activity recent charm
+ revisions
Changed in percona-cluster (Juju Charms Collection):
status: In Progress → Fix Released
Changed in mysql (Juju Charms Collection):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.