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

Containers (spec) not getting cleaned up after stopping the jobs. #18

Open
shishir-a412ed opened this issue Jul 10, 2020 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@shishir-a412ed
Copy link
Contributor

shishir-a412ed commented Jul 10, 2020

Seeing this intermittently (not easy to reproduce at this point), when I launch multiple nomad jobs

e.g.

$ nomad job run redis.nomad
$ nomad job run capabilities.nomad
$ nomad job run privileged.nomad
$ nomad job run stress.nomad

After the containers (tasks) are running. Stop the containers (tasks).

$ nomad job stop redis
$ nomad job stop capabilities
$ nomad job stop privileged
$ nomad job stop stress

This stops all the tasks. However, containers (spec) are left behind and not cleaned up properly.
This was working before, and there could likely be a regression.

root@linux:/opt/gopath/src/github.com/nomad-driver-containerd/example# ctr task ls
TASK    PID    STATUS
root@linux:/opt/gopath/src/github.com/nomad-driver-containerd/example# ctr container ls
CONTAINER                     IMAGE                             RUNTIME
32522383_lucid_noyce5         docker.io/library/ubuntu:16.04    io.containerd.runc.v2
63c86855_agitated_cray6       docker.io/library/ubuntu:16.04    io.containerd.runc.v2
ba8f121f_ecstatic_volhard3    docker.io/library/ubuntu:16.04    io.containerd.runc.v2
bcddf7ad_jolly_bartik7        docker.io/library/redis:alpine    io.containerd.runc.v2
fb07ad0a_focused_thompson9    docker.io/library/redis:alpine    io.containerd.runc.v2
@shishir-a412ed shishir-a412ed self-assigned this Jul 10, 2020
@shishir-a412ed shishir-a412ed added the bug Something isn't working label Jul 10, 2020
@shishir-a412ed
Copy link
Contributor Author

Might be related to this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant