Hi,
I am trying to run mesos slave in a docker container on coreos and am stuck
at libsasl2 dependency.
When I run an aurora job on it, I get this stacktrace in the sandbox stderr:

Traceback (most recent call last):
  File "apache/aurora/executor/bin/thermos_executor_main.py", line 45, in
<module>
    from mesos.native import MesosExecutorDriver
  File
"/root/.pex/install/mesos.native-0.24.1-py2.7-linux-x86_64.egg.c2a926cdb8d599d35c7a569171311edaebda9341/mesos.native-0.24.1-py2.7-linux-x86_64.egg/mesos/native/__init__.py",
line 17, in <module>
    from ._mesos import MesosExecutorDriverImpl
ImportError: libsasl2.so.2: cannot open shared object file: No such file or
directory


Any help on how to get this dependency satisfied?
I tried installing libsasl2-dev inside the slave container. I am exposing
the coreOS host docker socket to the slave for running this.


Also, I just stumbled upon this link by Alex from Mesosphere, where he
mentions that one can run mesos-slave natively on coreos.
Ref:
https://mail-archives.apache.org/mod_mbox/mesos-user/201503.mbox/%3CCACzFoUvRqNsVXVOFXnPzNM-QFu31BTTQaLTBGNcTtd=-opc...@mail.gmail.com%3E

Has anyone done that? Is there a document or can I get guidance as to how
to get it done?
Which would be the recommended method - run slave as a container or
natively in such a case?

Thanks.

--
κρισhναν

Reply via email to