Bug 1879426
Summary: | registry operator panics: interface conversion: cache.DeletedFinalStateUnknown is not v1.Object: missing method GetAnnotations | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Oleg Bulatov <obulatov> |
Component: | Image Registry | Assignee: | Oleg Bulatov <obulatov> |
Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.5 | CC: | aos-bugs, bgilbert |
Target Milestone: | --- | ||
Target Release: | 4.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: type assertions were made twice for a variable, and the second time its result was not checked
Consequence: the assertions were false for cache.DeletedFinalStateUnknown and the second one caused panic
Fix: use checked type assertions
Result: the operator does not panic
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 16:41:19 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1886603 |
Description
Oleg Bulatov
2020-09-16 09:37:06 UTC
https://storage.googleapis.com/origin-ci-test/logs/release-openshift-origin-installer-e2e-azure-4.6/1306480842607955968/artifacts/e2e-azure/pods/openshift-image-registry_cluster-image-registry-operator-6f4895bbdd-bqpln_cluster-image-registry-operator.log https://storage.googleapis.com/origin-ci-test/logs/release-openshift-origin-installer-e2e-azure-4.6/1306459023775633408/artifacts/e2e-azure/pods/openshift-image-registry_cluster-image-registry-operator-94c8f6454-g9cpg_cluster-image-registry-operator.log Verified according to above logs. Since this is targeted for 4.6, I gather we're going to continue seeing test failures for it in 4.5? Accordingly, I've added "Undiagnosed panic detected in pod" to the environment list, which will unfortunately cause unrelated undiagnosed panics to drop off of build-watchers' radar. Removing the test from the environment list again, since I misunderstood how Sippy correlates BZs: https://github.com/openshift/sippy/issues/128#issuecomment-705797307 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 |