lp:~ajkavanagh/charm-helpers/support-maintenance-mode
- Get this branch:
- bzr branch lp:~ajkavanagh/charm-helpers/support-maintenance-mode
Branch merges
- Liam Young (community): Approve
-
Diff: 1459 lines (+1050/-191)3 files modifiedcharmhelpers/contrib/openstack/utils.py (+539/-118)
charmhelpers/core/host.py (+36/-14)
tests/contrib/openstack/test_openstack_utils.py (+475/-59)
Branch information
Recent revisions
- 542. By Alex Kavanagh
-
Simplify the list comprehensions around message generation as per gnuoy's
suggestions. They were a little unreadable. - 537. By Alex Kavanagh
-
Add pause_unit() and resume_unit() to contrib/
openstack/ utils.py This is to make it easier to write robust pause and resume actions for the
charms. These functions, with the appropriate params, will verify that
a unit is paused properly and resumed fully before returning cleanly. - 536. By Alex Kavanagh
-
Refactor of set_os_
workload_ status( ...) to include unit_paused check and
verify that the services/ports are actually stopped. - 535. By Alex Kavanagh
-
Add in check_actually_
paused( ) and tests to allow checking that services
are really stopped that should be. - 534. By Alex Kavanagh
-
Refactor set_os_
workload_ status( ) to be a bit simpler for checking
running services and open ports. This is to make it easier to
do the pause and resume functionality in Maintenance Mode.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:charm-helpers