lp://staging/~thedac/charms/trusty/swift-storage/action-managed-upgrade
- Get this branch:
- bzr branch lp://staging/~thedac/charms/trusty/swift-storage/action-managed-upgrade
Branch merges
- OpenStack Charmers: Pending requested
-
Diff: 215 lines (+153/-2)6 files modifiedactions.yaml (+2/-1)
actions/openstack_upgrade.py (+34/-0)
charmhelpers/contrib/openstack/utils.py (+47/-0)
config.yaml (+10/-0)
hooks/swift_storage_hooks.py (+2/-1)
unit_tests/test_actions_openstack_upgrade.py (+58/-0)
Branch information
- Owner:
- David Ames
- Status:
- Development
Recent revisions
- 80. By Liam Young
-
[adam-collard, r=gnuoy] This is a follow up branch to https:/
/code.launchpad .net/~adam- collard/ charms/ trusty/ swift-storage/ add-pause- resume- actions/ +merge/ 268233 to prevent config-changed from blindly (re)starting services when the unit is paused. Normal flow is pause(), (optionally) change config -> changes should be persisted on disk, but nothing started. resume() -> services started.
- 79. By Liam Young
-
[adam-collard, r=gnuoy] This branch prevents the swift-storage charm from thinking there was an OpenStack upgrade available at every config-changed.
I had to update the Amulet tests because they were incorrectly asserting that all of the swift services should have been restarted following a change to object-
server- threads- per-disk. In fact, only the object services should be restarted, and only are (the test passed prior to this because of the bug in charm-helpers which caused the unconditional OpenStack upgrade, in turn restarting all of the services) - 77. By Corey Bryant
-
[beisner,
r=corey. bryant] Amulet test cleanup and trusty/vivid-kilo test enablement. - 74. By Liam Young
-
[adam-collard, r=gnuoy] This branch adds actions for pausing and resuming services on swift-storage units.
- 73. By Liam Young
-
[adam-collard, r=gnuoy] Sync charm-helpers and use the (new-ish) validate_
services_ by_name( ) utility to properly check that all swift services are starting.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)