Bug 1870782
| Summary: | CatalogSource generate 2 pods and keep restarting | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ankita Thomas <ankithom> | |
| Component: | OLM | Assignee: | Ankita Thomas <ankithom> | |
| OLM sub component: | OLM | QA Contact: | Jian Zhang <jiazha> | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | medium | |||
| Priority: | high | CC: | ankithom, dageoffr, ecordell, jiazha, krizza, nhale, sgao | |
| Version: | 4.5 | Keywords: | UpcomingSprint | |
| Target Milestone: | --- | |||
| Target Release: | 4.5.z | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | No Doc Update | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1853601 | |||
| : | 1870784 (view as bug list) | Environment: | ||
| Last Closed: | 2020-09-21 17:42:05 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: | 1853601 | |||
| Bug Blocks: | 1870784 | |||
|
Comment 2
Kevin Rizza
2020-08-20 19:07:42 UTC
The PR is cherry-pick-approved and working its way through tests. It should merge this sprint, but if it doesn't it will be early next sprint.
Cluster version is 4.5.0-0.nightly-2020-09-12-063044, which contains the fixed PR.
[root@preserve-olm-env data]# oc -n openshift-operator-lifecycle-manager exec catalog-operator-6468cf8fb-z7gm7 -- olm --version
OLM version: 0.15.1
git commit: 4bcba8c2bae16ccb6cdf010028cedfae2c5e2d75
1, Create a CatalogSource CR that consume the index image.
[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: 20m
[root@preserve-olm-env data]# oc create -f cs-win.yaml
catalogsource.operators.coreos.com/wmco created
One pod generated, no restrat.
[root@preserve-olm-env data]# oc get pods
NAME READY STATUS RESTARTS AGE
...
wmco-bhfcp 1/1 Running 0 85s
2, After a while, only the update checking pod restart. The current serving pod doesn't restart. LGTM, verify it.
[root@preserve-olm-env data]# oc get pods
NAME READY STATUS RESTARTS AGE
...
wmco-4kt95 1/1 Running 0 45m
wmco-gh9bs 1/1 Running 0 35s
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.5.11 bug fix 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/RHBA-2020:3719 |