-
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
CRIU dump failed in docker container - runc did not terminate successfully #2368
Comments
I think there was recently a discussion that inotify does not work on overlayfs with default options. So either you have to change the mount options or use a container that does not use inotify |
I've changed storage driver to vfs and now i am getting another error: |
Try to enable support to dump file-locks as described in the error message. With Podman you can do something like You could also do |
@uetaaam Can this be closed? |
A friendly reminder that this issue had no activity for 30 days. |
Initially, I encountered an issue with inotify while attempting to create a checkpoint: |
A friendly reminder that this issue had no activity for 30 days. |
I am trying to create checkpoint in my docker container using command:
docker checkpoint create container chekcpoint1
and i am getting this error:
Error response from daemon: Cannot checkpoint container container: runc did not terminate successfully: exit status 1: criu failed: type NOTIFY errno 0 path=
CRIU logs and information:
(00.112878) irmap: Refresh stat for /etc/ssl/private
(00.112891) irmap: Refilling /etc/ssl/private dir
(00.112905) irmap: Scanning /var/spool hint
(00.112908) irmap: Refresh stat for /var/spool
(00.112914) irmap: Refilling /var/spool dir
(00.112927) irmap: Refresh stat for /var/spool/mail
(00.112932) irmap: Scanning /var/log hint
(00.112934) irmap: Refresh stat for /var/log
(00.112939) irmap: Refilling /var/log dir
(00.112962) irmap: Refresh stat for /var/log/apt
(00.112967) irmap: Refilling /var/log/apt dir
(00.112986) irmap: Refresh stat for /var/log/apt/eipp.log.xz
(00.112991) irmap: Refresh stat for /var/log/apt/history.log
(00.112997) irmap: Refresh stat for /var/log/apt/term.log
(00.113002) irmap: Refresh stat for /var/log/btmp
(00.113007) irmap: Refresh stat for /var/log/faillog
(00.113011) irmap: Refresh stat for /var/log/lastlog
(00.113016) irmap: Refresh stat for /var/log/wtmp
(00.113021) irmap: Refresh stat for /var/log/dpkg.log
(00.113026) irmap: Scanning /usr/share/dbus-1/system-services hint
(00.113028) irmap: Refresh stat for /usr/share/dbus-1/system-services
(00.113039) Error (criu/irmap.c:104): irmap: Can't stat /usr/share/dbus-1/system-services: No such file or directory
(00.113045) irmap: Scanning /var/lib/polkit-1/localauthority hint
(00.113048) irmap: Refresh stat for /var/lib/polkit-1/localauthority
(00.113052) Error (criu/irmap.c:104): irmap: Can't stat /var/lib/polkit-1/localauthority: No such file or directory
(00.113055) irmap: Scanning /usr/share/polkit-1/actions hint
(00.113057) irmap: Refresh stat for /usr/share/polkit-1/actions
(00.113062) irmap: Refilling /usr/share/polkit-1/actions dir
(00.113076) irmap: Refresh stat for /usr/share/polkit-1/actions/org.dpkg.pkexec.update-alternatives.policy
(00.113082) irmap: Scanning /lib/udev hint
(00.113085) irmap: Refresh stat for /lib/udev
(00.113090) irmap: Refilling /lib/udev dir
(00.113102) irmap: Refresh stat for /lib/udev/rules.d
(00.113108) irmap: Refilling /lib/udev/rules.d dir
(00.113120) irmap: Refresh stat for /lib/udev/rules.d/96-e2scrub.rules
(00.113126) irmap: Scanning /. hint
(00.113128) irmap: Refresh stat for /.
(00.113132) irmap: Scanning /no-such-path hint
(00.113134) irmap: Refresh stat for /no-such-path
(00.113138) Error (criu/irmap.c:104): irmap: Can't stat /no-such-path: No such file or directory
(00.113141) Error (criu/fsnotify.c:284): fsnotify: Can't dump that handle
(00.113179) ----------------------------------------
(00.113205) Error (criu/cr-dump.c:1669): Dump files (pid: 1850966) failed with -1
(00.113214) Waiting for 1850966 to trap
(00.113274) Daemon 1850966 exited trapping
(00.113290) Sent msg to daemon 3 0 0
pie: 1: __fetched msg: 3 0 0
pie: 1: 1: new_sp=0x7fe7cfff3848 ip 0x7fe97a181ad8
(00.113459) 1850966 was trapped
(00.113487) 1850966 was trapped
(00.113493) 1850966 (native) is going to execute the syscall 15, required is 15
(00.113541) 1850966 was stopped
(00.113859) net: Unlock network
(00.113866) Running network-unlock scripts
(00.113869) RPC
(00.138992) Unfreezing tasks into 1
(00.139030) Unseizing 1850966 into 1
(00.139579) Error (criu/cr-dump.c:2093): Dumping FAILED.
How can i solve this?
The text was updated successfully, but these errors were encountered: