[CRIU] Restore Error in Cgroup Systemd
ZHANG Fan D
Fan.d.Zhang at alcatel-sbell.com.cn
Tue Jul 21 20:24:54 PDT 2015
Hi,
I am trying migrating a simple shell job between hosts and failed in restore as:
(00.042759) 38289: Error (cgroup.c:908): cg: Can't move into systemd//user.slice/user-0.slice/session-741.scope/tasks (-1/-1): No such file or directory
(00.043022) Error (cr-restore.c:1193): 38289 exited, status=1
(00.044078) Error (cr-restore.c:1867): Restoring FAILED.
The environments:
[root at compute1 criu-br-1.5-stable]# uname -a
Linux compute1 3.12.44 #1 SMP Mon Jul 20 09:16:11 CST 2015 x86_64 x86_64 x86_64 GNU/Linux
[root at compute1 criu-br-1.5-stable]# ./criu -V
Version: 1.5.2
Restore log attached.
The cause is that for each session in the system a directory created as /sys/fs/cgroup/system/user.slice/user-x.slice/session-x.scope/. While the source and destination have different sessions.
And in restoring, the cgroup is prepared before session.
Would you please help to solve the problem? Thank you very much.
Best Regards
Zhang Fan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150722/edd128cd/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sessionlog.txt
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150722/edd128cd/attachment-0001.txt>
More information about the CRIU
mailing list