Add High availability service manager plugin to allow setting online|standby status of an HA clustered service participant
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
High
|
Chad Smith |
Bug Description
Add an HA Server manager plugin to allow enabling and disabling a units active participation in an HA clustered service.
The manager will execute external scripts to disable a unit from active HA participation, validate health of the charmed service and re-enable the healthy charmed service in the HA-cluster.
This manager will depend on charms which surface the following:
- A set of health scripts at /var/lib/
- A script to disable the charmed service from active participation in the HA-cluster which returns 0 on success
- A script to enable the charmed service as an active participant in the HA-cluster which returns 0 on success
This is one step in a process for Openstack HA services managed by JUJU during a rolling upgrade.
1. HAServiceManager will disable the unit from the cluster via execution of charm's /var/lib/
2. When package upgrades are done, HAServiceManager will validate the service is started and healthy via the charm's health scripts.
3. HAServiceManager will bring the unit back into the cluster with a call to the charm's /var/lib/
If these scripts don't exist. Landscape-client will log a warning locally but process as if it has obtained successful return codes from the charm.
Related branches
- Jerry Seutter (community): Approve
- Christopher Armstrong (community): Approve
-
Diff: 597 lines (+547/-3)5 files modifiedlandscape/manager/config.py (+1/-1)
landscape/manager/haservice.py (+205/-0)
landscape/manager/tests/test_config.py (+2/-1)
landscape/manager/tests/test_haservice.py (+331/-0)
landscape/message_schemas.py (+8/-1)
tags: | removed: kanban |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
tags: |
added: verification-done removed: verification-needed |
Hello Chad, or anyone else affected,
Accepted landscape-client into lucid-proposed. The package will build now and be available at http:// launchpad. net/ubuntu/ +source/ landscape- client/ 13.07.3- 0ubuntu0. 10.04 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!