Bug 2026343
Summary: | [upgrade from 4.5 to 4.6] .status.connectionState.address of catsrc community-operators is not correct | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | xzha |
Component: | OLM | Assignee: | Alexander Greene <agreene> |
OLM sub component: | OLM | QA Contact: | xzha |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | davegord, jmcmeek, tflannag |
Version: | 4.6 | ||
Target Milestone: | --- | ||
Target Release: | 4.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: Within the catalogSource resource, the RegistryServiceStatus stores service information that is used to generate an address that OLM relies on in order to establish a connection with the associated pod.
Consequence: If the RegistryStatusService is not nil and is missing the namespace, name, and port information for its service, OLM is unable to recover until the catalogService's associated pod has an invalid image or spec.
Fix: When reconciling a CatalogSource, OLM will now ensure that the RegistryServiceStatus of the catalogSource is valid and will update the catalogSource's status to reflect the change. Additionally, this address is stored within the status of the catalogSource within the status.GRPCConnectionState.Address field. If the address changes, OLM will update this field to reflect the new address as well.
Result: The `.status.connectionState.address` field within a catalogSource should no longer be nil.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-12 04:39:01 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
xzha
2021-11-24 12:13:45 UTC
A fix can be found here: https://github.com/operator-framework/operator-lifecycle-manager/pull/2499 *** Bug 1949279 has been marked as a duplicate of this bug. *** verify: upgrade to 4.10.0-0.nightly-2022-01-27-144113, no such issue, address is correct. zhaoxia@xzha-mac ~ % oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.10.0-0.nightly-2022-01-27-144113 True False 29m Cluster version is 4.10.0-0.nightly-2022-01-27-144113 zhaoxia@xzha-mac ~ % oc get catsrc -A -o yaml| grep address address: certified-operators.openshift-marketplace.svc:50051 address: community-operators.openshift-marketplace.svc:50051 address: qe-app-registry.openshift-marketplace.svc:50051 address: redhat-marketplace.openshift-marketplace.svc:50051 address: redhat-operators.openshift-marketplace.svc:50051 Check latest upgrade ci result, no such issue. LGTM, verified. 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 (Moderate: OpenShift Container Platform 4.10.3 security update), 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/RHSA-2022:0056 |