<div dir="ltr">I've looked at ct migration between 2 ubuntu 16.04 hosts today, and had some interesting problems;  I find that migration of stopped containers works fairly reliably; but live migration, well, it transfers a lot of data, then exits with a failure message. I can then move the same container, stopped, with no problem.<div><div><br>The error is the same every time, a failure of "mkdtemp" - </div><div><br></div><div><br></div><div><div>root@ronnie:~# lxc move third lxd:</div><div>error: Error transferring container data: restore failed:</div><div>(00.033172)      1: Error (cr-restore.c:1489): mkdtemp failed crtools-proc.x9p5OH: Permission denied</div><div>(00.060072) Error (cr-restore.c:1352): 9188 killed by signal 9</div><div>(00.117126) Error (cr-restore.c:2182): Restoring FAILED.</div><div><br></div><div>root@raskolnikov:~# lxc move third lxd2:</div><div>error: Error transferring container data: restore failed:</div><div>(00.039099)      1: Error (cr-restore.c:1489): mkdtemp failed crtools-proc.a3U2t5: Permission denied</div><div>(00.063015) Error (cr-restore.c:1352): 1771 killed by signal 9</div><div>(00.115261) Error (cr-restore.c:2182): Restoring FAILED.</div><div><br></div><div>root@ronnie:~# lxc move third lxd:</div><div>error: Error transferring container data: restore failed:</div><div>(00.034542)      1: Error (cr-restore.c:1489): mkdtemp failed crtools-proc.gee5YS: Permission denied</div><div>(00.059955) Error (cr-restore.c:1352): 9274 killed by signal 9</div><div>(00.109272) Error (cr-restore.c:2182): Restoring FAILED.</div><div><br></div></div><div><br></div><div>Thanks for any pointers you can provide - </div><div><br></div><div>PS  - on a side note, I'd originally set up the new box with a separate /var partition on btrfs. As a result, "criu check" would die instantly with a segmentation error. After putting /var back on / (ext4) criu check produces the message "Looks good."</div><div><br></div><div>Jake<br><div><br> </div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 28, 2016 at 7:47 AM, Tycho Andersen <span dir="ltr"><<a href="mailto:tycho.andersen@canonical.com" target="_blank">tycho.andersen@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Mar 27, 2016 at 09:22:44PM -0700, jjs - mainphrame wrote:<br>
> You've had some success with live migrations? At any rate, I'm upgrading my<br>
> ubuntu 15.10 test box to 16.04 so that I'll have 2 of them. I'll give it a<br>
> whirl.<br>
<br>
</span>Yes, there are still various unsupported kernel features, but it<br>
should work out of the box for a modern stock xenial image on a xenial<br>
host. There is one more xenial kernel patch which will eventually be<br>
released that will break things, but I'm in the process of upstreaming<br>
some CRIU patches to handle that case, and we'll distro patch those<br>
when they're ready.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tycho<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On Sun, Mar 27, 2016 at 9:20 PM, Fajar A. Nugraha <<a href="mailto:list@fajar.net">list@fajar.net</a>> wrote:<br>
><br>
> > On Sun, Mar 27, 2016 at 11:31 PM, jjs - mainphrame <<a href="mailto:jjs@mainphrame.com">jjs@mainphrame.com</a>><br>
> > wrote:<br>
> > > The 2nd link you sent seems to indicate that<br>
> > > live migration wants to work, but I haven't been able to find any reports<br>
> > > from normal users in the field who've actually succeeded with live<br>
> > > migration. if I've missed something, please let me know.<br>
> ><br>
> > My best advice is to try yourself with latest 16.04 daily.<br>
> ><br>
> > I've had both success and failure with it.<br>
> ><br>
> > --<br>
> > Fajar<br>
> > _______________________________________________<br>
> > lxc-users mailing list<br>
> > <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> > <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
> ><br>
<br>
> _______________________________________________<br>
> lxc-users mailing list<br>
> <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></div></div></blockquote></div><br></div>