Bug 2019181

Summary: Performance profile does not apply
Product: OpenShift Container Platform Reporter: Bart Wensley <bwensley>
Component: Telco EdgeAssignee: Bart Wensley <bwensley>
Telco Edge sub component: ZTP QA Contact: yliu1
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified    
Version: 4.9   
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:24:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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