Skip to content

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #2227

/assign haircommander

NONE

haircommander and others added 4 commits August 27, 2025 18:47
…ssing cpuset cgroup

on None cpumanager policy, cgroupv2, and systemd cgroup manager, kubelet
could get into a situation where it believes the cpuset cgroup was created
(by libcontainer in the cgroupfs) but systemd has deleted it, as it wasn't requested
to create it. This causes one unnecessary restart, as kubelet fails with

`failed to initialize top level QOS containers: root container [kubepods] doesn't exist.`

This only causes one restart because the kubelet skips recreating the cgroup
if it already exists, but it's still a bother and is fixed this way

adapted version of kubernetes@c51195d, avoid merge conflict
this can be dropped in the 4.19 rebase

Signed-off-by: Peter Hunt <[email protected]>
Adapted from kubernetes@77d03e4 to avoid merge conflict
This can be dropped in the 4.19 rebase

Authored-by: Francesco Romani <[email protected]>
Signed-off-by: Peter Hunt <[email protected]>
with systemd cgroup driver and cpumanager none policy.

This was originally planned to be a correctness check for
https://issues.k8s.io/125923, but it was difficult to reproduce the bug,
so it's now a regression test against it.

Signed-off-by: Francesco Romani <[email protected]>
Signed-off-by: Peter Hunt <[email protected]>
@openshift-ci-robot
Copy link

@openshift-cherrypick-robot: the contents of this pull request could not be automatically validated.

The following commits could not be validated and must be approved by a top-level approver:

Comment /validate-backports to re-evaluate validity of the upstream PRs, for example when they are merged upstream.

@openshift-ci-robot
Copy link

@openshift-cherrypick-robot: Jira Issue OCPBUGS-52183 has been cloned as Jira Issue OCPBUGS-60961. Will retitle bug to link to clone.
/retitle [release-4.14] OCPBUGS-60961: UPSTREAM: : kubelet/cm: fix bug where kubelet restarts from missing cpuset cgroup

In response to this:

This is an automated cherry-pick of #2227

/assign haircommander

NONE

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.

@openshift-ci openshift-ci bot changed the title [release-4.14] OCPBUGS-52183: UPSTREAM: <carry>: kubelet/cm: fix bug where kubelet restarts from missing cpuset cgroup [release-4.14] OCPBUGS-60961: UPSTREAM: <carry>: kubelet/cm: fix bug where kubelet restarts from missing cpuset cgroup Aug 27, 2025
@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Aug 27, 2025
@openshift-ci-robot
Copy link

@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-60961, which is valid. The bug has been moved to the POST state.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.z) matches configured target version for branch (4.14.z)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note text is set and does not match the template
  • dependent bug Jira Issue OCPBUGS-52183 is in the state Closed (Done-Errata), which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
  • dependent Jira Issue OCPBUGS-52183 targets the "4.15.z" version, which is one of the valid target versions: 4.15.0, 4.15.z
  • bug has dependents

Requesting review from QA contact:
/cc @lyman9966

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

This is an automated cherry-pick of #2227

/assign haircommander

NONE

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

openshift-ci bot commented Aug 27, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: openshift-cherrypick-robot
Once this PR has been reviewed and has the lgtm label, please assign deads2k for approval. For more information see the Code Review Process.

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

Copy link

openshift-ci bot commented Aug 27, 2025

@openshift-cherrypick-robot: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/artifacts 60d07b3 link true /test artifacts
ci/prow/e2e-gcp-ovn-upgrade 60d07b3 link true /test e2e-gcp-ovn-upgrade
ci/prow/integration 60d07b3 link true /test integration
ci/prow/e2e-agnostic-ovn-cmd 60d07b3 link false /test e2e-agnostic-ovn-cmd
ci/prow/e2e-aws-ovn-serial 60d07b3 link true /test e2e-aws-ovn-serial
ci/prow/k8s-e2e-gcp-ovn 60d07b3 link true /test k8s-e2e-gcp-ovn
ci/prow/e2e-aws-ovn-cgroupsv2 60d07b3 link true /test e2e-aws-ovn-cgroupsv2
ci/prow/e2e-gcp 60d07b3 link true /test e2e-gcp
ci/prow/k8s-e2e-gcp-serial 60d07b3 link true /test k8s-e2e-gcp-serial
ci/prow/e2e-aws-ovn-crun 60d07b3 link true /test e2e-aws-ovn-crun
ci/prow/images 60d07b3 link true /test images
ci/prow/e2e-aws-crun-wasm 60d07b3 link true /test e2e-aws-crun-wasm
ci/prow/k8s-e2e-aws-ovn-serial 60d07b3 link false /test k8s-e2e-aws-ovn-serial
ci/prow/e2e-aws-csi 60d07b3 link false /test e2e-aws-csi
ci/prow/unit 60d07b3 link true /test unit
ci/prow/k8s-e2e-conformance-aws 60d07b3 link true /test k8s-e2e-conformance-aws
ci/prow/verify 60d07b3 link true /test verify
ci/prow/e2e-aws-ovn-fips 60d07b3 link true /test e2e-aws-ovn-fips

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.

@haircommander
Copy link
Member

replaced by #2431

/close

@openshift-ci openshift-ci bot closed this Aug 27, 2025
Copy link

openshift-ci bot commented Aug 27, 2025

@haircommander: Closed this PR.

In response to this:

replaced by #2431

/close

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.

@openshift-ci-robot
Copy link

@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-60961. The bug has been updated to no longer refer to the pull request using the external bug tracker.

In response to this:

This is an automated cherry-pick of #2227

/assign haircommander

NONE

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backports/unvalidated-commits Indicates that not all commits come to merged upstream PRs. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants