Add juju action for disabling units for maintenance
Bug #1916080 reported by
Haw Loeung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Repository Cache Charm |
Fix Released
|
Wishlist
|
Haw Loeung |
Bug Description
Hi,
In MP:397547 [1], we now ship out a new health-check endpoint. With that, there's the ability to mark specific ubuntu-
We should update the charm exposing this as a juju charm action rather than having to do the following:
| juju run --unit ubuntu-
[1]https:/
Related branches
lp:~hloeung/ubuntu-repository-cache/add-maintenance-mode-action
- James Simpson: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 151 lines (+122/-1)4 files modifiedactions.yaml (+9/-0)
actions/maintenance_mode.py (+48/-0)
tests/unit/test_actions.py (+64/-0)
tox.ini (+1/-1)
Changed in ubuntu-repository-cache: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
assignee: | nobody → Haw Loeung (hloeung) |
Changed in ubuntu-repository-cache: | |
status: | Triaged → In Progress |
Changed in ubuntu-repository-cache: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-repository-cache: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.