[CRIU] Fw: Restore Error in Cgroup Systemd

Z F full015zf at yahoo.com
Wed Jul 22 23:46:34 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[root at compute1 criu-br-1.5-stable]# ./criu restore --images-dir /mnt/nfs/home/zf/criutest/dumps/ --shell-job -v4 

 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-y.scope/. While the source and destination have different sessions.  
 Would you please help to solve the problem? Thank you very much.    Best Regards Zhang Fan 

   <!--#yiv0258702462 _filtered #yiv0258702462 {font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv0258702462 {font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv0258702462 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv0258702462 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;} _filtered #yiv0258702462 {font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;}#yiv0258702462 #yiv0258702462 p.yiv0258702462MsoNormal, #yiv0258702462 li.yiv0258702462MsoNormal, #yiv0258702462 div.yiv0258702462MsoNormal {margin:0cm;margin-bottom:.0001pt;text-align:justify;font-size:10.5pt;font-family:"Calibri", "sans-serif";}#yiv0258702462 a:link, #yiv0258702462 span.yiv0258702462MsoHyperlink {color:blue;text-decoration:underline;}#yiv0258702462 a:visited, #yiv0258702462 span.yiv0258702462MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv0258702462 span.yiv0258702462EmailStyle17 {font-family:"Calibri", "sans-serif";color:windowtext;}#yiv0258702462 span.yiv0258702462EmailStyle18 {font-family:"Calibri", "sans-serif";color:#1F497D;}#yiv0258702462 .yiv0258702462MsoChpDefault {font-size:10.0pt;} _filtered #yiv0258702462 {margin:72.0pt 90.0pt 72.0pt 90.0pt;}#yiv0258702462 div.yiv0258702462WordSection1 {}-->
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150723/a76fba4f/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sessionlog.txt
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150723/a76fba4f/attachment-0001.txt>


More information about the CRIU mailing list