[CRIU] Checkpointing a singularity container

Andrei Vagin avagin at virtuozzo.com
Tue Aug 8 04:33:54 MSK 2017


On Mon, Aug 07, 2017 at 01:15:35PM +0200, Adrian Reber wrote:
> I just tried to checkpoint a singularity container with busybox and a
> simple shell loop and it fails.
> 
> This is how I start the container:
> 
> mkdir /tmp/test1
> 
> /home/singularity-root/bin/singularity bootstrap /tmp/test1 examples/busybox/Singularity
> 
> /home/singularity-root/bin/singularity run -C -B /tmp/share:/test /tmp/test1/
> 
> criu dump -t 21985 -vvvv
> [...]
> (00.001459) Add pid ns 8 pid 21989
> (00.001475) Error (criu/namespaces.c:431): Can't dump nested ipc namespace for 21989
> (00.001480) Error (criu/namespaces.c:773): Can't make ipcns id
> (00.001488) Unlock network
> (00.001498) Unfreezing tasks into 1
> (00.001502) 	Unseizing 21985 into 1
> (00.001508) 	Unseizing 21989 into 1
> (00.001512) 	Unseizing 22002 into 1
> (00.001526) Error (criu/cr-dump.c:1800): Dumping FAILED.

Could you show ps axf  for target processes and ls -l /proc/pid/ns
them?

> 
> Full log at:
> 
> https://lisas.de/~adrian/dump-singularity.log
> 
> 		Adrian
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list