This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 373
kata-runtime leaves mounts stranded after cgroup startup failure #2108
Labels
Comments
@crobinso thanks for raising this, I can reproduce it and I'll be working on a patch |
devimc
pushed a commit
to devimc/kata-runtime
that referenced
this issue
Oct 10, 2019
Mount points, like `resolv.conf` and `hostname` are left in the host when the cgroup creation fails. Use `unmountHostMounts()` in the rollback function that is called when container's creation fails. fixes kata-containers#2108 Signed-off-by: Julio Montes <[email protected]>
devimc
pushed a commit
to devimc/kata-runtime
that referenced
this issue
Oct 10, 2019
Mount points, like `resolv.conf` and `hostname` are left in the host when the cgroup creation fails. Use `unmountHostMounts()` in the rollback function that is called when container's creation fails. fixes kata-containers#2108 Signed-off-by: Julio Montes <[email protected]>
devimc
pushed a commit
to devimc/kata-runtime
that referenced
this issue
Oct 11, 2019
Mount points, like `resolv.conf` and `hostname` are left in the host when the cgroup creation fails. Use `unmountHostMounts()` and `bindUnmountContainerRootfs()` in the rollback function that is called when container's creation fails. fixes kata-containers#2108 Signed-off-by: Julio Montes <[email protected]>
Thanks! I confirmed the latest version fixes my issues |
Hi @crobinso - good to hear! Could you possibly paste the version your are using here and then close this issue? |
@jodh-intel oops sorry that comment was meant for the PR, I tested the latest commits there. so better to let this autoclose when the PR is pushed |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When kata-runtime hits issues setting up cgroups, it leaves kata mounts stranded on the host. I don't know enough about the container stack to say for certain this is kata-runtime and not podman or something else, so feedback appreciated.
This is with current kata-runtime git, b3aa770
The initial error is tracked in #2107
The text was updated successfully, but these errors were encountered: