yes, agent is running as root user.



------------------ ???????? ------------------
??????: "Alexander Rojas";<[email protected]>;
????????: 2017??6??12??(??????) ????9:14
??????: "user"<[email protected]>; 

????: Re: Failed to create the cgroup at ...



Are you running the agent as root? if not, try doing so.
 
Alexander Rojas
[email protected]




 
 
On 11. Jun 2017, at 15:36, Happy?????? <[email protected]> wrote:

Hi,
    I have encountered a problem when using mesos 1.2.0, details as below:


    "Task XXXXXX-XXXXXXXXX is in unexpected state TASK_FAILED with reason 
'REASON_CONTAINER_LAUNCH_FAILED' from source 'SOURCE_AGENT' with message 
'Failed to launch container: Failed to create the cgroup at 
'/sys/fs/cgroup/devices/mesos/f70bbbda-bcd0-42dc-bb47-740c99c5b2a9': Failed to 
create directory 
'/sys/fs/cgroup/devices/mesos/f70bbbda-bcd0-42dc-bb47-740c99c5b2a9': No such 
file or directory'"


    I found the directory /sys/fs/cgroup/devices/mesos was missing, but it was 
exist when mesos agent started. I don't know why it is missing, and it has 
occured very frequently on my server.
    How can I resolve this problem ?


 Best Regards,
 Weijia.Liu

Reply via email to