You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Podman/CRIU fails to checkpoint a container restored using --import and --name. (similar to containers/podman#13672)
How can I checkpoint the new container?
Steps to reproduce the issue:
Create container podman run -d --name looper busybox /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
Checkpoint container with --export podman container checkpoint --export ch1.tar.gz looper
Restore container checkpoint with --import and --name podman container restore --import ch1.tar.gz --name looper2
Checkpoint the new container podman container checkpoint looper2 --export ch2.tar.gz
Describe the results you received:
ERRO[0000] container is not destroyed
ERRO[0000] criu failed: type NOTIFY errno 0
log file: /var/lib/containers/storage/overlay-containers/868a180ab534c95b938e6cdc481f0df0ee6032ca47399deb5d458fea2628407d/userdata/dump.log
Error: `/usr/bin/runc checkpoint --image-path /var/lib/containers/storage/overlay-containers/868a180ab534c95b938e6cdc481f0df0ee6032ca47399deb5d458fea2628407d/userdata/checkpoint --work-path /var/lib/containers/storage/overlay-containers/868a180ab534c95b938e6cdc481f0df0ee6032ca47399deb5d458fea2628407d/userdata 868a180ab534c95b938e6cdc481f0df0ee6032ca47399deb5d458fea2628407d` failed: exit status 1
Describe the results you expected:
It's expected that the looper2 container creates a new checkpoint in ch2.tar.gz.
Additional information you deem important (e.g. issue happens only occasionally): output of podman version:
Client: Podman Engine
Version: 4.3.1
API Version: 4.3.1
Go Version: go1.19.8
Built: Thu Jan 1 08:00:00 1970
OS/Arch: linux/amd64
Works for me with Podman 4.9.3 and CRIU 3.19 on Fedora with cgroup v1.
There is a patch for cgroup v2 in runc which has not made it to one of the releases yet which might be necessary for a v2 system. (opencontainers/runc#3546)
Description
Podman/CRIU fails to checkpoint a container restored using --import and --name. (similar to containers/podman#13672)
How can I checkpoint the new container?
Steps to reproduce the issue:
podman run -d --name looper busybox /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
podman container checkpoint --export ch1.tar.gz looper
podman container restore --import ch1.tar.gz --name looper2
podman container checkpoint looper2 --export ch2.tar.gz
Describe the results you received:
Describe the results you expected:
It's expected that the looper2 container creates a new checkpoint in ch2.tar.gz.
Additional information you deem important (e.g. issue happens only occasionally):
output of
podman version
:output of
podman info --debug
:output of
uname -a
:CRIU logs and information:
CRIU full dump/restore logs:
Output of `criu --version`:
Output of `criu check --all`:
output of
criu check --all
: (criu 3.19)(it did't print the detail of missing feature??)
Additional environment details:
output of kernel config: kernel-config.txt
The text was updated successfully, but these errors were encountered: