Bug 1922919

Summary: catalog operator causing CPU spikes and bad etcd performance
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: OLMAssignee: Ben Luddy <bluddy>
OLM sub component: OLM QA Contact: Bruno Andrade <bandrade>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: bluddy, ecordell, florin-alexandru.peter, jiazha, krizza, llopezmo, oarribas, rheinzma
Version: 4.6Keywords: Reopened, Triaged
Target Milestone: ---   
Target Release: 4.6.z   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 07:51:50 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: 1920526    
Bug Blocks: 1928263    

Comment 3 Bruno Andrade 2021-02-08 15:53:04 UTC
Created 15 Catalog Source I don't see any significant cpu consumption and I see the updateStrategy reflecting the changes proposed in PR:

OCP Version: 4.6.0-0.nightly-2021-02-05-192240
OLM version: 0.16.1
git commit: c3913d239a01d7067069060935a49073818ffe32

oc get pods -n openshift-marketplace
NAME                                    READY   STATUS    RESTARTS   AGE
certified-operators-4j9t8               1/1     Running   0          3h45m
community-operators-xp75x               1/1     Running   0          3h53m
iib-1-zqmbr                             1/1     Running   0          7m19s
iib-10-zczh9                            1/1     Running   0          106s
iib-11-bl9df                            1/1     Running   0          91s
iib-12-pg7bh                            1/1     Running   0          82s
iib-13-4g4zm                            1/1     Running   0          52s
iib-14-vq646                            1/1     Running   0          44s
iib-15-28mvj                            1/1     Running   0          35s
iib-2-xcgg4                             1/1     Running   0          7m9s
iib-3-mwb6w                             1/1     Running   0          6m28s
iib-4-mh2fb                             1/1     Running   0          6m16s
iib-5-bh5lk                             1/1     Running   0          4m19s
iib-6-vlm72                             1/1     Running   0          2m37s
iib-7-hwcjq                             1/1     Running   0          2m27s
iib-8-v848h                             1/1     Running   0          2m12s
iib-9-xvtrh                             1/1     Running   0          2m1s
marketplace-operator-6b79bc6764-rm5wf   1/1     Running   0          10h
qe-app-registry-slrph                   1/1     Running   0          7h8m
redhat-marketplace-fm25l                1/1     Running   0          10h
redhat-operators-xz889                  1/1     Running   0          43m


oc get catalogsource redhat-operators -o yaml -n openshift-marketplace 
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  annotations:
    operatorframework.io/managed-by: marketplace-operator
  creationTimestamp: "2021-02-08T04:35:42Z"
  generation: 1
spec:
  displayName: Red Hat Operators
  icon:
    base64data: ""
    mediatype: ""
  image: registry.redhat.io/redhat/redhat-operator-index:v4.6
  priority: -100
  publisher: Red Hat
  sourceType: grpc
  updateStrategy:
    registryPoll:
      interval: 10m0s
status:
  connectionState:
    address: redhat-operators.openshift-marketplace.svc:50051
    lastConnect: "2021-02-08T15:37:41Z"
    lastObservedState: READY
  latestImageRegistryPoll: "2021-02-08T15:37:41Z"
  registryService:
    createdAt: "2021-02-08T05:01:37Z"
    port: "50051"
    protocol: grpc
    serviceName: redhat-operators
    serviceNamespace: openshift-marketplace

LGTM, marking as VERIFIED.

Comment 5 errata-xmlrpc 2021-02-17 19:25:10 UTC
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.17 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-2021:0424