Rafael Capucho created MESOS-3498:
-------------------------------------
Summary: Failed to create a containerizer
Key: MESOS-3498
URL: https://issues.apache.org/jira/browse/MESOS-3498
Project: Mesos
Issue Type: Bug
Components: docker
Affects Versions: 0.25.0
Environment: Docker 1.8.2
Ubuntu 14.04.1 LTS
User: root
Linux li202-122 4.1.5-x86_64-linode61 #7 SMP Mon Aug 24 13:46:31 EDT 2015
x86_64 x86_64 x86_64 GNU/Linux
Reporter: Rafael Capucho
I'm using that script to compile mesos[1] and it's working properly, i can
deploy mesos master ok.
[1] -
https://bitbucket.org/rafaelcapucho/docker-mesos-master/src/b8709d3cbe52255f8eb5df17f79abff6b1945e95/Dockerfile?at=master&fileviewer=file-view-default
The problem is when I will deploy mesos slave with the same [1] script, running:
docker run rafa/docker-mesos-master mesos-slave --logging_level='INFO'
--log_dir=/var/log/mesos --master="zk://173.255.192.122:2181/mesos"
It exit after couple of seconds, the log:
root@li202-122:~# docker run -e "MESOS_LOG_DIR=/var/log/mesos"
rafa/docker-mesos-master mesos-slave --logging_level='INFO'
--log_dir=/var/log/mesos --master="zk://173.255.192.122:2181/mesos"
I0923 00:28:11.621003 1 logging.cpp:172] INFO level logging started!
I0923 00:28:11.621363 1 main.cpp:185] Build: 2015-09-22 23:39:14 by
I0923 00:28:11.621389 1 main.cpp:187] Version: 0.25.0
I0923 00:28:11.621397 1 main.cpp:194] Git SHA:
f5ec1d006794ef906e8b56861aa771888a73702f
I0923 00:28:11.622469 1 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 create root
cgroup /sys/fs/cgroup/freezer/mesos: Failed to create directory
'/sys/fs/cgroup/freezer/mesos': Read-only file system
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)