Mikhail Lesyk created AURORA-1902:
-------------------------------------

             Summary: Docker containers with not newest OS fails to run
                 Key: AURORA-1902
                 URL: https://issues.apache.org/jira/browse/AURORA-1902
             Project: Aurora
          Issue Type: Bug
          Components: Docker, Executor
    Affects Versions: 0.17.0
         Environment: Ubuntu: 16.04
Mesos: 1.1.0
Aurora: 0.17.0
Dockerengine: 1.13.1
            Reporter: Mikhail Lesyk


When trying to launch Docker containers, got an error:
{code}
I0308 21:47:18.769095  3579 fetcher.cpp:498] Fetcher Info: 
{"cache_directory":"\/tmp\/mesos\/fetch\/slaves\/7cbc133f-24ac-4937-aa28-09e8c81b647b-S6","items":[{"action":"BYPASS_CACHE","uri":{"executable":true,"extract":true,"value":"\/usr\/share\/aurora\/bin\/thermos_executor.pex"}}],"sandbox_directory":"\/var\/lib\/mesos\/slaves\/7cbc133f-24ac-4937-aa28-09e8c81b647b-S6\/frameworks\/47934424-623f-4fcb-9326-bf668149fc77-0000\/executors\/thermos-root-prod-test-0-cfb60c44-5153-4c92-b03a-393ba7de40b2\/runs\/bb3269f4-54e3-4509-98b5-8125a3cdeb14"}
I0308 21:47:18.774142  3579 fetcher.cpp:409] Fetching URI 
'/usr/share/aurora/bin/thermos_executor.pex'
I0308 21:47:18.774230  3579 fetcher.cpp:250] Fetching directly into the sandbox 
directory
I0308 21:47:18.774284  3579 fetcher.cpp:187] Fetching URI 
'/usr/share/aurora/bin/thermos_executor.pex'
I0308 21:47:18.774340  3579 fetcher.cpp:167] Copying resource with command:cp 
'/usr/share/aurora/bin/thermos_executor.pex' 
'/var/lib/mesos/slaves/7cbc133f-24ac-4937-aa28-09e8c81b647b-S6/frameworks/47934424-623f-4fcb-9326-bf668149fc77-0000/executors/thermos-root-prod-test-0-cfb60c44-5153-4c92-b03a-393ba7de40b2/runs/bb3269f4-54e3-4509-98b5-8125a3cdeb14/thermos_executor.pex'
I0308 21:47:18.804293  3579 fetcher.cpp:547] Fetched 
'/usr/share/aurora/bin/thermos_executor.pex' to 
'/var/lib/mesos/slaves/7cbc133f-24ac-4937-aa28-09e8c81b647b-S6/frameworks/47934424-623f-4fcb-9326-bf668149fc77-0000/executors/thermos-root-prod-test-0-cfb60c44-5153-4c92-b03a-393ba7de40b2/runs/bb3269f4-54e3-4509-98b5-8125a3cdeb14/thermos_executor.pex'
WARNING: Your kernel does not support swap limit capabilities or the cgroup is 
not mounted. Memory limited without swap.
Traceback (most recent call last):
  File "apache/aurora/executor/bin/thermos_executor_main.py", line 45, in 
<module>
    from mesos.executor import MesosExecutorDriver
  File 
"/root/.pex/install/mesos.executor-1.1.0-py2.7-linux-x86_64.egg.47fa022c99c11c7faddf379cbfc46a25c5f215be/mesos.executor-1.1.0-py2.7-linux-x86_64.egg/mesos/executor/__init__.py",
 line 17, in <module>
    from ._executor import MesosExecutorDriverImpl as MesosExecutorDriver
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' 
not found (required by 
/root/.pex/install/mesos.executor-1.1.0-py2.7-linux-x86_64.egg.47fa022c99c11c7faddf379cbfc46a25c5f215be/mesos.executor-1.1.0-py2.7-linux-x86_64.egg/mesos/executor/_executor.so)

twitter.common.app debug: Initializing: twitter.common.log (Logging subsystem.)
Writing log files to disk in /mnt/mesos/sandbox
thermos_executor.pex: error: Could not load MesosExecutorDriver!
twitter.common.app debug: main sys.exited
twitter.common.app debug: Shutting application down.
twitter.common.app debug: Running exit function for twitter.common.log (Logging 
subsystem.)
twitter.common.app debug: Finishing up module teardown.
twitter.common.app debug:   Active thread: <_MainThread(MainThread, started 
140671274604352)>
twitter.common.app debug: Exiting cleanly.
{code}
Tested affected systems(with absent of GLIBCXX_3.4.20):
Debian 8
Ubuntu 14.04

How to reproduce:
1) Prepare Docker image with Python 2.7. Example of Dockerfile:
{code}
FROM ubuntu:14.04

RUN apt-get -y update && apt-get -y install python2.7
{code}
2) build and push image to some repo, example:
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to