Bug 1863810
Summary: | panic: "invalid memory address or nil pointer dereference" while resyncing | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Antonio Ojea <aojeagar> |
Component: | Cloud Compute | Assignee: | Danil Grigorev <dgrigore> |
Cloud Compute sub component: | Other Providers | QA Contact: | sunzhaohua <zhsun> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | aos-bugs, juzhao, mfojtik |
Version: | 4.6 | ||
Target Milestone: | --- | ||
Target Release: | 4.6.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: | 2020-10-27 16:22:34 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
Antonio Ojea
2020-08-03 17:27:53 UTC
This error[1] isn't being checked properly, causing the `existing` to be nil and leading to this panic. Handling the error properly should solve this issue. We also need to make sure we add tests for this code as it isn't tested currently. [1]: https://github.com/openshift/machine-api-operator/blob/79ac5f8a00976701665f8cc42f324cd5a810fcd0/pkg/operator/webhook_configuration.go#L172-L177 From the test result, didn't meet this again, move this to verified. https://prow.ci.openshift.org/pr-history/?org=openshift&repo=machine-api-operator&pr=684 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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196 |