Bug 1732614
Summary: | machine-api-operator panic: runtime error: invalid memory address or nil pointer dereference | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Seth Jennings <sjenning> |
Component: | Cloud Compute | Assignee: | Alberto <agarcial> |
Status: | CLOSED ERRATA | QA Contact: | sunzhaohua <zhsun> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.2.0 | CC: | agarcial, zhsun |
Target Milestone: | --- | ||
Target Release: | 4.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-16 06:30:48 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: |
Description
Seth Jennings
2019-07-23 21:50:07 UTC
This code issue was uncovered by a machine not becoming a node consistently for any reason, so it's worth investigating that Verifed. create a failed machine with 4.2.0-0.nightly-2019-07-21-222447 $ oc logs -f machine-api-operator-7ffdb69466-m447h panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1107923] goroutine 13867 [running]: github.com/openshift/machine-api-operator/pkg/metrics.MachineCollector.collectMachineMetrics(0x1644560, 0xc0003a61e0, 0x16445a0, 0xc0003a6200, 0xc000040044, 0x15, 0xc000107da0) /go/src/github.com/openshift/machine-api-operator/pkg/metrics/metrics.go:90 +0x2b3 github.com/openshift/machine-api-operator/pkg/metrics.(*MachineCollector).Collect(0xc00039e420, 0xc000107da0) /go/src/github.com/openshift/machine-api-operator/pkg/metrics/metrics.go:59 +0x4a github.com/openshift/machine-api-operator/vendor/github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1() /go/src/github.com/openshift/machine-api-operator/vendor/github.com/prometheus/client_golang/prometheus/registry.go:434 +0x193 created by github.com/openshift/machine-api-operator/vendor/github.com/prometheus/client_golang/prometheus.(*Registry).Gather /go/src/github.com/openshift/machine-api-operator/vendor/github.com/prometheus/client_golang/prometheus/registry.go:526 +0xe23 create a failed machine with 4.2.0-0.nightly-2019-07-21-222447, without this error. *** Bug 1733474 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2922 |