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

Bug #1122508 reported by Chad Smith
8
This bug affects 1 person
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/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)
Changed in landscape-client:
status: In Progress → Fix Committed
Changed in landscape-client:
status: Fix Committed → Fix Released
Revision history for this message
Dave Walker (davewalker) wrote : Please test proposed package

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
Revision history for this message
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!

Revision history for this message
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!

Revision history for this message
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!

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Verified for lucid, precise, quantal, raring.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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