Skip to content
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

Bug 1998247: Reload when deps of recommended profile change. #267

Conversation

jmencak
Copy link
Contributor

@jmencak jmencak commented Aug 30, 2021

This change fixes operand's behavior during administrator-initiated changes of TuneD profiles that the currently recommended TuneD profile depends on. Now, changes to any such dependent profile and changes to the recommended TuneD profile will cause TuneD daemon reload.

Resolves rhbz#1998247.

@openshift-ci openshift-ci bot added the bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. label Aug 30, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 30, 2021

@jmencak: This pull request references Bugzilla bug 1998247, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.9.0) matches configured target release for branch (4.9.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

No GitHub users were found matching the public email listed for the QA contact in Bugzilla (skordas@redhat.com), skipping review request.

In response to this:

Bug 1998247: Reload when deps of recommended profile change.

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/test-infra repository.

@openshift-ci openshift-ci bot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Aug 30, 2021
@openshift-ci openshift-ci bot requested review from kpouget and zvonkok August 30, 2021 18:33
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 30, 2021
@jmencak
Copy link
Contributor Author

jmencak commented Aug 30, 2021

/uncc @zvonkok
/cc @dagrayvid

@openshift-ci openshift-ci bot requested review from dagrayvid and removed request for zvonkok August 30, 2021 18:34
@jmencak
Copy link
Contributor Author

jmencak commented Aug 31, 2021

/test e2e-upgrade

@jmencak
Copy link
Contributor Author

jmencak commented Aug 31, 2021

/retest

@jmencak
Copy link
Contributor Author

jmencak commented Aug 31, 2021

/joke
/test all

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 31, 2021

@jmencak: I asked the surgeon if I could administer my own anesthetic, they said: go ahead, knock yourself out.

In response to this:

/joke
/test all

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/test-infra repository.

pkg/tuned/tuned.go Outdated Show resolved Hide resolved
@kpouget
Copy link

kpouget commented Aug 31, 2021

thanks for the PR @jmencak, I went through the code and I think it all makes sense! the logic was complex to follow (by nature), but I think I managed to follow the thread :)

/lgtm
/hold <-- I let you unhold when ready to merge

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 31, 2021
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 31, 2021
This change fixes operand's behavior during administrator-initiated
changes of TuneD profiles that the currently recommended TuneD profile
depends on.  Now, changes to any such dependent profile and changes to the
recommended TuneD profile will cause TuneD daemon reload.

Resolves rhbz#1998247.
@jmencak jmencak force-pushed the 4.9-bz1998247-deps_of_recommended branch from 3b5322c to 6c7f05e Compare August 31, 2021 08:11
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 31, 2021
@jmencak
Copy link
Contributor Author

jmencak commented Aug 31, 2021

/hold cancel
Updated the comment as per reviewer comments.

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 31, 2021
@kpouget
Copy link

kpouget commented Aug 31, 2021

thanks @jmencak
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 31, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 31, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jmencak, kpouget

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit b126edf into openshift:master Aug 31, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 31, 2021

@jmencak: All pull requests linked via external trackers have merged:

Bugzilla bug 1998247 has been moved to the MODIFIED state.

In response to this:

Bug 1998247: Reload when deps of recommended profile change.

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/test-infra repository.

@jmencak jmencak deleted the 4.9-bz1998247-deps_of_recommended branch August 31, 2021 11:35
@jmencak
Copy link
Contributor Author

jmencak commented Aug 31, 2021

/cc @skordas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants