Bug 1867802
| Summary: | Catalog polling intervals only occur every OLM sync cycle | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Daniel Sover <dsover> |
| Component: | OLM | Assignee: | Daniel Sover <dsover> |
| OLM sub component: | OLM | QA Contact: | Jian Zhang <jiazha> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | krizza |
| Version: | 4.5 | Keywords: | UpcomingSprint |
| Target Milestone: | --- | ||
| Target Release: | 4.6.0 | ||
| 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: | 2020-10-27 16:27:15 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: | 1878307 | ||
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 |
Cluster version is 4.6.0-0.nightly-2020-09-12-230035, which contains the fixed PR. [root@preserve-olm-env data]# oc -n openshift-operator-lifecycle-manager exec catalog-operator-694676c897-8rdgt -- olm --version OLM version: 0.16.1 git commit: 6d26c16166b232561132985e1132fce4b4d36532 1, Create a CatalogSource that its upgrade interval is 5 minutes. [root@preserve-olm-env data]# cat cs-win.yaml apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource metadata: name: wmco namespace: openshift-marketplace spec: displayName: Windows operators sourceType: grpc image: quay.io/sgaoshang/wmco-index:1.0.0 updateStrategy: registryPoll: interval: 5m [root@preserve-olm-env data]# oc create -f cs-win.yaml catalogsource.operators.coreos.com/wmco created 2, After 5 mins, check if the upgrade chekcing pod generated. [root@preserve-olm-env data]# oc get pods NAME READY STATUS RESTARTS AGE ... wmco-2dszf 1/1 Running 0 7m39s wmco-f2qhj 1/1 Running 0 25s As we can see, the checking pod generated after 7 mins, and less than 15 mins. LGTM, verify it.