[plugin][k8s] Canonical Distribution of Kubernetes fixes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Undecided
|
Felipe Reyes | ||
Bionic |
Fix Released
|
Undecided
|
Felipe Reyes | ||
Focal |
Fix Released
|
Undecided
|
Felipe Reyes | ||
Groovy |
Fix Released
|
Undecided
|
Felipe Reyes | ||
Hirsute |
Fix Released
|
Undecided
|
Felipe Reyes |
Bug Description
[Impact]
Running sosreport in a CDK deployed environment won't collect as much information as the plugin could, this is because the kubectl calls are using the wrong paths for the kubeconfig files, this prevents from having more detailed sosreports on the state of the cluster which leads to a back and forth running extra commands to collect the rest of the data.
[Test Case]
* Deploy CDK: juju deploy charmed-kubernetes # https:/
* ssh into the kubernetes-master/0
* Run sosreport
Expected result:
The sosreport contains a 'kubernetes' directory where all the commands executed successfully
Actual result:
The sosreport contains a 'kubernetes' directory where some of the commands contain "Forbidden" errors.
find sosreport-*/ -type d -name kubernetes -exec grep -H -i forbidden {} \;
[Where problems could occur]
Any issues with this SRU should show themselves as failures in the execution of the kubernetes plugin and that can be verified in the sos.log file.
[Other Info]
Upstream:
https:/
https:/
tags: | added: seg sts |
tags: | added: sts-sponsor-slashd |
Changed in sosreport (Ubuntu Hirsute): | |
assignee: | nobody → Eric Desrochers (slashd) |
status: | New → In Progress |
Changed in sosreport (Ubuntu Groovy): | |
assignee: | nobody → Felipe Reyes (freyes) |
Changed in sosreport (Ubuntu Focal): | |
assignee: | nobody → Felipe Reyes (freyes) |
Changed in sosreport (Ubuntu Bionic): | |
assignee: | nobody → Felipe Reyes (freyes) |
Changed in sosreport (Ubuntu Hirsute): | |
assignee: | Eric Desrochers (slashd) → Felipe Reyes (freyes) |
Changed in sosreport (Ubuntu Groovy): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu Groovy): | |
status: | Fix Committed → In Progress |
Changed in sosreport (Ubuntu Bionic): | |
status: | New → In Progress |
This bug was fixed in the package sosreport - 4.0-1ubuntu6
---------------
sosreport (4.0-1ubuntu6) hirsute; urgency=medium
[Eric Desrochers] apt-move- unattended- upgrades- log-collection. patch
* d/p/0012-
(LP: #1906302)
[Ponnuvel Palaniyappan] bcache- add-a-new- plugin- for-bcache. patch
* d/p/0013-
(LP: #1913284)
[Felipe Reyes] k8s-add- cdk-master- auth-webhook- to-journal. patch k8s-fix- cdk-related- file-paths. patch
* d/p/0014-
* d/p/0015-
(LP: #1913583)
[Michael Biebl] systemd- prefer- resolvectl- over-systemd- resolve. patch
* d/p/0016-
(LP: #1913581)
-- Eric Desrochers <email address hidden> Fri, 29 Jan 2021 12:20:50 -0500