Bug 1779995

Summary: Packagemanifest get/list is very slow
Product: OpenShift Container Platform Reporter: Nick Hale <nhale>
Component: OLMAssignee: Nick Hale <nhale>
OLM sub component: OLM QA Contact: Bruno Andrade <bandrade>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: high CC: ecordell, jiazha, scolange, tbuskey
Version: 4.3.0   
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1779990 Environment:
Last Closed: 2020-01-23 11:17:47 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: 1779990    
Bug Blocks: 1787597    

Comment 6 Bruno Andrade 2019-12-18 22:28:19 UTC
Getting all packages with `kubectl get packagemanifests` with the following operator sources took 2 ms. Moving to VERIFIED.

Cluster Version: 4.3.0-0.nightly-2019-12-18-105351
OLM version: 0.13.0
git commit: bda7125152ec70b693bc8b78090c3bd9b7e1331a


I1218 22:25:13.140147       1 httplog.go:90] GET /apis/packages.operators.coreos.com/v1?timeout=32s: (2.535824ms) 200 [hyperkube/v1.16.2 (linux/amd64) kubernetes/e310886/system:serviceaccount:kube-system:resourcequota-controller 10.130.0.1:58350]

oc get operatorsource -n openshift-marketplace
NAME                  TYPE          ENDPOINT              REGISTRY              DISPLAYNAME           PUBLISHER   STATUS      MESSAGE                                       AGE
certified-operators   appregistry   https://quay.io/cnr   certified-operators   Certified Operators   Red Hat     Succeeded   The object has been successfully reconciled   5h19m
community-operators   appregistry   https://quay.io/cnr   community-operators   Community Operators   Red Hat     Succeeded   The object has been successfully reconciled   5h19m
redhat-operators      appregistry   https://quay.io/cnr   redhat-operators      Red Hat Operators     Red Hat     Succeeded   The object has been successfully reconciled   5h19m

Comment 8 errata-xmlrpc 2020-01-23 11:17:47 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, 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:0062