-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
4.13.z
-
Informational
-
No
-
OPECO 249
-
1
-
Rejected
-
False
-
Note: This is a re-opened issue of OCPBUGS-14108 because of the regression.
Description of problem:
Updates to the `.spec.updateStrategy.registryPoll.interval` fields for a default CatalogSource are reverted.
Version-Release number of selected component (if applicable):
4.13.9, 4.13.27, 4.13.32
How reproducible:
100%
Steps to Reproduce:
$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.13.9 True False 86m Cluster version is 4.13.9 $ oc get catalogsource -n openshift-marketplace redhat-operators -o jsonpath='{.spec.updateStrategy.registryPoll.interval}' 10m $ oc patch -n openshift-marketplace catalogsource/redhat-operators --type=merge -p '{"spec":{"updateStrategy":{"registryPoll":{"interval":"30m0s"}}}}' catalogsource.operators.coreos.com/redhat-operators patched
Actual results:
$ oc get catalogsource -n openshift-marketplace redhat-operators -o jsonpath='{.spec.updateStrategy.registryPoll.interval}' 10m $ oc logs -n openshift-marketplace deployment/marketplace-operator time="2024-02-09T08:53:44Z" level=info msg="[defaults] Restoring CatalogSource redhat-operators" time="2024-02-09T08:53:44Z" level=info msg="[defaults] CatalogSource redhat-operators is annotated and its spec is the same as the default spec"
Expected results:
In 4.13.9 the updated value remains: $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.13.9 True False 15d Cluster version is 4.13.9 $ oc get catalogsource -n openshift-marketplace redhat-operators -o jsonpath='{.spec.updateStrategy.registryPoll.interval}' 10m $ oc patch -n openshift-marketplace catalogsource/redhat-operators --type=merge -p '{"spec":{"updateStrategy":{"registryPoll":{"interval":"30m0s"}}}}' catalogsource.operators.coreos.com/redhat-operators patched $ oc get catalogsource -n openshift-marketplace redhat-operators -o jsonpath='{.spec.updateStrategy.registryPoll.interval}' 30m0s
Additional info: