Mathias Sulser created AURORA-1974:
--------------------------------------

             Summary: Update sample Docker jobs for Vagrant tutorial
                 Key: AURORA-1974
                 URL: https://issues.apache.org/jira/browse/AURORA-1974
             Project: Aurora
          Issue Type: Task
          Components: Docker, Documentation
    Affects Versions: 0.19.1
            Reporter: Mathias Sulser


h2. Problem

As discussed with [~rdelvalle] on Slack, I am filing what is likely a 
regression caused by the recent Vagrant upgrade in 
[https://github.com/apache/aurora/commit/c52137e20bd2863234dc09116e1339364ffed77a]

As of now, submitting any jobs in {{examples/jobs/hello_docker_engine.aurora}} 
or {{examples/jobs/hello_docker_image.aurora}} will fail due to the following 
error:
{code:java}
Traceback (most recent call last):
File "apache/aurora/executor/bin/thermos_executor_main.py", line 47, in <module>
from mesos.executor import MesosExecutorDriver
File 
"/root/.pex/install/mesos.executor-1.4.0-py2.7-linux-x86_64.egg.bf19bd50eea04a23374924ed382340b7a2557be3/mesos.executor-1.4.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.21' 
not found (required by 
/root/.pex/install/mesos.executor-1.4.0-py2.7-linux-x86_64.egg.bf19bd50eea04a23374924ed382340b7a2557be3/mesos.executor-1.4.0-py2.7-linux-x86_64.egg/mesos/executor/_executor.so)
{code}
h2. Solution

Changing the docker image from {{python:2.7}} to {{python:2.7-slim-stretch}} 
will fix this.

 

Hat-tip to [~rdelvalle] for figuring this out so quickly (y)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to