[lxc-users] Remounting cgroups and changing namespace.
Fajar A. Nugraha
list at fajar.net
Tue Jul 22 06:26:09 UTC 2014
On Tue, Jul 22, 2014 at 12:59 PM, Medhamsh V <medhamsh at gmail.com> wrote:
> Hi,
>
> Thanks for the reply. cgmanager is already started. I tried restarting it as
> well but no luck.
Try increasing the log verbosity for both lxc-start and cgmanager, as
in https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1335418 , last
comment. It might give some ideas what's wrong.
--
Fajar
>
>
> 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
>
> _______________________________________________
> 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