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

[BUG] Pod start failed:failed to write "0-xx": write /sys/fs/cgroup/cpuset/kubepods/besteffort/pod3f915ba0-fad2-4c10-a87f-bebb8290936d/nginx/cpuset.cpus: permission denied: unknown #395

Closed
wangxiaoq opened this issue Jul 22, 2022 · 7 comments · Fixed by #412
Assignees
Labels
area/koordlet kind/bug Create a report to help us improve
Milestone

Comments

@wangxiaoq
Copy link
Contributor

wangxiaoq commented Jul 22, 2022

What happened:

  1. Create a batch priority and BE QoS ClusterColcationProfiles in cluster
  2. Create a Pod use the ClusterColcationProfiles above
  3. The Pod start failed: Error: failed to create containerd task: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:385: applying cgroup configuration for process caused: failed to write "0-95": write /sys/fs/cgroup/cpuset/kubepods/besteffort/podbdb70d35-dd7e-4030-bff8-39d860432bc1/nginx/cpuset.cpus: permission denied: unknown

What you expected to happen:

Pod start successfully

How to reproduce it (as minimally and precisely as possible):

See What happened section

Anything else we need to know?:

Environment:

  • App version: 0.5.0
  • Kubernetes version (use kubectl version): 1.21.0
  • Install details (e.g. helm install args):
  • Others:
@wangxiaoq wangxiaoq added the kind/bug Create a report to help us improve label Jul 22, 2022
@zwzhang0107
Copy link
Contributor

when cpu suppress strategy enabled, cpuset of besteffort dir will be modified, which will be conflicted if there is cpusets in CRI requests.
so the cpuset of besteffort pod in CRI request should be erased by runtimehooks.cpuset

@jasonliu747
Copy link
Member

jasonliu747 commented Jul 22, 2022

/area koordlet
/assign @zwzhang0107

@hormes hormes added this to the v0.6 milestone Jul 25, 2022
@wangxiaoq
Copy link
Contributor Author

more info:

container runtime: containerd 1.4.11/runc 1.0.2

@zwzhang0107
Copy link
Contributor

#412

@zwzhang0107
Copy link
Contributor

kubelet with static cpu-manage-policy

@eahydra eahydra removed this from the v0.6 milestone Aug 1, 2022
@jasonliu747 jasonliu747 added this to the v0.6 milestone Aug 8, 2022
@jasonliu747
Copy link
Member

/close

@koordinator-bot
Copy link

@jasonliu747: Closing this issue.

In response to this:

/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/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/koordlet kind/bug Create a report to help us improve
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants