Percona w/ hacluster vip not tied to mysql status
Bug #1426508 reported by
Billy Olsen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
percona-cluster (Juju Charms Collection) |
Fix Released
|
High
|
Felipe Reyes |
Bug Description
[Issue]
The percona-cluster only provides information to the hacluster charm to monitor a vip resource. This works well for node failures, but doesn't work well for certain application failures (e.g. mysql process dies). In the scenario where the mysql process dies, the VIP will not be transferred to another node in the cluster which can service requests. This results in a loss of access scenario.
[Steps to Recreate]
1. Deploy a percona-cluster with 3 nodes and pair with hacluster charm.
2. Stop the mysql processes on the node with the VIP
3. Observe VIP does not move to a host which can service the request.
Related branches
lp:~freyes/charms/trusty/percona-cluster/lp1426508
- James Page: Pending requested
- Mario Splivalo: Pending requested
- OpenStack Charmers: Pending requested
-
Diff: 2350 lines (+2141/-3)25 files modified.bzrignore (+3/-0)
Makefile (+7/-0)
charm-helpers-tests.yaml (+5/-0)
copyright (+22/-0)
hooks/percona_hooks.py (+35/-3)
hooks/percona_utils.py (+17/-0)
ocf/percona/mysql_monitor (+636/-0)
setup.cfg (+6/-0)
templates/my.cnf (+1/-0)
tests/00-setup.sh (+29/-0)
tests/10-deploy_test.py (+29/-0)
tests/20-broken-mysqld.py (+38/-0)
tests/30-kill-9-mysqld.py (+38/-0)
tests/basic_deployment.py (+151/-0)
tests/charmhelpers/__init__.py (+38/-0)
tests/charmhelpers/contrib/__init__.py (+15/-0)
tests/charmhelpers/contrib/amulet/__init__.py (+15/-0)
tests/charmhelpers/contrib/amulet/deployment.py (+93/-0)
tests/charmhelpers/contrib/amulet/utils.py (+316/-0)
tests/charmhelpers/contrib/openstack/__init__.py (+15/-0)
tests/charmhelpers/contrib/openstack/amulet/__init__.py (+15/-0)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+137/-0)
tests/charmhelpers/contrib/openstack/amulet/utils.py (+294/-0)
unit_tests/test_percona_hooks.py (+65/-0)
unit_tests/test_utils.py (+121/-0)
Changed in percona-cluster (Juju Charms Collection): | |
importance: | Undecided → High |
milestone: | none → 15.04 |
status: | New → Triaged |
Changed in percona-cluster (Juju Charms Collection): | |
assignee: | nobody → Felipe Reyes (freyes) |
tags: | added: openstack |
Changed in percona-cluster (Juju Charms Collection): | |
status: | Triaged → In Progress |
Changed in percona-cluster (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in percona-cluster (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
There some really good information in [0] which has some information on percona resource agents etc that we may want to spend some time investigating whether or not it makes sense for these charms.
[0] https:/ /github. com/percona/ percona- pacemaker- agents/ blob/master/ doc/PRM- setup-guide. rst