Bug 1368284

Summary: [extras-rhel-7.2.7] docker-latest 1.12: unexpected cgroup names
Product: Red Hat Enterprise Linux 7 Reporter: Ed Santiago <santiago>
Component: docker-latestAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.2CC: amurdaca, dwalsh, imcleod, jhonce, lsu
Target Milestone: rcKeywords: 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: 2016-09-15 08:29:39 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:

Description Ed Santiago 2016-08-19 02:00:29 UTC
docker-latest-1.12.0-9.el7 from scratch build https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=11625703

docker-autotest is reliably failing the run_cgroup_parent test with:

   cgroup path for 10:net_cls: expected '/9CiTiMck.slice/docker-fbd2157da7e5870110e06e25b3ba17539fe07207682f3076f0691c8bd7c4a93e.scope'; got '/9CiTiMck.slice:docker:fbd2157da7e5870110e06e25b3ba17539fe07207682f3076f0691c8bd7c4a93e'

abbreviated diff, done by eye:

    expected /x.slice/docker-nn.scope
        got  /x.slice:docker:nn
                     ^      ^  ^^^^^^

FWIW this test was reliably passing on docker-latest-1.12.0-<version with MountFlags=slave removed>

More details on request. (Tomorrow, please).

Comment 2 Ed Santiago 2016-08-19 16:37:37 UTC
I don't know if this is related; please let me know if it needs a new bz:

   # docker run --cpu-shares=0 --detach -i fedora /bin/bash
   957bfce860c6e714943a560e56bb8d28108b5359f1386e70a442a2d90874ff26
   # ls -l /sys/fs/cgroup/cpu/system.slice/docker-95*
   ls: cannot access /sys/fs/cgroup/cpu/system.slice/docker-95*: No such file or directory

( expected to see /sys/fs/cgroup/cpu/system.slice/docker-95<etc>.scope )

Comment 3 Ed Santiago 2016-08-23 17:48:32 UTC
Problems persist in docker-latest-1.12.0-12.el7

Comment 4 Antonio Murdaca 2016-08-26 17:36:25 UTC
I have fixed this upstream and I'm going to backport the fix in our docker-1.12 branch. I'll then rebuild for F25 and rawhide. Assigning Lokesh here to rebuild for rhel.

Comment 6 Ed Santiago 2016-08-30 23:11:33 UTC
Confirmed working in docker-latest-1.12.1-2.el7

Comment 8 errata-xmlrpc 2016-09-15 08:29:39 UTC
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/RHBA-2016-1829.html