Merge lp://staging/~chad.smith/charms/precise/mysql/mysql-ha-with-health into lp://staging/charms/mysql

Proposed by Chad Smith
Status: Superseded
Proposed branch: lp://staging/~chad.smith/charms/precise/mysql/mysql-ha-with-health
Merge into: lp://staging/charms/mysql
Diff against target: 1376 lines (+1038/-149)
20 files modified
config.yaml (+36/-0)
hooks/common.py (+2/-2)
hooks/config-changed (+1/-1)
hooks/ha_relations.py (+146/-0)
hooks/install (+2/-1)
hooks/lib/ceph_utils.py (+256/-0)
hooks/lib/cluster_utils.py (+130/-0)
hooks/lib/utils.py (+283/-0)
hooks/master-relation-changed (+1/-1)
hooks/monitors.common.bash (+1/-1)
hooks/shared-db-relations (+0/-137)
hooks/shared_db_relations.py (+139/-0)
hooks/slave-relation-broken (+2/-2)
hooks/slave-relation-changed (+2/-2)
hooks/upgrade-charm (+17/-1)
metadata.yaml (+8/-0)
revision (+1/-1)
scripts/add_to_cluster (+2/-0)
scripts/health_checks.d/service_crm_access (+7/-0)
scripts/remove_from_cluster (+2/-0)
To merge this branch: bzr merge lp://staging/~chad.smith/charms/precise/mysql/mysql-ha-with-health
Reviewer Review Type Date Requested Status
Jerry Seutter Pending
Review via email: mp+155507@code.staging.launchpad.net

This proposal has been superseded by a proposal from 2013-03-26.

Description of the change

Add mysql health checks and add_to_cluster/remove_from_cluster scripts to mysql/ha-support charm. Landscape-client uses these scripts during rolling OpenStack upgrades to make sure mysql services are alive and well and that the HA vips are migrated off the current node in the event of a reboot.

Comparable changes have gone into most of the other openstack services.

To post a comment you must log in.
Revision history for this message
Chad Smith (chad.smith) wrote :

We only have a very simplistic health_check in this branch because mysql service is actually completing inoperable on the passive unit due to the ceph shared rados filesystem being shifted to the active leader of the HA service. Without the filesystem, we can't validate that mysql is in good health until this unit cycles back to active leader.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: