[plugin] [bcache] add a new bcache plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Medium
|
Ponnuvel Palaniyappan | ||
Bionic |
Fix Released
|
Medium
|
Ponnuvel Palaniyappan | ||
Focal |
Fix Released
|
Medium
|
Ponnuvel Palaniyappan | ||
Groovy |
Fix Released
|
Medium
|
Ponnuvel Palaniyappan | ||
Hirsute |
Fix Released
|
Medium
|
Ponnuvel Palaniyappan |
Bug Description
[Impact]
Gather bcache stats as part of sos report.
Bcache is often deployed as a "frontend" (typically using SSDs) for Ceph cluster's with HDDs to improve performance. When we are dealing with bcache performance or need to debug bcache, these stats are essential to identify the problem. The newly added plugin collects various stats on bcache.
[Test Case]
It's a new plugin. When sosreport is run on a system with bcache, a number of small files from /sys/fs/bcache and /sys/block/bcache should be collected with this plugin in place. On systems, without bcache, this should be a no-op.
[Where problems could occur]
Worst case scenarios could be:
- As with any plugin, this plugin, in theory, could potentially run indefinitely and timeout.
- Affect performance when run on a live system. There's one known case where querying the proiorty_stats [0] had such a problem. But it's not collected as part of this plugin.
But otherwise, the stats collection of bcache devices (even if there are many bcache devices deployed on a system) shouldn't affect anything on a live system and shouldn't get anywhere closer to timeout.
[Other Info]
upstream PR (merged): https:/
[0] https:/
Changed in sosreport (Ubuntu Hirsute): | |
assignee: | Eric Desrochers (slashd) → Ponnuvel Palaniyappan (pponnuvel) |
Changed in sosreport (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu Focal): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu Groovy): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in sosreport (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in sosreport (Ubuntu Groovy): | |
importance: | Undecided → Medium |
Changed in sosreport (Ubuntu Hirsute): | |
importance: | Undecided → Medium |
summary: |
- [SRU] [plugin] [bcache] add a new bcache plugin + [plugin] [bcache] add a new bcache plugin |
Changed in sosreport (Ubuntu Bionic): | |
status: | In Progress → New |
Changed in sosreport (Ubuntu Groovy): | |
status: | Fix Committed → In Progress |
Changed in sosreport (Ubuntu Bionic): | |
status: | New → In Progress |
Thanks for the bug report. I'm marking this bug as Triaged and subscribing ubuntu-server to it. When the feature is accepted upstream we can decide whether it makes sense to backport it or to wait for a new upstream release of the package.