Bug 2019181 - Performance profile does not apply
Summary: Performance profile does not apply
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Telco Edge
Version: 4.9
Hardware: All
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.10.0
Assignee: Bart Wensley
QA Contact: yliu1
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-01 19:27 UTC by Bart Wensley
Modified: 2022-03-10 16:24 UTC (History)
0 users

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:24:30 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 802 0 None open Bug 2019181: ztp: Update PAO subscription catalog source 2021-11-15 15:16:44 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:24:44 UTC

Description Bart Wensley 2021-11-01 19:27:13 UTC
Description of problem:

When installing an SNO through ZTP, the performance profile does not apply. I think this is may be due the source-crs in the cnf-features-deploy repo adding an additional catalogsource for the performance-addon-operator. This causes the operator to appear in two catalogs:

NAME                                               CATALOG                                AGE
performance-addon-operator                         Red Hat Operators                      20h
performance-addon-operator                         Openshift Performance Addon Operator   6h29m

That seems to prevent the operator from being installed properly (at least in my case). The solution seems to be to update the subscription [1] to use redhat-operators as the source. Also, the extra catalogsource [2] is not required.

[1] https://github.com/openshift-kni/cnf-features-deploy/blob/release-4.9/ztp/source-crs/PaoSubscription.yaml
[2] https://github.com/openshift-kni/cnf-features-deploy/blob/release-4.9/ztp/source-crs/PaoSubscriptionCatalogSource.yaml

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

How reproducible:

Not sure - happened the first time I tried to install 4.9.

Steps to Reproduce:

1. Attempt to deploy an SNO using ZTP (gitops workflow with ArgoCD and RHACM)
2. Create a performance profile for the SNO.

Actual results:

The performance profile was not applied. The policy showed as NonCompliant with this message:
NonCompliant; violation - couldn't find mapping resource with kind PerformanceProfile, please check if you have CRD deployed

Expected results:

The performance profile is applied.

Additional info:

None

Comment 2 yliu1 2021-11-25 20:22:03 UTC
PAO now works the same as other oparators with redhat-operators being the default catalogsource.
Build: 4.10 nightly 11-24 with ztp image built from latest master.

Comment 5 errata-xmlrpc 2022-03-10 16:24:30 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.