troubleshoot icon indicating copy to clipboard operation
troubleshoot copied to clipboard

Pods generated by Troubleshoot, and terminating, show up in analysis result

Open xavpaice opened this issue 2 years ago • 1 comments

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

xavpaice avatar Jul 23 '23 23:07 xavpaice

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

xavpaice avatar Jul 26 '23 04:07 xavpaice