aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Cockrill (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AURORA-1487) hello_docker.aurora fails due to missing native dependencies
Date Fri, 11 Sep 2015 07:30:45 GMT

    [ https://issues.apache.org/jira/browse/AURORA-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740338#comment-14740338
] 

James Cockrill edited comment on AURORA-1487 at 9/11/15 7:30 AM:
-----------------------------------------------------------------

I've just tested the first one and it worked fine. I did the following:

# created Dockerfile from the {{FROM python:2.7 ...}} example above and put it in [aurora/examples/jobs/docker|https://github.com/apache/aurora/tree/8bcb2baaeba04c7e9abbd04142c7ad001dc71f76/examples/jobs/docker]
# in that directory: {{docker build -t aurora/docker:2.7 .}}
# edit [hello_docker.aurora|https://github.com/apache/aurora/blob/8bcb2baaeba04c7e9abbd04142c7ad001dc71f76/examples/jobs/docker/hello_docker.aurora]
and:
## replace {{image = 'python:2.7'}}
{noformat}
## with {{image = 'aurora/docker:2.7'}}
# fire it up with 
{noformat}
aurora job create devcluster/docker-test/devel/hello_docker ./hello_docker.aurora
{noformat}

That seemed to do the trick. Thanks for the help.


was (Author: jdcockrill):
I've just tested the first one and it worked fine. I did the following:

# created Dockerfile from the {{FROM python:2.7 ...}} example above and put it in [aurora/examples/jobs/docker|https://github.com/apache/aurora/tree/8bcb2baaeba04c7e9abbd04142c7ad001dc71f76/examples/jobs/docker]
# in that directory: {{docker build -t aurora/docker:2.7 .}}
# edit [hello_docker.aurora|https://github.com/apache/aurora/blob/8bcb2baaeba04c7e9abbd04142c7ad001dc71f76/examples/jobs/docker/hello_docker.aurora]
and:
## replace 
{noformat}
image = 'python:2.7'
{noformat}
## with {{image = 'aurora/docker:2.7'}}
# fire it up with 
{noformat}
aurora job create devcluster/docker-test/devel/hello_docker ./hello_docker.aurora
{noformat}

> hello_docker.aurora fails due to missing native dependencies
> ------------------------------------------------------------
>
>                 Key: AURORA-1487
>                 URL: https://issues.apache.org/jira/browse/AURORA-1487
>             Project: Aurora
>          Issue Type: Bug
>          Components: Documentation, Usability
>            Reporter: Bill Farner
>            Assignee: Bill Farner
>
> Our repo contains [hello_docker.aurora|https://github.com/apache/aurora/blob/8bcb2baaeba04c7e9abbd04142c7ad001dc71f76/examples/jobs/docker/hello_docker.aurora#L35],
which currently doesn't work since we upgraded to mesos 0.23.0.  When launching a task, it
fails silently (only cause is found in the executor's stderr):
> {noformat}
> thermos_executor.pex: error: Could not load MesosExecutorDriver!
> {noformat}
> The problem is that the image lacks a new libmesos dependency on libcurl, which we [set
up|https://github.com/apache/aurora/blob/22f9cbb7e6b82ba6e0154bbe47d78f7a22cd3115/src/test/sh/org/apache/aurora/e2e/Dockerfile#L18]
in our integration tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message