https://bugzilla.redhat.com/show_bug.cgi?id=1096286
Bug ID: 1096286 Summary: "docker top all" doesn't show processes when --tty=false 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: 1088259
+++ This bug was initially created as a clone of Bug #1088259 +++ After using the same magic required for the upstream docker 0.10 this behaves the same on RHEL docker-0.10.0-8.el7.x86_64
Description of problem: Hi guys, when I run docker with --tty=false, the `docker top $NAME all` doesn't show any processes (just headers). When using only `docker top $NAME` it shows them...
Also the `ps` command inside container works, but `ps all` does not.
Version-Release number of selected component (if applicable): docker-0.10.0-8.el7.x86_64 docker-io-0.9.0-3.fc20.x86_64
How reproducible: always
Steps to Reproduce: 1. docker run -i --tty=false fedora bash 2. docker logs $NAME
Actual results: F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
Expected results: F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND 1 0 24006 23954 20 0 11732 540 - R pts/14 0:00 bash
--- Additional comment from Lukas Doktor on 2014-05-05 03:41:35 EDT ---
Can't reproduce with the upstream Docker version 0.10.0, build dc9c28f/0.10.0 top doesn't work at all (due of https://bugzilla.redhat.com/show_bug.cgi?id=1088125 )
--- Additional comment from Lukas Doktor on 2014-05-05 03:46:07 EDT ---
OK I moved it to the old cgroup location and the results are the same. So booth, fedora docker-io-0.9.0-3.fc20.x86_64 and upstream dc9c28f/0.10.0 are unable to list processes using `all` argument in non-tty mode.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1088259 [Bug 1088259] "docker top all" doesn't show processes when --tty=false
https://bugzilla.redhat.com/show_bug.cgi?id=1096286
Chris Evich cevich@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cevich@redhat.com Version|7.1 |7.0 Severity|unspecified |medium
https://bugzilla.redhat.com/show_bug.cgi?id=1096286 Bug 1096286 depends on bug 1088259, which changed state.
Bug 1088259 Summary: "docker top all" doesn't show processes when --tty=false https://bugzilla.redhat.com/show_bug.cgi?id=1088259
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |CURRENTRELEASE
https://bugzilla.redhat.com/show_bug.cgi?id=1096286
--- Comment #2 from Lukas Doktor ldoktor@redhat.com --- I'm sorry there is a typo in reproducer:
Steps to Reproduce: 1. docker run -i --tty=false fedora bash 2. docker top $NAME all
https://bugzilla.redhat.com/show_bug.cgi?id=1096286 Bug 1096286 depends on bug 1088259, which changed state.
Bug 1088259 Summary: "docker top all" doesn't show processes when --tty=false https://bugzilla.redhat.com/show_bug.cgi?id=1088259
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |MODIFIED Resolution|CURRENTRELEASE |---
https://bugzilla.redhat.com/show_bug.cgi?id=1096286
--- Comment #3 from Daniel Walsh dwalsh@redhat.com --- I got other parameters to show with the ps command
-x and -Z
Worked fine.
https://bugzilla.redhat.com/show_bug.cgi?id=1096286
Lukas Doktor ldoktor@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2014-06-03 11:04:13
--- Comment #4 from Lukas Doktor ldoktor@redhat.com --- Hi Daniel, this issue seems to be fixed in docker-0.11.1-10.el7.x86_64. Thank you.
https://bugzilla.redhat.com/show_bug.cgi?id=1096286 Bug 1096286 depends on bug 1088259, which changed state.
Bug 1088259 Summary: "docker top all" doesn't show processes when --tty=false https://bugzilla.redhat.com/show_bug.cgi?id=1088259
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |NOTABUG
golang@lists.fedoraproject.org