Skip to content

Make NTO components an optional OpenShift feature#524

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
dagrayvid:optional-nto
Feb 21, 2023
Merged

Make NTO components an optional OpenShift feature#524
openshift-merge-robot merged 1 commit into
openshift:masterfrom
dagrayvid:optional-nto

Conversation

@dagrayvid
Copy link
Copy Markdown
Contributor

@dagrayvid dagrayvid commented Dec 7, 2022

This PR adds the annotation capability.openshift.io/name to all NTO manifests, in order to make NTO an optional OpenShift capability as described in this enhancement.

As of OpenShift 4.11, it is possible to make certain core OpenShift components optional, so that they can be disabled at install. As discussed in PSAP-741, NTO will be made optional in OpenShift 4.13.

NTO will continue to be enabled by default, and can be re-enabled after install on clusters where it has been disabled.

This PR cannot be merged until the NodeTuning feature is registered in the API.

/cc @jmencak

@openshift-ci openshift-ci Bot requested a review from jmencak December 7, 2022 22:51
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Dec 7, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dagrayvid

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 7, 2022
@dagrayvid
Copy link
Copy Markdown
Contributor Author

/hold

need the openshift/api PR to merge first

@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 Dec 8, 2022
@jmencak
Copy link
Copy Markdown
Contributor

jmencak commented Dec 8, 2022

As described in the enhancement this PR is adding annotation capability.openshift.io/name.
/lgtm

Perhaps it might be useful to add the link to the description of the PR.

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Dec 8, 2022
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 14, 2022
@jmencak
Copy link
Copy Markdown
Contributor

jmencak commented Dec 15, 2022

/retest
Why the change from "node-tuning" to "NodeTuning"?

@dagrayvid
Copy link
Copy Markdown
Contributor Author

Why the change from "node-tuning" to "NodeTuning"?

@jmencak see bparees comment in openshift/api#1373. "CamelCase" is going to be the standard capitalization for these going forwards. There will be no point in retesting this PR until the openshift/api PR merges, as no NTO manifests will be applied to the cluster until the feature is registered in the API.

@jmencak
Copy link
Copy Markdown
Contributor

jmencak commented Dec 15, 2022

Thank you for explanation, David.
/lgtm

@dagrayvid
Copy link
Copy Markdown
Contributor Author

/retest

Now that the openshift/origin#27657 has merged

@jmencak
Copy link
Copy Markdown
Contributor

jmencak commented Feb 2, 2023

Interesting: failed to find a TuneD Pod for node ip-10-0-145-238.us-west-2.compute.internal
/retest

@dagrayvid
Copy link
Copy Markdown
Contributor Author

dagrayvid commented Feb 2, 2023

Interesting: failed to find a TuneD Pod for node ip-10-0-145-238.us-west-2.compute.internal

Thanks for taking a look Jiri. This is actually exactly expected. Until openshift/cluster-version-operator#883 is merged, the CI for this PR is expected to fail. The CVO sees all these NTO manifests with the capability.openshift.io/name: NodeTuning label and decides not to create them since it doesn't know about this capability NodeTuning yet, so even the namespace for NTO will not exist, let alone the operator and tuned Pods.

Once CVO#883 is merged, we should see these return to passing (MUST see this before merging THIS PR)

@dagrayvid
Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@dagrayvid
Copy link
Copy Markdown
Contributor Author

/retest

@dagrayvid
Copy link
Copy Markdown
Contributor Author

/unhold

@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 Feb 21, 2023
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Feb 21, 2023

@dagrayvid: all tests passed!

Full PR test history. Your PR dashboard.

Details

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.

@openshift-merge-robot openshift-merge-robot merged commit 2f430e5 into openshift:master Feb 21, 2023
IlyaTyomkin pushed a commit to IlyaTyomkin/cluster-node-tuning-operator that referenced this pull request May 23, 2023
IlyaTyomkin pushed a commit to IlyaTyomkin/cluster-node-tuning-operator that referenced this pull request Jun 13, 2023
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. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants