Add check for bcaches with no caching device
Bug #1922254 reported by
Drew Freiberger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-bcache-tuning |
Fix Released
|
Undecided
|
Nikita Koltsov |
Bug Description
We should expand hw-health and/or bcache-tuning to monitor for less-than-ideal states for bcache devices such as:
/sys/block/
/sys/block/
Any /sys/block/
- only one disk path (only a backing store)...should match up with "no cache" state.
- i/o erroring/missing disk paths (not sure how to check this w/out hanging monitor in d-state)
/dev/bcache* devices existing but no bcache-tuning charm deployed to the metal.
Related branches
~nkoltsov/charm-bcache-tuning:master
- Giuseppe Petralia: Approve
- BootStack Reviewers: Pending (mr tracking; do not claim) requested
- BootStack Reviewers: Pending requested
-
Diff: 316 lines (+249/-4)6 files modifiedsrc/files/check_bcache.py (+88/-0)
src/layer.yaml (+5/-4)
src/lib/charms/layer/bcache-tuning.py (+1/-0)
src/metadata.yaml (+4/-0)
src/reactive/bcache_tuning.py (+60/-0)
src/tests/unit/test_files_check_bcache.py (+91/-0)
Changed in charm-hw-health: | |
assignee: | nobody → Nikita Koltsov (nkoltsov) |
Changed in charm-bcache-tuning: | |
assignee: | nobody → Nikita Koltsov (nkoltsov) |
Changed in charm-bcache-tuning: | |
status: | New → In Progress |
Changed in charm-bcache-tuning: | |
status: | In Progress → Fix Committed |
no longer affects: | charm-hw-health |
Changed in charm-bcache-tuning: | |
milestone: | none → 22.10 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.