[Feature] run the cron_sensors check as an action
Bug #1924863 reported by
Adam Dyess
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hw-health-charm |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Similar to LP1916042, but unique in that it would be nice to have an action to check-sensors from a juju action
juju run-action hw-health/<unit> check-sensors
All it's got to do is run the NRPE checks installed by the charm manually rather than waiting for cron to run them.
Related branches
charm-hw-health:xavpaice/bug/1924863
- 🤖 prod-jenkaas-bootstack: Approve (continuous-integration)
- James Troup (community): Approve
- Diko Parvanov: Needs Fixing
- BootStack Reviewers: Pending requested
-
Diff: 295 lines (+212/-1)6 files modifiedsrc/actions.yaml (+11/-0)
src/actions/actions.py (+67/-0)
src/actions/list-cron-actions (+1/-0)
src/actions/run-cron-action (+1/-0)
src/tests/unit/test_actions.py (+126/-1)
src/tests/unit/test_run_good_job_file.cron (+6/-0)
~xavpaice/charm-hw-health:bug/1924863
Rejected
for merging
into
charm-hw-health:master
- James Troup (community): Needs Fixing
- Tom Haddon (community): Abstain
- 🤖 prod-jenkaas-bootstack: Needs Fixing (continuous-integration)
- BootStack Reviewers: Pending (mr tracking; do not claim) requested
- BootStack Reviewers: Pending requested
- BootStack Reviewers: Pending requested
- Canonical BootStack Charmers: Pending requested
-
Diff: 256 lines (+179/-1)5 files modifiedsrc/actions.yaml (+10/-0)
src/actions/actions.py (+48/-0)
src/actions/list-cron-actions (+1/-0)
src/actions/run-cron-action (+1/-0)
src/tests/unit/test_actions.py (+119/-1)
Changed in charm-hw-health: | |
importance: | Undecided → Wishlist |
Changed in charm-hw-health: | |
status: | Confirmed → Fix Released |
milestone: | none → 21.10 |
To post a comment you must log in.
At the moment rerunning this check manually requires SSH access to the unit.