[CRIU] Live migration failure with mistmatch sid/pgid
Nam Ninh
namninh at gmail.com
Thu Feb 19 12:24:47 PST 2015
On Thu, Feb 19, 2015 at 2:35 PM, Pavel Emelyanov <xemul at parallels.com>
wrote:
> On 02/19/2015 10:25 PM, Nam Ninh wrote:
> > On Thu, Feb 19, 2015 at 2:13 PM, Pavel Emelyanov <xemul at parallels.com
> <mailto: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
>
> Ah, I see. The -j option should be used on both stages -- dump and
> restore. Add one
> to your restore command, it should fix the sid mismatch issue.
>
It works when I have -j on both dump and restore. Thank you very much for
your help. Should we update this page?
http://criu.org/Live_migration
- "--tree <pid" is obsolete and add "-d" with restore
- Add a note to use -j on both dump and restore for shell job migration
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150219/7f289577/attachment.html>
More information about the CRIU
mailing list