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] when containerd-shim process been killed the related container is still up #927

Closed
yyb196 opened this issue Mar 20, 2018 · 2 comments
Labels
kind/bug This is bug report for project

Comments

@yyb196
Copy link
Collaborator

yyb196 commented Mar 20, 2018

Ⅰ. Issue Description

when containerd-shim stopped container status should change to exit.

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. 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 Mar 20, 2018
@yyb196 yyb196 changed the title [bug] when containerd-shim process been killed the container is still up [bug] when containerd-shim process been killed the related container is still up Mar 20, 2018
@HusterWan
Copy link
Contributor

Actually, we have a monitor to listen the container's status, if the container exited, will call a hook to change the pouch container' status to stopped, i check today, this function works fine.

@yyb196 can you replay this error again?

@HusterWan
Copy link
Contributor

OK, i know the reason, if you first kill the pouchd process then kill then container, the monitor hook will no longer work, so the container's status will not change.

we will fix this problem soon, thanks a lot @yyb196

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

4 participants