[CRIU] Live migration failure with mistmatch sid/pgid

Nam Ninh namninh at gmail.com
Thu Feb 19 11:25:32 PST 2015


On Thu, Feb 19, 2015 at 2:13 PM, Pavel Emelyanov <xemul at parallels.com>
wrote:

> On 02/19/2015 10:03 PM, Nam Ninh wrote:
> > Please find attached restore.log when I run
> > criu restore -d --images-dir /tmp/images -o restore.log
> >
> > The content of pstree.img shows:
> >
> > root at 128:~# criu show -f /tmp/images/pstree.img
> > pid: 1251 ppid: 0 pgid: 1251 sid: 950 threads: 1251
> > pid: 1290 ppid: 1251 pgid: 1251 sid: 950 threads: 1290
> >
>
> OK. How did you dump this tree? Did you use the -j/--shell-job option?
>

I dumped using this command:
criu dump -t 1251 --images-dir /tmp/images --shell-job --leave-stopped



>
> >
> >
> > On Thu, Feb 19, 2015 at 12:44 PM, Pavel Emelyanov <xemul at parallels.com
> <mailto:xemul at parallels.com>> wrote:
> >
> >     On 02/19/2015 05:45 PM, Nam Ninh wrote:
> >     > Hi,
> >     >
> >     > I follow the instructions at this link to do the live migration of
> Single Loop application
> >     > http://criu.org/Live_migration
> >     >
> >     > and get the following error when I try to restore on a destination
> target:
> >
> >     Can you show the contents of the pstree.img file? With the criu show
> -f pstree.img command.
> >
> >     > root at 128:~# criu restore -d --images-dir /tmp/images
> >     >   1545: Error (cr-restore.c:1258): Requested sid 965 doesn't match
> inherited 1260
> >     >   1378: Error (cr-restore.c:1185): 1545 exited, status=1
> >
> >     And, if possible, the full restore.log file.
> >
> >     > When I apply this patch, the migration works fine:
> >     > https://lists.openvz.org/pipermail/criu/2012-April/002291.html
> >     >
> >     > I am using CRIU version 1.4 and kernel 3.14. Would you please tell
> me if I miss anything?
> >     >
> >     > Thanks,
> >     > Nam
> >     >
> >     >
> >     >
> >     > _______________________________________________
> >     > CRIU mailing list
> >     > CRIU at openvz.org <mailto:CRIU at openvz.org>
> >     > https://lists.openvz.org/mailman/listinfo/criu
> >     >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150219/839b0903/attachment.html>


More information about the CRIU mailing list