incubator-mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod Kone <vinodk...@gmail.com>
Subject Re: Mesos, lxc and ubuntu 12
Date Wed, 12 Jun 2013 23:48:02 GMT
Hi Dmitry,

What version of mesos are you using? Lxc support has been deprecated for a
while now. You should use the new cgroups isolation.



On Wed, Jun 12, 2013 at 4:26 PM, Dmitriy Lyubimov <dlieu.7@gmail.com> wrote:

> Hello,
>
> is there anything speicific to ubuntu 12 that needs to be done to make
> Mesos work with LCX?
>
> I set things up according to ubuntu docs,
> https://help.ubuntu.com/12.10/serverguide/lxc.html#lxc-creation
>
> and all container examples there seem to be happily working.
>
> However, some mesos unit tests are failing (which i suspect are relating
> to lxc) as well as lxc isolation mode fails to spawn tasks.
>
> (I am actually on ubuntu 12-04 LTS).
>
> Is there any speicific way to troubleshoot this? Is LXC in Mesos even
> working with Ubuntu 12?
>
> thank you in advance. (slave output enclosed).
> -d
>
> I0612 16:24:20.682698 26452 slave.cpp:474] Got assigned task 0 for
> framework 201306121623-16777343-5050-26417-0000
> I0612 16:24:20.683425 26452 paths.hpp:234] Created executor directory
> '/tmp/mesos/slaves/201306121623-16777343-5050-26417-0/frameworks/201306121623-16777343-5050-26417-0000/executors/Task
> 0 ("/home/dmitr...)/runs/9156d4fa-a177-464b-906f-fb62c8b9b363'
> I0612 16:24:20.683630 26453 lxc_isolation_module.cpp:121] Launching Task 0
> ("/home/dmitr...) (/usr/local/libexec/mesos/mesos-executor) in
> /tmp/mesos/slaves/201306121623-16777343-5050-26417-0/frameworks/201306121623-16777343-5050-26417-0000/executors/Task
> 0 ("/home/dmitr...)/runs/9156d4fa-a177-464b-906f-fb62c8b9b363 with
> resources ' for framework 201306121623-16777343-5050-26417-0000
> I0612 16:24:20.683945 26453 lxc_isolation_module.cpp:152] Forked executor
> at = 26570
> lxc-execute: No such file or directory - failed to create
> '/sys/fs/cgroup/cpuset//lxc/mesos_executor_Task 0
> ("/home/dmitr...)_framework_201306121623-16777343-5050-26417-0000' directory
> lxc-execute: failed to spawn 'mesos_executor_Task 0
> ("/home/dmitr...)_framework_201306121623-16777343-5050-26417-0000'
> lxc-execute: No such file or directory - failed to remove cgroup
> '/sys/fs/cgroup/cpuset//lxc/mesos_executor_Task 0
> ("/home/dmitr...)_framework_201306121623-16777343-5050-26417-0000'
> I0612 16:24:21.451616 26452 lxc_isolation_module.cpp:322] Telling slave of
> lost executor Task 0 ("/home/dmitr...) of framework
> 201306121623-16777343-5050-26417-0000
> I0612 16:24:21.451709 26452 lxc_isolation_module.cpp:239] Stopping
> container mesos_executor_Task 0
> ("/home/dmitr...)_framework_201306121623-16777343-5050-26417-0000
> I0612 16:24:21.452199 26454 slave.cpp:998] Executor 'Task 0
> ("/home/dmitr...)' of framework 201306121623-16777343-5050-26417-0000 has
> exited with status 255
> sh: 1: Syntax error: "(" unexpected
> E0612 16:24:21.453227 26452 lxc_isolation_module.cpp:248] Failed to stop
> container mesos_executor_Task 0
> ("/home/dmitr...)_framework_201306121623-16777343-5050-26417-0000, lxc-stop
> returned: 512
> I0612 16:24:21.453385 26454 slave.cpp:829] Status update: task 0 of
> framework 201306121623-16777343-5050-26417-0000 is now in state TASK_FAILED
> E0612 16:24:21.453583 26453 lxc_isolation_module.cpp:273] ERROR! Asked to
> update resources for an unknown executor!
> I0612 16:24:21.453891 26451 gc.cpp:97] Scheduling
> /tmp/mesos/slaves/201306121623-16777343-5050-26417-0/frameworks/201306121623-16777343-5050-26417-0000/executors/Task
> 0 ("/home/dmitr...)/runs/9156d4fa-a177-464b-906f-fb62c8b9b363 for removal
>
>
>
>

Mime
View raw message