Bug 1870784
| 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, jiazha, krizza, nhale, sgao |
| Version: | 4.4 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.4.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1870782 | Environment: | |
| Last Closed: | 2020-11-11 04:57:09 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: | 1870782 | ||
| Bug Blocks: | |||
|
Comment 1
Kevin Rizza
2020-08-20 19:07:06 UTC
Cluster version is 4.4.0-0.nightly-2020-10-21-225937
[root@preserve-olm-env data]# oc -n openshift-operator-lifecycle-manager exec catalog-operator-684d987cfc-cqzgr -- olm --version
OLM version: 0.14.2
git commit: 8fb5f8c63a35b9f8ef1937a9dc7b616c400e3c07
[root@preserve-olm-env data]# oc get catalogsource
NAME DISPLAY TYPE PUBLISHER AGE
certified-operators Certified Operators grpc Red Hat 36m
community-operators Community Operators grpc Red Hat 36m
redhat-marketplace Red Hat Marketplace grpc Red Hat 36m
redhat-operators Red Hat Operators grpc Red Hat 36m
[root@preserve-olm-env data]# oc get pods
NAME READY STATUS RESTARTS AGE
certified-operators-766679c7df-h6ll7 1/1 Running 0 36m
community-operators-8447f45467-2xz2k 1/1 Running 0 36m
marketplace-operator-6d5f4577c6-sg99j 1/1 Running 0 41m
redhat-marketplace-5b6c55f948-pzc8n 1/1 Running 0 36m
redhat-operators-59b888b688-dndmh 1/1 Running 0 36m
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: 5m
[root@preserve-olm-env data]# oc create -f cs-win.yaml
catalogsource.operators.coreos.com/wmco created
[root@preserve-olm-env data]# oc get pods
NAME READY STATUS RESTARTS AGE
certified-operators-766679c7df-h6ll7 1/1 Running 0 42m
community-operators-8447f45467-2xz2k 1/1 Running 0 42m
marketplace-operator-6d5f4577c6-sg99j 1/1 Running 0 48m
redhat-marketplace-5b6c55f948-pzc8n 1/1 Running 0 42m
redhat-operators-59b888b688-dndmh 1/1 Running 0 42m
wmco-nxdtp 1/1 Running 0 4m37s
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
certified-operators-766679c7df-h6ll7 1/1 Running 0 63m
community-operators-8447f45467-2xz2k 1/1 Running 0 63m
marketplace-operator-6d5f4577c6-sg99j 1/1 Running 0 69m
redhat-marketplace-5b6c55f948-pzc8n 1/1 Running 0 63m
redhat-operators-59b888b688-dndmh 1/1 Running 0 63m
wmco-kl2nw 1/1 Running 0 97s
wmco-nxdtp 1/1 Running 0 25m
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.4.30 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:4321 |