Bug 2033224 - The controller does not watch for changes under the tuned profile status
Summary: The controller does not watch for changes under the tuned profile status
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Performance Addon Operator
Version: 4.10
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 4.10.0
Assignee: Artyom
QA Contact: Gowrishankar Rajaiyan
URL:
Whiteboard:
Depends On:
Blocks: 2033225
TreeView+ depends on / blocked
 
Reported: 2021-12-16 09:34 UTC by Artyom
Modified: 2022-03-10 19:34 UTC (History)
2 users (show)

Fixed In Version: performance-addon-operator-container-v4.10.0-18
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 19:34:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2022:0640 0 None None None 2022-03-10 19:34:50 UTC

Description Artyom 2021-12-16 09:34:49 UTC
Description of problem:
PAO controller does not watch for changes under the tuned profile status that prevent correct reflection of tuned profile status under the performance profile.

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

How reproducible:
Always

Steps to Reproduce:
1. Run e2e test https://github.com/openshift-kni/performance-addon-operators/blob/3644ec5779580f30962e0cf9c12548a235d6194e/functests/3_performance_status/status.go#L119
2.
3.

Actual results:
The test fails.

Expected results:
The test should pass.

Additional info:

Comment 3 Shereen Haj Makhoul 2021-12-20 06:48:54 UTC
Verification:
Run TC 40402 on the fixed image performance-addon-operator-container-v4.10.0-18. 

output:
[2021-12-17T10:15:34.031Z] Status testing of performance profile [rfe_id:28881][performance] Performance Addons detailed status 
[2021-12-17T10:15:34.031Z]   [test_id:40402] Tuned profile status tied to Performance Profile
[2021-12-17T10:15:34.031Z]   /home/jenkins/workspace/CNF/cnf-compute-4.10/performance-addon-operators/functests/3_performance_status/status.go:119
[2021-12-17T10:15:34.031Z] STEP: Waiting for performance profile condition to be Degraded
[2021-12-17T10:16:05.400Z] STEP: Deleting bad Tuned and waiting when Degraded state is removed
[2021-12-17T10:16:36.139Z] 
[2021-12-17T10:16:36.139Z] • [SLOW TEST:60.045 seconds]
[2021-12-17T10:16:36.139Z] Status testing of performance profile
[2021-12-17T10:16:36.139Z] /home/jenkins/workspace/CNF/cnf-compute-4.10/performance-addon-operators/functests/3_performance_status/status.go:30
[2021-12-17T10:16:36.139Z]   [rfe_id:28881][performance] Performance Addons detailed status
[2021-12-17T10:16:36.139Z]   /home/jenkins/workspace/CNF/cnf-compute-4.10/performance-addon-operators/functests/3_performance_status/status.go:57
[2021-12-17T10:16:36.139Z]     [test_id:40402] Tuned profile status tied to Performance Profile
[2021-12-17T10:16:36.139Z]     /home/jenkins/workspace/CNF/cnf-compute-4.10/performance-addon-operators/functests/3_performance_status/status.go:119
[2021-12-17T10:16:36.139Z] ------------------------------
[2021-12-17T10:16:38.762Z] 
[2021-12-17T10:16:38.762Z] JUnit report was created: /home/jenkins/workspace/CNF/cnf-compute-4.10/artifacts/4.10/unit_report_performance_status.xml
[2021-12-17T10:16:38.762Z] 
[2021-12-17T10:16:38.762Z] Ran 4 of 4 Specs in 126.355 seconds
[2021-12-17T10:16:38.762Z] SUCCESS! -- 4 Passed | 0 Failed | 0 Flaked | 0 Pending | 0 Skipped

According to the above, the test passed successfully without any issues.

Comment 5 errata-xmlrpc 2022-03-10 19:34:25 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.10 low-latency extras 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/RHEA-2022:0640


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