Bug 1798618
Summary: | unable to finalize resource | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jatan Malde <jmalde> | |
Component: | Image Registry | Assignee: | Ricardo Maraschini <rmarasch> | |
Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> | |
Severity: | low | Docs Contact: | ||
Priority: | medium | |||
Version: | 4.3.0 | CC: | adam.kaplan, aos-bugs, baptiste.millemathias, jkaur, obulatov, rmarasch, wewang, yhuang | |
Target Milestone: | --- | Keywords: | Reopened | |
Target Release: | 4.5.0 | |||
Hardware: | x86_64 | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause:
Delete registry configuration without a proper storage configuration.
Consequence:
The resource was never finalized due to the lack of storage configuration - the operator could not remove the storage as it does not know about.
Fix:
Making storage configuration optional.
Result:
Resource now is completely finalized.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1809466 1809467 (view as bug list) | Environment: | ||
Last Closed: | 2020-07-13 17:14:06 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: | 1809466, 1809467 |
Description
Jatan Malde
2020-02-05 17:00:00 UTC
Jatan, when the operator detects that it doesn't have the config resource, it runs Bootstrap() [1]. [1]: https://github.com/openshift/cluster-image-registry-operator/blob/0ba502438b44e663ae5adbacf0b4eb2bfd41aac0/pkg/operator/bootstrap.go#L33 Moving this ticket to version 4.5. We gonna need to create other tickets to back port the solution. Verified on 4.5.0-0.nightly-2020-03-30-203132: 1. On an UPI cluster, remove config: $oc delete crd configs.imageregistry.operator.openshift.io 2. Check image registry pod is gone and no below log in operator log: "unable to sync: unable to get generators: storage backend not configured, requeuing" 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-2020:2409 |