This repository has been archived by the owner on May 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
runtime leaves mounts around after container shutdown #924
Labels
Comments
The stray mounts in question are
What's odd is that there isn't also a bind mount left for |
Thanks for opening this @jodh-intel |
This is fixed in virtcontainers by containers/virtcontainers#567. Once that lands, we need to revendor virtcontainers into the runtime of course. |
Worth noting that running
The clue being that |
Blocked on containers/virtcontainers#567. |
jodh-intel
added a commit
to jodh-intel/runtime
that referenced
this issue
Jan 16, 2018
Update virtcontainer specifically for commit fb1eecd which fixes the issue of lingering bind-mounts after a container has been killed. shortlog of virtcontainer changes: fb1eecd mount: Fix unmount of dangling bind-mounts d7462c7 pkg/oci: Clarify resource calculation comment 027aab8 qemu: adjust QMP naming to avoid non-unique truncation 0c4064e capabilities: Pass capabilities to hyperstart. e20ba9d oci: Add support for capabilities 6776dd9 shim: Correct kata debug flag b307c08 qemu: refactor/simplify addDevice function 747d364 vhost-user: rewrite to use interfaces/embedded types cc67fb0 vhost-user: enabling for vhost-user network devices f5587cf device: make a more generic function for hypervisor args d6f0600 gitignore: Add new shim binary to gitignore list bf8359f gitignore: Add new shim binary to gitignore list c30fd9a ci: Install missing dep tool d1bb792 kata_agent: Signal the kata shim 08c96c2 shim: Generalize stopShim Fixes clearcontainers#924. Signed-off-by: James O. D. Hunt <[email protected]>
jodh-intel
added a commit
to jodh-intel/runtime
that referenced
this issue
Jan 16, 2018
Update virtcontainers specifically for commit fb1eecd which fixes the issue of lingering bind-mounts after a container has been killed. shortlog of virtcontainers changes: fb1eecd mount: Fix unmount of dangling bind-mounts d7462c7 pkg/oci: Clarify resource calculation comment 027aab8 qemu: adjust QMP naming to avoid non-unique truncation 0c4064e capabilities: Pass capabilities to hyperstart. e20ba9d oci: Add support for capabilities 6776dd9 shim: Correct kata debug flag b307c08 qemu: refactor/simplify addDevice function 747d364 vhost-user: rewrite to use interfaces/embedded types cc67fb0 vhost-user: enabling for vhost-user network devices f5587cf device: make a more generic function for hypervisor args d6f0600 gitignore: Add new shim binary to gitignore list bf8359f gitignore: Add new shim binary to gitignore list c30fd9a ci: Install missing dep tool d1bb792 kata_agent: Signal the kata shim 08c96c2 shim: Generalize stopShim Fixes clearcontainers#924. Signed-off-by: James O. D. Hunt <[email protected]>
mcastelino
pushed a commit
to mcastelino/runtime
that referenced
this issue
Dec 6, 2018
Since struct VFIODevice needed to be stored into disk by storeSandboxDevices() function, however struct VFIODevice has a field named "vfioDevs", which is named begin with lower-case, so it can't be written into file by json.Marshal.And this bug will will cause hotplug vfio device can not been removed correctly while container exits. Fixes: clearcontainers#924 Signed-off-by: flyflypeng <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As noted by @grahamwhaley:
The commit that introduced this issue is the virtcontainers re-vendor commit cec1b6f.
c4a4be4
looks like a likely suspect but need to dig into that...The text was updated successfully, but these errors were encountered: