[lxc-users] Remounting cgroups and changing namespace.
Medhamsh V
medhamsh at gmail.com
Tue Jul 22 05:59:50 UTC 2014
Hi,
Thanks for the reply. cgmanager is already started. I tried restarting it
as well but no luck.
On 22 July 2014 11:23, Fajar A. Nugraha <list at fajar.net> wrote:
> On Tue, Jul 22, 2014 at 12:46 PM, Medhamsh V <medhamsh at gmail.com> wrote:
> > Hello,
> >
> > While working with unprivileged containers in Ubuntu-14.04 I am facing
> the
> > following issue.
> >
> > After installing all the requirements and creating a container, I am
> unable
> > to start it untill
> > I reboot the host. Once I reboot the host I am able to start the
> containers.
> > Following is the
> > error I get.
> >
> > lxc_container: call to cgmanager_create_sync failed: invalid request
> > lxc_container: Failed to create hugetlb:lamp-template
> > lxc_container: Error creating cgroup hugetlb:lamp-template
> > lxc_container: failed creating cgroups
> > lxc_container: failed to spawn 'lamp-template'
> > lxc_container: The container failed to start.
> > lxc_container: Additional information can be obtained by setting the
> > --logfile and --log-priority options.
> >
> >
> > Now I am trying to make this work without rebooting the host because I am
> > provisioning this host
> > via Chef and can't reboot the host for automation purposes. Though I am
> able
> > to figure out that
> > cgroups need to be remounted, is there something to change for namespace
> and
> > if so, how to do that?
> > This is on top of EC2.
>
>
> Latest ubuntu does not mount cgfs (except systemd). It starts
> cgmanager which listens to a socket. You should probably try "start
> cgmanager".
>
> --
> Fajar
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
--
Medhamsh,
GPG Finger Print: BD16 E32E CA4D 83A3 1270 725D D766 7997 0ABC 20E9
http://pascal.iiit.ac.in/~medhamsh/medhamsh.gpg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140722/41cbebf2/attachment.html>
More information about the lxc-users
mailing list