https://bugzilla.redhat.com/show_bug.cgi?id=1096280
Bug ID: 1096280 Summary: docker top stopped working, cgroup path changed Product: Red Hat Enterprise Linux 7 Version: 7.1 Component: docker Assignee: lsm5@redhat.com Reporter: ldoktor@redhat.com QA Contact: virt-bugs@redhat.com CC: admiller@redhat.com, golang@lists.fedoraproject.org, lsm5@redhat.com, mattdm@redhat.com, mgoldman@redhat.com, skottler@redhat.com, vbatts@redhat.com Depends On: 1088125
+++ This bug was initially created as a clone of Bug #1088125 +++
Description of problem: The `docker top` command stopped working, the path to cgroup processes had changed.
Version-Release number of selected component (if applicable): docker-0.10.0-8.el7.x86_64 docker-io-0.10.0-2.fc20.x86_64
How reproducible: always
Steps to Reproduce: 1. docker run -i fedora bash 2. docker top $NAME
Actual results: [root@t530 ~]# docker top determined_jones 2014/04/16 07:47:52 Error: open /sys/fs/cgroup/devices/system.slice/docker/93dfbd4d375cf026df215d87b5d93de8b0a9bd55094e33c2ca3322cd6afb53f1/tasks: no such file or directory
Expected results: list of processes...
Additional info: [root@t530 ~]# ls /sys/fs/cgroup/devices/system.slice/ cgroup.clone_children cgroup.event_control cgroup.procs devices.allow devices.deny devices.list docker-93dfbd4d375cf026df215d87b5d93de8b0a9bd55094e33c2ca3322cd6afb53f1.scope notify_on_release tasks
--- Additional comment from Lukas Doktor on 2014-05-05 03:46:55 EDT ---
The same bug is in upstream Docker version 0.10.0, build dc9c28f/0.10.0
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1088125 [Bug 1088125] docker top stopped working, cgroup path changed
https://bugzilla.redhat.com/show_bug.cgi?id=1096280
--- Comment #2 from Lukas Doktor ldoktor@redhat.com --- The difference between Fedora and RHEL problem is, that RHEL tries to access: docker top test_eoly 2014/05/09 16:56:22 Error: open /sys/fs/cgroup/devices/docker-d6dec8258b30eaecaa96f6110a427d4c3bf40fe8ec03b91ed4f277f3d835c23c.scope/tasks: no such file or directory
And the directories are: [root@t530 ~]# ls /sys/fs/cgroup/devices/system.slice/ cgroup.clone_children cgroup.procs devices.allow devices.deny devices.list docker-d6dec8258b30eaecaa96f6110a427d4c3bf40fe8ec03b91ed4f277f3d835c23c.scope notify_on_release tasks
Note that this was executed on Fedora 20 with docker from collider, so the path problem might be incorrect. I'll retest this directly on RHEL later.
https://bugzilla.redhat.com/show_bug.cgi?id=1096280
--- Comment #3 from Lukas Doktor ldoktor@redhat.com --- Retested on RHEL-7.0-20140507.0 with the same error:
[root@cisco-b200m1-04 ~]# docker top elegant_bohr 2014/05/09 12:09:06 Error: open /sys/fs/cgroup/devices/docker-a1c00b36178aaa4bd35a1aa60a8707569dd65ffcc1c6168f9af084779846af9a.scope/tasks: no such file or directory
[root@cisco-b200m1-04 ~]# ls /sys/fs/cgroup/devices/system.slice/ cgroup.clone_children cgroup.procs devices.deny docker-a1c00b36178aaa4bd35a1aa60a8707569dd65ffcc1c6168f9af084779846af9a.scope tasks cgroup.event_control devices.allow devices.list notify_on_release
[root@cisco-b200m1-04 ~]# ls /sys/fs/cgroup/devices cgroup.clone_children cgroup.event_control cgroup.procs cgroup.sane_behavior devices.allow devices.deny devices.list notify_on_release release_agent system.slice tasks
https://bugzilla.redhat.com/show_bug.cgi?id=1096280
Chris Evich cevich@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cevich@redhat.com Version|7.1 |7.0 Severity|unspecified |high
https://bugzilla.redhat.com/show_bug.cgi?id=1096280
Daniel Walsh dwalsh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED CC| |dwalsh@redhat.com
--- Comment #5 from Daniel Walsh dwalsh@redhat.com --- Fixed in docker-io-0.11.1-3.el7
https://bugzilla.redhat.com/show_bug.cgi?id=1096280
Lukas Doktor ldoktor@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(lsm5@redhat.com)
--- Comment #6 from Lukas Doktor ldoktor@redhat.com --- Hi Daniel, Chris tested it successfully on docker-0.11.1-2.el7.x86_64. I tried docker-0.11.1-3.el7.x86_64 and today's the docker-0.11.1-5.el7.x86_64 and booth are failing. Did the patch slipped away?
https://bugzilla.redhat.com/show_bug.cgi?id=1096280
--- Comment #7 from Daniel Walsh dwalsh@redhat.com --- According to Lokesh the patch is in there.
https://bugzilla.redhat.com/show_bug.cgi?id=1096280
Lukas Doktor ldoktor@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2014-05-30 03:42:54
--- Comment #8 from Lukas Doktor ldoktor@redhat.com --- yep, works fine with docker-0.11.1-6.el7.x86_64
https://bugzilla.redhat.com/show_bug.cgi?id=1096280
Lukas Doktor ldoktor@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(lsm5@redhat.com) |
https://bugzilla.redhat.com/show_bug.cgi?id=1096280 Bug 1096280 depends on bug 1088125, which changed state.
Bug 1088125 Summary: docker top stopped working, cgroup path changed https://bugzilla.redhat.com/show_bug.cgi?id=1088125
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA
golang@lists.fedoraproject.org