troubleshoot
troubleshoot copied to clipboard
Pods generated by Troubleshoot, and terminating, show up in analysis result
Bug Description
See issue #767. Sometimes support-bundle results show in the analysis things like:
{
"name": "pod.default.troubleshoot.copyfromhost.pr7rc.plml8.status",
"labels": {
"desiredPosition": "1",
"iconKey": "",
"iconUri": ""
},
"insight": {
"name": "pod.default.troubleshoot.copyfromhost.pr7rc.plml8.status",
"labels": {
"iconKey": "",
"iconUri": ""
},
"primary": "Pod default/troubleshoot-copyfromhost-pr7rc-plml8 status",
"detail": "Status: Terminating",
"severity": "error"
},
"severity": "error",
"analyzerSpec": "",
"error": "Status: Terminating",
"involvedObject": {
"kind": "Pod",
"namespace": "default",
"name": "troubleshoot-copyfromhost-pr7rc-plml8",
"apiVersion": "v1"
}
},
Expected Behavior
Pods created by Troubleshoot, and rightfully terminating, shouldn't be in the analysis results as an error.
Steps To Reproduce
Have a support bundle that includes copyfromhost.
The issue is intermittent.
Additional Context
Include the following information.
- Troubleshoot version. If you built from source, note that including the version of Go you used to build with.
KOTS v1.100.3, which has Troubleshoot v0.68.0
- Operating system
- Operating system version
- Other details that might be helpful in diagnosing the problem
Additionally, note from a bundle recently received:
error: Pod default/troubleshoot-copyfromhost-fggwg-576sz status. Status: ContainerCreating
error: Pod default/troubleshoot-copyfromhost-fggwg-8qx4g status. Status: ContainerCreating
error: Pod default/troubleshoot-copyfromhost-fggwg-r8ftn status. Status: ContainerCreating