[lxc-users] LXC, criu and cgroups...
Dirk Geschke
dirk at lug-erding.de
Mon Apr 6 15:28:23 UTC 2015
Hi Tycho,
> On Sun, Apr 05, 2015 at 11:31:48AM +0200, Dirk Geschke wrote:
> > Hi all,
> >
> > I was just playing with lxd and tried the move command but it
> > failed with
> >
> > error: checkpoint failed
> >
> > I think, this is not a problem of lxd but of criu with cgroups.
> >
> > The running container is semi-unprivileged, I can start it without
> > problems.
>
> We currently cannot migrate unprivileged containers, so any container
> you want to migrate needs to be a privileged container.
:-/
> > But if I use cgmanager, then criu fails with:
> >
> > Error (mount.c:624): 94:./sys/fs/cgroup/cgmanager doesn't have a proper root mount
>
> This should be fixed by a patch I posted to the mailing list a few
> weeks ago (it finally got acked last Friday, and I think the plan is
> to push it today, so you might re-try with the daily build tomorrow).
Ah, that sounds good. I'm excited to test it.
I guess this is a patch for lxc-1.1.x and not lxd-0.5 or criu?
> Once these are pushed, I will do a blog post on exactly the
> configuration and versions of things needed to checkpoint and restore
> containers with LXD.
Cool, I'm looking forward to read it!
Thanks for your response and enjoy the rest of the easter days!
Best regards
Dirk
--
+----------------------------------------------------------------------+
| Dr. Dirk Geschke / Plankensteinweg 61 / 85435 Erding |
| Telefon: 08122-559448 / Mobil: 0176-96906350 / Fax: 08122-9818106 |
| dirk at geschke-online.de / dirk at lug-erding.de / kontakt at lug-erding.de |
+----------------------------------------------------------------------+
More information about the lxc-users
mailing list