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

Jira PSAP-1288: NTO operand cleanup #970

Merged

Conversation

jmencak
Copy link
Contributor

@jmencak jmencak commented Feb 26, 2024

In preparation for running TuneD prior to kubelet, make things simpler and cleaner.

Notable changes:

  • Even though there is currently no namespace collision with TuneD using in /var/lib/tuned, change this path to /var/lib/ocp-tuned
  • Remove bin/run. While this means a little code duplication across Containerfiles, we no longer need to do anything special at run time. This should make things easier for the future.
  • Do not inherit --enable-leader-election and --version NTO flags as they are not handled by subcommands anyway (yet)
  • Remove openshift-tuned binary and use NTO subcommand instead.
  • /var/lib/tuned/profiles-data is no longer used, remove it.
  • Remove openshift-tuned PID file code. It is no longer used.
  • Clean up after PR844

Copy link
Contributor

openshift-ci bot commented Feb 26, 2024

@jmencak: GitHub didn't allow me to request PR reviews from the following users: jmencak.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

In preparation for running TuneD prior to kubelet, make things simpler and cleaner.

Notable changes:

  • Even though there is currently no namespace collision with TuneD using in/var/lib/tuned, change this path to /var/lib/ocp-tuned
  • Remove bin/run. While this means a little code duplication across Containerfiles, we no longer need to do anything special at run time. This should make things easier for the future.
  • Do not inherit --enable-leader-election and --version NTO flags as they are not handled by subcommands anyway (yet)
  • Remove openshift-tuned binary and use NTO subcommand instead.
  • /var/lib/tuned/profiles-data is no longer used, remove it.
  • Remove openshift-tuned PID file code. It is no longer used.
  • Clean up after PR844

/cc

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 26, 2024
In preparation for running TuneD prior to kubelet, make things simpler
and cleaner.

Notable changes:
  * Even though there is currently no namespace collision with TuneD
    using in/var/lib/tuned, change this path to /var/lib/ocp-tuned
  * Remove bin/run.  While this means a little code duplication across
    Containerfiles, we no longer need to do anything special at run
    time.  This should make things easier for the future.
  * Do not inherit --enable-leader-election and --version NTO flags
    as they are not handled by subcommands anyway (yet)
  * Remove openshift-tuned binary and use NTO subcommand instead.
  * /var/lib/tuned/profiles-data is no longer used, remove it.
  * Remove openshift-tuned PID file code.  It is no longer used.
  * Clean up after PR844
@jmencak jmencak changed the title NTO operand cleanup Jira PSAP-1288: NTO operand cleanup Feb 26, 2024
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 26, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Feb 26, 2024

@jmencak: This pull request references PSAP-1288 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set.

In response to this:

In preparation for running TuneD prior to kubelet, make things simpler and cleaner.

Notable changes:

  • Even though there is currently no namespace collision with TuneD using in/var/lib/tuned, change this path to /var/lib/ocp-tuned
  • Remove bin/run. While this means a little code duplication across Containerfiles, we no longer need to do anything special at run time. This should make things easier for the future.
  • Do not inherit --enable-leader-election and --version NTO flags as they are not handled by subcommands anyway (yet)
  • Remove openshift-tuned binary and use NTO subcommand instead.
  • /var/lib/tuned/profiles-data is no longer used, remove it.
  • Remove openshift-tuned PID file code. It is no longer used.
  • Clean up after PR844

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.

@jmencak
Copy link
Contributor Author

jmencak commented Feb 26, 2024

/cc @yanirq @MarSik @Tal-or

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Feb 26, 2024

@jmencak: This pull request references PSAP-1288 which is a valid jira issue.

In response to this:

In preparation for running TuneD prior to kubelet, make things simpler and cleaner.

Notable changes:

  • Even though there is currently no namespace collision with TuneD using in /var/lib/tuned, change this path to /var/lib/ocp-tuned
  • Remove bin/run. While this means a little code duplication across Containerfiles, we no longer need to do anything special at run time. This should make things easier for the future.
  • Do not inherit --enable-leader-election and --version NTO flags as they are not handled by subcommands anyway (yet)
  • Remove openshift-tuned binary and use NTO subcommand instead.
  • /var/lib/tuned/profiles-data is no longer used, remove it.
  • Remove openshift-tuned PID file code. It is no longer used.
  • Clean up after PR844

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.

Copy link
Contributor

openshift-ci bot commented Feb 26, 2024

@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/test-infra repository. I understand the commands that are listed here.

@yanirq
Copy link
Contributor

yanirq commented Feb 26, 2024

Until when do we need to maintain Dockerfile.rhel8 ?

@jmencak
Copy link
Contributor Author

jmencak commented Feb 26, 2024

Until when do we need to maintain Dockerfile.rhel8 ?

As long as 4.12 is supported, because it is the last one, where NTO uses RHEL8 as the base. I'd say we can safely drop it after January 17, 2025.

Copy link
Contributor

@MarSik MarSik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. I will let Yanir issue the last lgtm as he had a question.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 27, 2024
Copy link
Contributor

openshift-ci bot commented Feb 27, 2024

[APPROVALNOTIFIER] This PR is APPROVED

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

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-merge-bot openshift-merge-bot bot merged commit 11ca6b4 into openshift:master Feb 27, 2024
15 checks passed
@jmencak jmencak deleted the 4.16-openshift-tuned-cleanup branch February 27, 2024 09:14
@yanirq
Copy link
Contributor

yanirq commented Feb 27, 2024

This looks good to me. I will let Yanir issue the last lgtm as he had a question.

lgtm as well (although the bot already has interpreted the comment as lgtm)

@MarSik
Copy link
Contributor

MarSik commented Feb 27, 2024

Heh, I thought you have to use the command form of lgtm. The bot is too smart it seems :)

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build cluster-node-tuning-operator-container-v4.16.0-202402271510.p0.g11ca6b4.assembly.stream.el9 for distgit cluster-node-tuning-operator.
All builds following this will include this PR.

Tal-or pushed a commit to Tal-or/cluster-node-tuning-operator that referenced this pull request Apr 1, 2024
In preparation for running TuneD prior to kubelet, make things simpler
and cleaner.

Notable changes:
  * Even though there is currently no namespace collision with TuneD
    using in/var/lib/tuned, change this path to /var/lib/ocp-tuned
  * Remove bin/run.  While this means a little code duplication across
    Containerfiles, we no longer need to do anything special at run
    time.  This should make things easier for the future.
  * Do not inherit --enable-leader-election and --version NTO flags
    as they are not handled by subcommands anyway (yet)
  * Remove openshift-tuned binary and use NTO subcommand instead.
  * /var/lib/tuned/profiles-data is no longer used, remove it.
  * Remove openshift-tuned PID file code.  It is no longer used.
  * Clean up after PR844

Co-authored-by: Jiri Mencak <jmencak@users.noreply.github.com>
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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. 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

5 participants