Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] pouch stop print ERRO msg #97

Closed
Letty5411 opened this issue Nov 14, 2017 · 2 comments
Closed

[bug] pouch stop print ERRO msg #97

Letty5411 opened this issue Nov 14, 2017 · 2 comments
Labels
kind/bug This is bug report for project

Comments

@Letty5411
Copy link
Contributor

Letty5411 commented Nov 14, 2017

Issue Description
CMD "pouch stop $container", prints ERRO msg as following:

ERRO[3464] stat cgroup 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300  error=""/sys/fs/cgroup/cpuacct/default/4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300/cpuacct.stat" is expected to have 4 fields"*

Describe what happened:

Describe what you expected to happen:

How to reproduce it (as minimally and precisely as possible):

#./pouch create reg.docker.alibaba-inc.com/base/busybox:latest ls /tmp
INFO[2017-11-14 18:31:09.027715378] Calling POST /containers/create, client @
container's id: 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300, name: 4d27d1

#./pouch start 4d27d1
INFO[2017-11-14 18:31:18.145500039] Calling POST /containers/4d27d1/start, client @
INFO[2017-11-14 18:31:18.145910238] start to subscribe io, backend: raw-file, id: 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
INFO[2017-11-14 18:31:18.146477492] success to get image: reg.docker.alibaba-inc.com/base/busybox:latest, container id: 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
INFO[2017-11-14 18:31:18.333516402] success to new container: 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
INFO[3382] shim containerd-shim started                  address="/containerd-shim/default/4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300/shim.sock" debug=false module="containerd/tasks" pid=94331
INFO[2017-11-14 18:31:18.427115147] success to new task, container id: 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300, pid: 94354
INFO[2017-11-14 18:31:18.444445342] success to start task, container id: 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
INFO[2017-11-14 18:31:18.444479200] success to add container, id: 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300

#find /sys/fs/cgroup/ -name 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300*
/sys/fs/cgroup/hugetlb/default/4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
/sys/fs/cgroup/freezer/default/4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
/sys/fs/cgroup/blkio/default/4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
/sys/fs/cgroup/net_cls/default/4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
/sys/fs/cgroup/memory/default/4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
/sys/fs/cgroup/perf_event/default/4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
/sys/fs/cgroup/devices/default/4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
/sys/fs/cgroup/cpuset,cpu,cpuacct/default/4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
/sys/fs/cgroup/systemd/default/4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300

#cat /sys/fs/cgroup/cpuset,cpu,cpuacct/default/4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300/cpuset.cpus
0-23

#./pouch stop 4d27d1
INFO[2017-11-14 18:32:34.802486593] Calling POST /containers/4d27d1/stop, client @
INFO[2017-11-14 18:32:39.838560033] the task has quit, id: 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300, err: <nil>, exitcode: 137, time: 2017-11-14 10:32:39.838088813 +0000 UTC
**ERRO[3464] stat cgroup 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300  error=""/sys/fs/cgroup/cpuacct/default/4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300/cpuacct.stat" is expected to have 4 fields"**
INFO[3464] shim reaped                                   id=4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300 module="containerd/tasks"
INFO[2017-11-14 18:32:40.000468282] close containerio backend: raw-file, id: 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
INFO[2017-11-14 18:32:40.000501512] close containerio backend: raw-file, id: 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
INFO[2017-11-14 18:32:40.000567380] finished to subscribe io, backend: raw-file, id: 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
INFO[2017-11-14 18:32:40.052767852] success to destroy container: 4d27d1f95287ce83f2f08dd916602f25d40e2b685ec54011b5352fb8faedf300
INFO[2017-11-14 18:32:40.052802535] End of Calling POST /containers/4d27d1/stop, costs 5250 ms. client @

Anything else we need to know?:

Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@pouchrobot pouchrobot added the kind/bug This is bug report for project label Nov 14, 2017
@allencloud
Copy link
Collaborator

I think this is related to your system from my initial view.

Can you reproduce this in the newest master branch of Pouch? @Letty5411
If that, we should promote the priority of this.

@Letty5411
Copy link
Contributor Author

I didn't see this error these days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This is bug report for project
Projects
None yet
Development

No branches or pull requests

3 participants