Skip to content

Conversation

@sairameshv
Copy link
Member

@sairameshv sairameshv commented Nov 10, 2025

  • Option of configuring cgroupv1 has been removed in OCP - 4.19
  • It is safe to remove this check from the operator status for all the clusters greater than OCP - 4.19

Reference: #5397 (comment)

Copy link
Member

@QiWang19 QiWang19 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 10, 2025
if err != nil {
return err
}
if configNode.Spec.CgroupMode == configv1.CgroupModeV1 {
Copy link
Member

Choose a reason for hiding this comment

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

Can you also remove this CgroupModeV1 constant from the API repo? Simplifying API docs by removing options we no longer allow users to set seems like a win with no downsides.

Copy link
Member Author

Choose a reason for hiding this comment

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

I agree with you @wking . The only reason this wasn't removed earlier was the clusterfleetevaluation check.
But I think this check can also be removed with the cgroupv1 getting removed from all the ocp>4.19 clusters.
Let me update the commit with those changes as well.

Copy link
Member Author

@sairameshv sairameshv Nov 11, 2025

Choose a reason for hiding this comment

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

Here are the follow-up PRs @wking , Could you help tagging them?

openshift/api#2579
openshift/cluster-node-tuning-operator#1428

clusters

- Option of configuring cgroupv1 has been removed in OCP - 4.19
- It is safe to remove this check from the operator status for all the clusters greater than OCP - 4.19
- Also removed the cluster fleet evaluation that checks if a cluster is
  configured with cgroupv1

Signed-off-by: Sai Ramesh Vanka <[email protected]>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 11, 2025
Copy link
Member

@isabella-janssen isabella-janssen left a comment

Choose a reason for hiding this comment

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

/approve

This looks like a fair change to me as the OCP docs do indicate that a cluster with cgroup v1 cannot upgrade to 4.19, which makes the removed block of code unnecessary.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 11, 2025
@sairameshv sairameshv changed the title Remove the dead code of setting the operator status for cgroupv1 based clusters OCPNODE-3874: Remove the dead code of setting the operator status for cgroupv1 based clusters Nov 11, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Nov 11, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Nov 11, 2025

@sairameshv: This pull request references OCPNODE-3874 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 spike to target the "4.21.0" version, but no target version was set.

In response to this:

  • Option of configuring cgroupv1 has been removed in OCP - 4.19
  • It is safe to remove this check from the operator status for all the clusters greater than OCP - 4.19

Reference: #5397 (comment)

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.

@sairameshv
Copy link
Member Author

/jira refresh

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Nov 11, 2025

@sairameshv: This pull request references OCPNODE-3874 which is a valid jira issue.

In response to this:

/jira refresh

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.

@sairameshv
Copy link
Member Author

/retest

@ngopalak-redhat
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 11, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 11, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: isabella-janssen, ngopalak-redhat, QiWang19, sairameshv

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

@sairameshv
Copy link
Member Author

/verified

Adding the verified label as I don't think we can test this deleted code.
Api doesn't support setting the value of cgroupMode to "v1" already

@openshift-ci-robot
Copy link
Contributor

@sairameshv: The /verified command must be used with one of the following actions: by, later, remove, or bypass. See https://docs.ci.openshift.org/docs/architecture/jira/#premerge-verification for more information.

In response to this:

/verified

Adding the verified label as I don't think we can test this deleted code.
Api doesn't support setting the value of cgroupMode to "v1" already

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.

@sairameshv
Copy link
Member Author

/verified by @sairameshv

Adding the verified label as I don't think we can test this deleted code.
Api doesn't support setting the value of cgroupMode to "v1" already

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Nov 11, 2025
@openshift-ci-robot
Copy link
Contributor

@sairameshv: This PR has been marked as verified by @sairameshv.

In response to this:

/verified by @sairameshv

Adding the verified label as I don't think we can test this deleted code.
Api doesn't support setting the value of cgroupMode to "v1" already

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.

@isabella-janssen
Copy link
Member

/label backport-risk-assessed

The tests are passing for this PR so it should be a safe change.

@openshift-ci openshift-ci bot added the backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. label Nov 11, 2025
@isabella-janssen
Copy link
Member

/retest-required

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 8dc0f4d and 2 for PR HEAD dd2e67c in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 5c30302 and 1 for PR HEAD dd2e67c in total

@sergiordlr
Copy link
Contributor

All critical test cases passed https://qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/view/gs/qe-private-deck/logs/periodic-ci-o[…]ration-mco-critical-f7/1988305878943535104

/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Nov 12, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Nov 12, 2025

@sairameshv: This pull request references OCPNODE-3874 which is a valid jira issue.

In response to this:

  • Option of configuring cgroupv1 has been removed in OCP - 4.19
  • It is safe to remove this check from the operator status for all the clusters greater than OCP - 4.19

Reference: #5397 (comment)

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.

@sairameshv
Copy link
Member Author

/retest-required

1 similar comment
@QiWang19
Copy link
Member

/retest-required

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 7c04bdb and 0 for PR HEAD dd2e67c in total

@openshift-ci-robot
Copy link
Contributor

/hold

Revision dd2e67c was retested 3 times: holding

@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 Nov 13, 2025
@sairameshv
Copy link
Member Author

/hold cancel

@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 Nov 14, 2025
@sairameshv
Copy link
Member Author

/retest-required

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD ca0c19d and 2 for PR HEAD dd2e67c in total

@sairameshv
Copy link
Member Author

/retest-required

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 661e30e and 1 for PR HEAD dd2e67c in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD b3e3c8a and 0 for PR HEAD dd2e67c in total

@openshift-ci-robot
Copy link
Contributor

/hold

Revision dd2e67c was retested 3 times: holding

@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 Nov 18, 2025
@sairameshv
Copy link
Member Author

/hold cancel

@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 Nov 18, 2025
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD b3e3c8a and 2 for PR HEAD dd2e67c in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD d151372 and 1 for PR HEAD dd2e67c in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 18, 2025

@sairameshv: 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.

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD b4ea81d and 0 for PR HEAD dd2e67c in total

@openshift-merge-bot openshift-merge-bot bot merged commit b0dc9a5 into openshift:main Nov 19, 2025
9 of 15 checks passed
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. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. 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. qe-approved Signifies that QE has signed off on this PR verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.