-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCPBUGS-44559: Manage TuneD profiles with the same name and different content #1216
base: master
Are you sure you want to change the base?
OCPBUGS-44559: Manage TuneD profiles with the same name and different content #1216
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jmencak The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
An example of creating duplicate profiles with conflicting content:
Profile 2
|
8658666
to
fad99f9
Compare
@jmencak: This pull request explicitly references no jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/hold |
fad99f9
to
47bacc5
Compare
/unhold |
47bacc5
to
2c82188
Compare
@jmencak: This pull request references Jira Issue OCPBUGS-44559, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira ([email protected]), skipping review request. The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
It is possible to create Tuned CRs with TuneD profiles of the same name. This is problematic when the duplicate TuneD profiles have different contents. This can cause periodic switches between the duplicate TuneD profiles and will lead to TuneD restarts. This change makes the operator control loop stop to avoid switching between the conflicting TuneD profiles of the same name and warns about this misconfiguration via: * Tuned CR status and prometheus metric (nto_invalid_tuned_exist_info) * NTOInvalidTunedExist alert * ERROR message issued in the operator logs Other changes: * Switch the ProfileStatusCondition condition type to StatusCondition. This is cosmetic only, all fields are preserved. * Obsolete pod label-based matching. Trigger an alert (NTOPodLabelsUsed) for this. Fixes: OCPBUGS-44559.
2c82188
to
a6c6575
Compare
/retest |
1 similar comment
/retest |
@jmencak: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
@MarSik , can you please take a look if this is the direction we want to go? I'd like to ask for a pre-merge testing from the QE. |
/hold |
It is possible to create Tuned CRs with TuneD profiles of the same name.
This is problematic when the duplicate TuneD profiles have different
contents. This can cause periodic switches between the duplicate TuneD
profiles and will lead to TuneD restarts.
This change makes the operator control loop stop to avoid switching
between the conflicting TuneD profiles of the same name and warns about
this misconfiguration via:
Other changes:
StatusCondition. This is cosmetic only, all fields are preserved.
(NTOPodLabelsUsed) for this.
Fixes: OCPBUGS-44559.