Bug 2028240 - Multiple CatalogSources causing higher CPU use than necessary
Summary: Multiple CatalogSources causing higher CPU use than necessary
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Telco Edge
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.10.0
Assignee: Ian Miller
QA Contact: yliu1
URL:
Whiteboard:
Depends On:
Blocks: 2028250
TreeView+ depends on / blocked
 
Reported: 2021-12-01 19:12 UTC by Ian Miller
Modified: 2022-03-10 16:31 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:31:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift-kni cnf-features-deploy pull 813 0 None Merged Bug 2028240: ztp: Use common CatalogSource for all subscriptions 2022-01-07 15:55:54 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:31:55 UTC

Description Ian Miller 2021-12-01 19:12:54 UTC
Description of problem:
The reference ZTP configuration uses a separate CatalogSource for each operator subscription. These operators will all be in the same disconnected registry in the target use case, and are all contained in the redhat-operators registry in connected environments. Using a single CatalogSource for all operators reduces CPU use by olm indexing and liveness/readiness probes.

Version-Release number of selected component (if applicable): 4.10


How reproducible: Always


Steps to Reproduce:
1. oc get CatalogSource -A on ZTP installed system

Actual results:
5 CatalogSources are reported


Expected results: 1 CatalogSource


Additional info:

Comment 2 yliu1 2022-01-12 19:00:45 UTC
Mark as verified based on results on cnfocto1. 

policies were combined into config-policy and deployment succeeded with 4.10 ztp-site-generator
cnfocto1              ztp-common-cnfocto1.common-cnfocto1-config-policy          inform               Compliant          4h23m
cnfocto1              ztp-common-cnfocto1.common-cnfocto1-du-validator-policy    inform               Compliant          4h23m
cnfocto1              ztp-common-cnfocto1.common-cnfocto1-subscriptions-policy   inform               Compliant          4h23m
cnfocto1              ztp-group-cnfocto1.group-cnfocto1-config-policy            inform               Compliant          4h23m
cnfocto1              ztp-site-cnfocto1.cnfocto1-config-policy                   inform               Compliant          4h23m

Comment 5 errata-xmlrpc 2022-03-10 16:31:35 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 (Moderate: OpenShift Container Platform 4.10.3 security 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/RHSA-2022:0056


Note You need to log in before you can comment on or make changes to this bug.