-
Notifications
You must be signed in to change notification settings - Fork 541
OCPNODE-1716: Update CgroupModeDefault
to CgroupModeV2
#1527
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
base: master
Are you sure you want to change the base?
Conversation
@sairameshv: This pull request references OCPNODE-1716 which is a valid 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 kubernetes/test-infra repository. |
Hello @sairameshv! Some important instructions when contributing to openshift/api: |
Skipping CI for Draft Pull Request. |
Is there a related PR from a payload component vendoring this change to prove the stability of the updated configuration here? |
There is no corresponding PR as of now but this should be part of the MCO code base. |
Can we create the PR and run CI against it to prove that it's not breaking anything by making this change? |
This change may not break the existing code. Anyway, just to be sure, I've raised a dummy PR to actually monitor the CI jobs |
I've just triggered the tests on the MachineConfigOperator PR, if those are green, then I think this can be merged safely |
Thanks @JoelSpeed !! |
Hey @JoelSpeed , openshift/machine-config-operator#3789 has been merged and CgroupModeV2 is the default from the 4.14 release. Here, I tried to bump api with this change in the MCO repository but looks like a couple of ci tests are failing (not because of this change). I would either try to work on the failures to resolve the same or request MCO team to fix them based on the availability. Apart from that, I think this PR is ready for the merge. |
/hold This can't be merged into 4.14 folks. And especially not after the original branching day has passed already. The openshift/machine-config-operator#3789 MUST be reverted too. NTO and other components are not ready as this was never planned for 4.14. |
Ok, we have a plan now. @haircommander is preparing a patch that allows v2 as default, but moves all PerformanceProfile users to v1. That will work, if he manages to post it in time. But please make sure we (NTO) know about disruptive changes like this before they happen please. /hold cancel |
/hold till 4.15 We have merged MCO changes to set v2 as default. The MCO change is sufficient for 4.14 to set v2 as default for day-0. We would like to retain an ability to quickly revert to cgroups v1, just in case. Having a single MCO PR would be far easier than cycling through API and it's dependent repos. Hence once the cgroup mode change sails through 4.14, we would merge this PR in 4.15 to mark the API default to v2. Until then we would continue to have a hybrid approach using that MCO PR where day-0 is defaulted to cgroups v2 and upgrade is maintained at the cgroup mode of 4.13 (whichever mode user had selected in 4.13 we carry it forward to 4.14 instead of forcing them to use cgroups v2) |
…roupsv2 default in 4.14 Signed-off-by: Sai Ramesh Vanka <[email protected]>
8474e5d
to
ccc443d
Compare
@sairameshv: This pull request references OCPNODE-1716 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:
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. |
/assign @rphillips @harche @haircommander |
/hold cancel |
/lgtm |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: haircommander, sairameshv The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale cc @sairameshv |
@sairameshv: The following tests failed, say
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. |
cgroupsv2 is the default
cgroupMode
since OCP-4.14 , hence, theCgroupModeDefault
needs to be updated toCgroupModeV2
in thenodes.config.openshift.io
object.