Bug 1618522
| Summary: | [free-int] segfault running oc debug | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Justin Pierce <jupierce> |
| Component: | Node | Assignee: | Seth Jennings <sjenning> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Xingxing Xia <xxia> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.11.0 | CC: | aos-bugs, jcantril, jokerman, jupierce, mmccomas |
| Target Milestone: | --- | Keywords: | NeedsTestCase |
| Target Release: | 3.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-12-21 15:23:09 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
In this scenario, the `oc` version would be extremely helpful. You can run `oc version` on the command-line to gather that information. Thanks! The oc client was version 3.11.0-0.16.0. [root@free-int-master-3c664 ~]# oc version oc v3.11.0-0.16.0 kubernetes v1.11.0+d4cacc0 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://internal.api.free-int.openshift.com:443 openshift v3.11.0-0.16.0 kubernetes v1.11.0+d4cacc0 PR to fix the crash https://github.com/openshift/origin/pull/20697 Origin PR merged. Ready for QA. Verified in OCP v3.11.0-0.22.0, it is fixed. Closing bugs that were verified and targeted for GA but for some reason were not picked up by errata. This bug fix should be present in current 3.11 release content. |
Description of problem: Version-Release number of selected component (if applicable): 3.11.0-0.16.0 master, most nodes are 3.11.0-0.10.0 How reproducible: 100% . Occurred each time we tried the command. Actual results: # oc debug -t -c elasticsearch dc/logging-es-data-master-w6l9n07t -- bash Debugging with pod/logging-es-data-master-w6l9n07t-debug, original command: <image entrypoint> Waiting for pod to start ... If you don't see a command prompt, try pressing enter. Removing debug pod ... panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1795311] goroutine 1 [running]: github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd.(*AttachOptions).Run(0xc421420848, 0x0, 0xc4215f4e00) /builddir/build/BUILD/atomic-openshift-git-0.6bcbde8/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/attach.go:288 +0x1d1 github.com/openshift/origin/pkg/oc/cli/debug.(*DebugOptions).RunDebug.func3(0xc400000008, 0x2e1ac18) /builddir/build/BUILD/atomic-openshift-git-0.6bcbde8/_output/local/go/src/github.com/openshift/origin/pkg/oc/cli/debug/debug.go:469 +0x2fa github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/util/interrupt.(*Handler).Run(0xc4217447e0, 0xc421ab5810, 0x0, 0x0) /builddir/build/BUILD/atomic-openshift-git-0.6bcbde8/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/util/interrupt/interrupt.go:103 +0xff github.com/openshift/origin/pkg/oc/cli/debug.(*DebugOptions).RunDebug(0xc421420840, 0x0, 0x0) /builddir/build/BUILD/atomic-openshift-git-0.6bcbde8/_output/local/go/src/github.com/openshift/origin/pkg/oc/cli/debug/debug.go:431 +0xd86 github.com/openshift/origin/pkg/oc/cli/debug.NewCmdDebug.func1(0xc4214fdb80, 0xc421078f60, 0x2, 0x6) /builddir/build/BUILD/atomic-openshift-git-0.6bcbde8/_output/local/go/src/github.com/openshift/origin/pkg/oc/cli/debug/debug.go:171 +0xf7 github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).execute(0xc4214fdb80, 0xc421078720, 0x6, 0x6, 0xc4214fdb80, 0xc421078720) /builddir/build/BUILD/atomic-openshift-git-0.6bcbde8/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:760 +0x2c1 github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc42140b900, 0xc42000e010, 0xc42000e020, 0xc42140b900) /builddir/build/BUILD/atomic-openshift-git-0.6bcbde8/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:846 +0x30a github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).Execute(0xc42140b900, 0x2, 0xc42140b900) /builddir/build/BUILD/atomic-openshift-git-0.6bcbde8/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:794 +0x2b main.main() /builddir/build/BUILD/atomic-openshift-git-0.6bcbde8/_output/local/go/src/github.com/openshift/origin/cmd/oc/oc.go:49 +0x365