-
Notifications
You must be signed in to change notification settings - Fork 560
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
CRIU error writing to cpuset.cpus: Permission denied #2000
Comments
Congratulations for opening ticket 2000 👏 😉 A couple of questions:
|
Thanks for the quick and precise answer, you really helped me out. 😊
By the way, moving to runc helped. In order to use runc instead of crun, I edited the file /usr/share/containers/containers.conf. In particular I uncommented some lines until the file looked like: containers.conf file content:
I checked to be actually using runc running the command 'podman info | grep ociRuntime' and got: podman ociRuntime info output:ociRuntime: name: runc package: runc_1.1.0-0ubuntu1~20.04.2_amd64 path: /usr/sbin/runc version: |- runc version 1.1.0-0ubuntu1~20.04.2 spec: 1.0.2-dev go: go1.16.2 libseccomp: 2.5.1 At this point, trying to run all the migration process worked fine. |
Good to hear that it works. Thanks for your detailed description. Hopefully it helps somebody else. This probably also means we need to fix something in crun. |
Description
Hello, I am new here and I'm trying to use Criu in order to checkpoint and restore a container from an host to another one. In particular I am using two identical virtual machines (the second cloned from the first): on the first vm I start a custom container, checkpoint it and send it (via http) to the second one. When I try to restore it (from the second vm) I get an error about a lack of permissions. I want to precise:
The basic checkpoint/restore procedure works well if I don't change host. So if from the first vm I checkpoint and then restore the container it works fine (same thing for the second one). The problem occurs only if I try to migrate the container.
CRIU logs and information:
CRIU full restore log:
Output of `criu --version`:
Output of `criu check --all`:
Thanks in advance
The text was updated successfully, but these errors were encountered: