[lxc-users] LXC, criu and cgroups...
Tycho Andersen
tycho.andersen at canonical.com
Mon Apr 6 15:31:53 UTC 2015
On Mon, Apr 06, 2015 at 05:28:23PM +0200, Dirk Geschke wrote:
> 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?
Yes, it's a liblxc patch (or rather, a series of patches).
Tycho
> > 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 |
> +----------------------------------------------------------------------+
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list