Bug 1521178

Summary: dockerregistry error: setting cgroup config for procHooks process caused "failed to write...
Product: OpenShift Container Platform Reporter: Justin Pierce <jupierce>
Component: MasterAssignee: Michal Fojtik <mfojtik>
Status: CLOSED DUPLICATE QA Contact: Wang Haoran <haowang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.7.0CC: aos-bugs, bparees, jokerman, mmccomas, sjenning
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-07 15:13:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Example failure none

Description Justin Pierce 2017-12-05 23:01:05 UTC
Description of problem:
Pods with memory limits set too low often present as a crash loop backoff with unhelpful (at least to the average user) Terminate message:

invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:327: setting cgroup config for procHooks process caused \\\"failed to write 372500 to cpu.cfs_quota_us: write /sys/fs/cgroup/cpu,cpuacct/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod82054089_d9f9_11e7_8e35_0a46c474dfe0.slice/docker-79c4020e675c6b2c8299fd7be00647323e4d1eddaec8f356129cf55c009b8524.scope/cpu.cfs_quota_us: invalid argument\\\"\"\n"


See attachment for details of failing docker registry pod.

Version-Release number of selected component (if applicable):
v3.7.9


Expected:
Something pointing user to OOM issues & course of action.

Comment 1 Justin Pierce 2017-12-05 23:02:10 UTC
Created attachment 1363383 [details]
Example failure

Comment 3 Justin Pierce 2017-12-05 23:10:42 UTC
I thought this was a memory limit issue, because when I set the memory limit to 3G, the pods started. After writing this bug, I wanted to recreate, so I set them back to 2G. The pods deployed fine.

sjennings just reminded me about this nearly identical behavior which should have been fixed: https://bugzilla.redhat.com/show_bug.cgi?id=1509467

Comment 7 Ben Parees 2017-12-07 15:13:29 UTC

*** This bug has been marked as a duplicate of bug 1509467 ***