lp:~ajkavanagh/charm-helpers/support-maintenance-mode

Created by Alex Kavanagh and last modified
Get this branch:
bzr branch lp:~ajkavanagh/charm-helpers/support-maintenance-mode
Only Alex Kavanagh can upload to this branch. If you are Alex Kavanagh please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Alex Kavanagh
Project:
Charm Helpers
Status:
Merged

Recent revisions

542. By Alex Kavanagh

Simplify the list comprehensions around message generation as per gnuoy's
suggestions. They were a little unreadable.

541. By Alex Kavanagh

Allow is_unit_paused_set() to fail to False to aid with testing

540. By Alex Kavanagh

Fix function description

539. By Alex Kavanagh

Merged parent

538. By Alex Kavanagh

Add @pausable_restart_on_change(...) decorator + tests

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.

533. By James Page

Add a remove erasure profile function.

Fix up a few type related bugs.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:charm-helpers
This branch contains Public information 
Everyone can see this information.

Subscribers