IndependentPlugin is not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
High
|
Ponnuvel Palaniyappan | ||
Focal |
Fix Released
|
High
|
Ponnuvel Palaniyappan | ||
Groovy |
Fix Released
|
High
|
Ponnuvel Palaniyappan | ||
Hirsute |
Fix Released
|
High
|
Ponnuvel Palaniyappan |
Bug Description
[IMPACT]
Regression found while doing the verification testing of (LP: #1913284)
As described by my colleague Ponnuvel:
"
The problem is that IndependentPlugin is not working in Focal's sosreport. The bcache plugin uses IndependentPlugin (as in, it's not tied to any specific Distro).
IndependentPlugin was broken at some point since Bionic and has been fixed upstream. (It's working on Bionic in 3.X series).
sosreport | 3.9.1-1ubuntu0.
sosreport | 4.0-1~ubuntu0.
sosreport | 4.0-1ubuntu2.2 | groovy-proposed
sosreport | 4.0-1ubuntu9 | hirsute
However, the sos report package on Focal, Groovy, and Hirsute all have the broken code.
"
It currently impacts plugins relying on "IndependentPlugin" to run such as the bcache plugin.
"IndependentPlugin" is a class for plugins that can run on any platform.
[TEST PLAN]
The patch includes a fix for the IndependentPlugin. Currently, bcache plugin uses the IndependentPlugin. So sosreport collection has to be tested on a machine with bcache deployment. The cherry-picked commit includes a number of other changes, so --all-logs and -a options would need to be used to ensure there's no other breakages.
[WHERE PROBLEM COULD OCCUR]
The IndependentPlugin may still not work - in that case, it'd only affect bcache plugin. Worse, the changes could affect other Plugin types and cause more regressions - affecting data collection for multiple plugins.
[OTHER INFORMATION]
Upstream bug:
https:/
Upstream commit:
https:/
description: | updated |
tags: | added: seg sts |
Changed in sosreport (Ubuntu): | |
assignee: | nobody → Ponnuvel Palaniyappan (pponnuvel) |
Changed in sosreport (Ubuntu Focal): | |
assignee: | nobody → Ponnuvel Palaniyappan (pponnuvel) |
Changed in sosreport (Ubuntu Groovy): | |
assignee: | nobody → Ponnuvel Palaniyappan (pponnuvel) |
status: | New → In Progress |
Changed in sosreport (Ubuntu Focal): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu): | |
status: | New → In Progress |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Attaching debdiff for focal.