You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Harry Metske <ha...@gmail.com> on 2015/10/14 19:20:36 UTC

mesos 0.25.0 in docker: Failed to mount cgroups hierarchy at '/sys/fs/cgroup/freezer': 'freezer' is already attached to another hierarchy

Hi,

I just tried to upgrade mesos from 0.24.1 to 0.25.0.
Mesos runs in a docker container.
The mesos-slave now fails with the following :

[root@f57993198000 bin]# mesos-slave --master=zk://localhost:2181/mesos
--work_dir=/var/lib/mesos
I1014 17:14:54.831189   443 main.cpp:185] Build: 2015-10-12 20:59:01 by root
I1014 17:14:54.831318   443 main.cpp:187] Version: 0.25.0
I1014 17:14:54.831346   443 main.cpp:190] Git tag: 0.25.0
I1014 17:14:54.831372   443 main.cpp:194] Git SHA:
2dd7f7ee115fe00b8e098b0a10762a4fa8f4600f
I1014 17:14:54.831583   443 containerizer.cpp:143] Using isolation:
posix/cpu,posix/mem,filesystem/posix
Failed to create a containerizer: Could not create MesosContainerizer:
Failed to create launcher: Failed to create Linux launcher: Failed to mount
cgroups hierarchy at '/sys/fs/cgroup/freezer': 'freezer' is already
attached to another hierarchy

I tried both on Ubuntu 14.04 and Centos 7.1, same results.
Running mesos 0.25.0 on a normal Linux (not docker container) runs fine.

Any ideas ?

thanks,
Harry

Re: mesos 0.25.0 in docker: Failed to mount cgroups hierarchy at '/sys/fs/cgroup/freezer': 'freezer' is already attached to another hierarchy

Posted by Harry Metske <ha...@gmail.com>.
that solved the issue.

thanks for the quick response!

regards,
Harry


On 14 October 2015 at 19:38, haosdent <ha...@gmail.com> wrote:

> How about add --launcher=posix ?
>
> On Thu, Oct 15, 2015 at 1:20 AM, Harry Metske <ha...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I just tried to upgrade mesos from 0.24.1 to 0.25.0.
>> Mesos runs in a docker container.
>> The mesos-slave now fails with the following :
>>
>> [root@f57993198000 bin]# mesos-slave --master=zk://localhost:2181/mesos
>> --work_dir=/var/lib/mesos
>> I1014 17:14:54.831189   443 main.cpp:185] Build: 2015-10-12 20:59:01 by
>> root
>> I1014 17:14:54.831318   443 main.cpp:187] Version: 0.25.0
>> I1014 17:14:54.831346   443 main.cpp:190] Git tag: 0.25.0
>> I1014 17:14:54.831372   443 main.cpp:194] Git SHA:
>> 2dd7f7ee115fe00b8e098b0a10762a4fa8f4600f
>> I1014 17:14:54.831583   443 containerizer.cpp:143] Using isolation:
>> posix/cpu,posix/mem,filesystem/posix
>> Failed to create a containerizer: Could not create MesosContainerizer:
>> Failed to create launcher: Failed to create Linux launcher: Failed to mount
>> cgroups hierarchy at '/sys/fs/cgroup/freezer': 'freezer' is already
>> attached to another hierarchy
>>
>> I tried both on Ubuntu 14.04 and Centos 7.1, same results.
>> Running mesos 0.25.0 on a normal Linux (not docker container) runs fine.
>>
>> Any ideas ?
>>
>> thanks,
>> Harry
>>
>
>
>
> --
> Best Regards,
> Haosdent Huang
>

Re: mesos 0.25.0 in docker: Failed to mount cgroups hierarchy at '/sys/fs/cgroup/freezer': 'freezer' is already attached to another hierarchy

Posted by haosdent <ha...@gmail.com>.
How about add --launcher=posix ?

On Thu, Oct 15, 2015 at 1:20 AM, Harry Metske <ha...@gmail.com>
wrote:

> Hi,
>
> I just tried to upgrade mesos from 0.24.1 to 0.25.0.
> Mesos runs in a docker container.
> The mesos-slave now fails with the following :
>
> [root@f57993198000 bin]# mesos-slave --master=zk://localhost:2181/mesos
> --work_dir=/var/lib/mesos
> I1014 17:14:54.831189   443 main.cpp:185] Build: 2015-10-12 20:59:01 by
> root
> I1014 17:14:54.831318   443 main.cpp:187] Version: 0.25.0
> I1014 17:14:54.831346   443 main.cpp:190] Git tag: 0.25.0
> I1014 17:14:54.831372   443 main.cpp:194] Git SHA:
> 2dd7f7ee115fe00b8e098b0a10762a4fa8f4600f
> I1014 17:14:54.831583   443 containerizer.cpp:143] Using isolation:
> posix/cpu,posix/mem,filesystem/posix
> Failed to create a containerizer: Could not create MesosContainerizer:
> Failed to create launcher: Failed to create Linux launcher: Failed to mount
> cgroups hierarchy at '/sys/fs/cgroup/freezer': 'freezer' is already
> attached to another hierarchy
>
> I tried both on Ubuntu 14.04 and Centos 7.1, same results.
> Running mesos 0.25.0 on a normal Linux (not docker container) runs fine.
>
> Any ideas ?
>
> thanks,
> Harry
>



-- 
Best Regards,
Haosdent Huang