Bug 2107045
| Summary: | OLM updates namespace labels even if they haven't changed | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
| Component: | OLM | Assignee: | Alexander Greene <agreene> |
| OLM sub component: | OLM | QA Contact: | xzha |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | jkeister, tflannag |
| Version: | 4.11 | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Target Release: | 4.11.z | ||
| 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: | 2022-08-23 15:08:36 UTC | Type: | --- |
| 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: | 2105045 | ||
| Bug Blocks: | |||
|
Description
OpenShift BugZilla Robot
2022-07-14 08:14:49 UTC
verify
zhaoxia@xzha-mac test % oc exec catalog-operator-8478f466b9-hhrd4 -- olm --version
OLM version: 0.19.0
git commit: 131ce3b85c7b631d562d421d3910b83caaa3add3
1, create a new project
zhaoxia@xzha-mac test % oc new-project test-1
2, create og
zhaoxia@xzha-mac test % cat og.yaml
kind: OperatorGroup
apiVersion: operators.coreos.com/v1
metadata:
name: og-single
namespace: test-1
spec:
targetNamespaces:
- test-1
zhaoxia@xzha-mac test % oc apply -f og.yaml
operatorgroup.operators.coreos.com/og-single created
zhaoxia@xzha-mac test % oc get og -n test-1
NAME AGE
og-single 10s
3, check olm operator log
zhaoxia@xzha-mac test % oc logs olm-operator-598bdb8b67-stdxh | grep test-1
zhaoxia@xzha-mac test %
no log "* sync {"update" "test-2"} *"
LGTM, verified.
verify: zhaoxia@xzha-mac openshift-tests-private % oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.11.0-0.nightly-2022-08-17-152830 True False 9m40s Cluster version is 4.11.0-0.nightly-2022-08-17-152830 zhaoxia@xzha-mac openshift-tests-private % oc exec catalog-operator-6474488b6f-npcvk -- olm --version OLM version: 0.19.0 git commit: 8a984d41acc67c0bc9bfe807fadeef23f83abd44 1, create ns tets-1 zhaoxia@xzha-mac openshift-tests-private % oc new-project test-1 Now using project "test-1" on server "https://api.ci-ln-p3ry48k-72292.origin-ci-int-gce.dev.rhcloud.com:6443". 2) create og zhaoxia@xzha-mac openshift-tests-private % cat ~/test/og.yaml kind: OperatorGroup apiVersion: operators.coreos.com/v1 metadata: name: og-single namespace: test-1 spec: targetNamespaces: - test-1 zhaoxia@xzha-mac openshift-tests-private % oc apply -f ~/test/og.yaml operatorgroup.operators.coreos.com/og-single created 3) check olm operator log zhaoxia@xzha-mac openshift-tests-private % oc logs olm-operator-7bd54cfc85-pxcfc | grep test-1 zhaoxia@xzha-mac openshift-tests-private % oc logs catalog-operator-6474488b6f-npcvk | grep test-1 zhaoxia@xzha-mac openshift-tests-private % no log "* sync {"update" "test-1"} *" 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.11.1 bug fix and 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:6103 |