-
Notifications
You must be signed in to change notification settings - Fork 596
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
Checkpointing of Wasm container with podman+crun fails : Can't lookup mount
#2170
Comments
Thanks for the report. As non wasm apps are working this seems to be a crun problem. It seems the way mounts are configured, from a quick look, is not in a way that CRIU can handle it. On the CRIU side we cannot do much for now. This needs to be fixed in the crun side. It will probably also be assigned to me 😂 |
I don't know if it is crun-related or if it can depend on the wasm runtime used (crun can be built with different wasm runtimes, like wasmedge, wasmtime or wasmer). Fedora is shipped with wasmedge support, and I built crun on Debian with wasmedge too. I'll check on my side if changing the wasm runtime does soemthing, and I'll open a crun issue about this. |
@Snorch can you take a look at the logs to see if something is wrong the way the mounts are configured. That is my first assumption. Not sure if that is the reason. |
Closing in favour of containers/crun#1204 |
Description
When trying to checkpoint a wasm container started with podman + crun with wasmedge support, the checkpointing fails with an error like:
This happens on both Fedora 38 (btrfs) and Debian 11 (ext4) up-to-date. For both OSes the error at the end of the
dump.log
file is the same, excepted for the mount number and pid. The wasm container I tried to checkpoint is simply outputting the prime numbers on stdout.Steps to reproduce the issue:
And build with
You can check it is running with
podman logs demo-wasm-1
. You should see a lot of "Hello Wasm" printed.And notice it is failing.
Describe the results you received:
The checkpointing of the container fails
Describe the results you expected:
The checkpointing succeeds
Additional information you deem important (e.g. issue happens only occasionally):
The issue happens with the most simple of Wasm container. I was able to checkpoint and restore normal containers (debian and others) on the same machine without any issue.
CRIU logs and information:
Output of
podman container checkpoint
command :dump.log
file is attached :dump.log
Output of `criu --version`:
Output of `criu check --all`:
Additional environment details:
Tried on both Fedora 38 (btrfs) and Debian 11 (ext4) in VMs. Criu installed from respective package managers. Outputs are from the Fedora machine.
The text was updated successfully, but these errors were encountered: