Add High availability service manager plugin to allow setting online|standby status of an HA clustered service participant

Bug #1122508 reported by Chad Smith on 2013-02-11
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
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/juju/units/$UNIT_NAME/health_checks.d/ which will return exit 0 on success and non-zero otherwise
  - 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/juju/units/$UNIT_NAME/remove_from_cluster script.

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/juju/units/$UNIT_NAME/add_to_cluster script

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

tags: removed: kanban
Chad Smith (chad.smith) on 2013-02-22
Changed in landscape-client:
status: In Progress → Fix Committed
Changed in landscape-client:
status: Fix Committed → Fix Released

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/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Dave Walker (davewalker) wrote :

Hello Chad, or anyone else affected,

Accepted landscape-client into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/landscape-client/13.07.3-0ubuntu0.12.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/PerformingSRUVerification . Thank you in advance!

Dave Walker (davewalker) wrote :

Hello Chad, or anyone else affected,

Accepted landscape-client into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/landscape-client/13.07.3-0ubuntu0.12.10 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/PerformingSRUVerification . Thank you in advance!

Dave Walker (davewalker) wrote :

Hello Chad, or anyone else affected,

Accepted landscape-client into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/landscape-client/13.07.3-0ubuntu0.13.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/PerformingSRUVerification . Thank you in advance!

Andreas Hasenack (ahasenack) wrote :

Verified for lucid, precise, quantal, raring.

tags: added: verification-done
removed: verification-needed

The verification of the Stable Release Update for landscape-client has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers