| Summary: | docker run --cgroup-parent : unexpected result for pid | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Ed Santiago <santiago> |
| Component: | docker | Assignee: | Matthew Heon <mheon> |
| Status: | CLOSED ERRATA | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | amurdaca, dwalsh, lsm5, lsu, mpatel |
| Target Milestone: | rc | Keywords: | Extras |
| 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-01-17 20:43:32 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: | |
What OS are you testing on? I do not see the pids cgroup enabled on my RHEL 7.2 VM. RHEL 7.3, kernel 3.10.0-513.el7.x86_64 Thanks! I checked the code. We don't have the pids cgroups support for libcontainer in our docker 1.10.x branches. So, if we really want it in docker 1.10 then we need a backport which should be straight forward. Dan, wdyt about backporting to 1.10 or should we just support it in 1.12+? I think we should just support this in docker-1.12 unless we are forced by OpenShift. For now lets close this as fixed in docker-1.12. In docker-1.12.3-4.el7.x86_64 # docker run --rm --cgroup-parent=foo-bar.slice rhel7 cat /proc/1/cgroup ..... 10:pids:/foo.slice/foo-bar.slice/docker-9788efa1b06cfa3dd86ad523c79dde6143740908b030d434fbeda03939b7365d.scope Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2017-0116.html |
docker-autotest reporting this failure on docker-1.10.3-55.el7.x86_64 et al: # docker run --rm --cgroup-parent=foo-bar.slice centos cat /proc/1/cgroup 11:perf_event:/foo.slice/foo-bar.slice/docker-<sha>.scope ... 5:cpuacct,cpu:/foo.slice/foo-bar.slice/docker-<sha>.scope >> 4:pids:/ 3:cpuset:/foo.slice/foo-bar.slice/docker-<sha>.scope ...