Code Monkey home page Code Monkey logo

docker-compose-executor's Introduction

Apache Mesos Repository Has Moved

Apache Mesos is now a Top-Level Apache project, and we've moved the codebase. The downloads page explains the essential information, but here's the scoop:

Please check out the source code from Apache's git repostory:

git clone https://git-wip-us.apache.org/repos/asf/mesos.git

or if you prefer GitHub, use the GitHub mirror:

git clone git://github.com/apache/mesos.git

For issue tracking and patches, we use Apache-maintained infrastructure including the JIRA issue tracker instead of the GitHub one, and review board for patches instead of pull requests.

Other information including documentation and a getting started guide are available on the Mesos website: http://mesos.apache.org

Thanks!

-- The Mesos developers

docker-compose-executor's People

Contributors

antoinega avatar gtejasvarma avatar hcavalle avatar kkrishna avatar kurtkopchik avatar mbdas avatar mohitsoni avatar ridv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-compose-executor's Issues

mvn error.....

[root@slave711 docker-compose-executor-master]# mvn package -U
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building docker-compose-executor 0.1.1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ docker-compose-executor ---
[debug] execute contextualize
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ docker-compose-executor ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 20 source files to /root/docker-compose-executor-master/bin/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options

[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.538s
[INFO] Finished at: Sun Jul 31 05:05:33 EDT 2016
[INFO] Final Memory: 7M/19M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project docker-compose-executor: Compilation failure
[ERROR] javac: invalid target release: 1.8
[ERROR] Usage: javac <options> <source files>
[ERROR] use -help for a list of possible options
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[root@slave711 docker-compose-executor-master]# 
[root@slave711 docker-compose-executor-master]# java -version
java version "1.7.0_111"
OpenJDK Runtime Environment (rhel-2.6.7.2.el7_2-x86_64 u111-b01)
OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)
[root@slave711 docker-compose-executor-master]# javac -version
javac 1.7.0_111
[root@slave711 docker-compose-executor-master]# 

Issues launching docker compose executor on Marathon

I have issues performing a docker compose from Marathon. It doesn't work for a file online or a file locally accessible.

Current environment:
Marathon v 0.14.0-SNAPSHOT
Mesos v 0.26.0

Stdout
Archive: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example.zip
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/branches/
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/config
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/description
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/HEAD
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/hooks/
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/hooks/applypatch-msg.sample
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/hooks/commit-msg.sample
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/hooks/post-update.sample
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/hooks/pre-applypatch.sample
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/hooks/pre-commit.sample
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/hooks/pre-push.sample
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/hooks/pre-rebase.sample
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/hooks/prepare-commit-msg.sample
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/hooks/update.sample
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/index
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/info/
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/info/exclude
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/logs/
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/logs/HEAD
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/logs/refs/
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/logs/refs/heads/
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/logs/refs/heads/master
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/logs/refs/remotes/
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/logs/refs/remotes/origin/
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/logs/refs/remotes/origin/HEAD
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/objects/
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/objects/info/
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/objects/pack/
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/objects/pack/pack-fea84fa5dd78cef8224db7f5870c68c2d33b1087.idx
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/objects/pack/pack-fea84fa5dd78cef8224db7f5870c68c2d33b1087.pack
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/packed-refs
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/refs/
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/refs/heads/
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/refs/heads/master
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/refs/remotes/
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/refs/remotes/origin/
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/refs/remotes/origin/HEAD
creating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/.git/refs/tags/
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/app.py
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/docker-compose.yml
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/docker-compose.yml.old
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/Dockerfile
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/README.md
inflating: /tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/requirements.txt
INFO 2016-03-04 19:41:16,030 0 com.paypal.mesos.executor.monitoring.ComposeMonitor [Thread-1] start montioring is called:/tmp/mesos/slaves/43154cde-dcb8-4a6f-9c9e-7474e76c891c-S80/frameworks/40505a2b-a1ba-4091-ae70-7bb2ab589f47-0000/executors/marathon-docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8/runs/c4e39aff-b847-4d87-8a4a-0a238aae7c72/docker-compose-example/docker-compose-generated.yml
ERROR 2016-03-04 19:41:16,128 98 com.paypal.mesos.executor.utils.ProcessUtils [RxNewThreadScheduler-2] error executing command
java.io.IOException: Cannot run program "docker-compose" (in directory "."): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at org.apache.commons.exec.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:61)
at org.apache.commons.exec.DefaultExecutor.launch(DefaultExecutor.java:279)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:336)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:153)
at com.paypal.mesos.executor.utils.ProcessUtils.executeCommand(ProcessUtils.java:39)
at com.paypal.mesos.executor.utils.ProcessUtils.executeCommand(ProcessUtils.java:20)
at com.paypal.mesos.executor.DockerComposeExecutor$2.call(DockerComposeExecutor.java:83)
at com.paypal.mesos.executor.DockerComposeExecutor$2.call(DockerComposeExecutor.java:79)
at rx.Observable.unsafeSubscribe(Observable.java:7710)
at rx.internal.operators.OperatorSubscribeOn$1$1.call(OperatorSubscribeOn.java:62)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 20 more
ERROR 2016-03-04 19:41:16,130 100 com.paypal.mesos.executor.DockerComposeExecutor [RxNewThreadScheduler-2] unable to pull updated images trying to bring the pod up with existing images
ERROR 2016-03-04 19:41:16,131 101 com.paypal.mesos.executor.utils.ProcessUtils [RxNewThreadScheduler-2] error executing command
java.io.IOException: Cannot run program "docker-compose" (in directory "."): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at org.apache.commons.exec.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:61)
at org.apache.commons.exec.DefaultExecutor.launch(DefaultExecutor.java:279)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:336)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:153)
at com.paypal.mesos.executor.utils.ProcessUtils.executeCommand(ProcessUtils.java:39)
at com.paypal.mesos.executor.utils.ProcessUtils.executeCommand(ProcessUtils.java:20)
at com.paypal.mesos.executor.DockerComposeExecutor$2.call(DockerComposeExecutor.java:88)
at com.paypal.mesos.executor.DockerComposeExecutor$2.call(DockerComposeExecutor.java:79)
at rx.Observable.unsafeSubscribe(Observable.java:7710)
at rx.internal.operators.OperatorSubscribeOn$1$1.call(OperatorSubscribeOn.java:62)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 20 more
INFO 2016-03-04 19:41:16,133 103 com.paypal.mesos.executor.DockerComposeProcessObserver [RxNewThreadScheduler-1] executor for taskId:docker-compose-demo-mb.17aa385d-e284-11e5-aa9a-82f937a600d8 exited with exitCode:1
ERROR 2016-03-04 19:41:16,134 104 com.paypal.mesos.executor.utils.ProcessUtils [RxNewThreadScheduler-1] error executing command
java.io.IOException: Cannot run program "docker-compose" (in directory "."): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at org.apache.commons.exec.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:61)
at org.apache.commons.exec.DefaultExecutor.launch(DefaultExecutor.java:279)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:336)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:153)
at com.paypal.mesos.executor.utils.ProcessUtils.executeCommand(ProcessUtils.java:39)
at com.paypal.mesos.executor.utils.ProcessUtils.executeCommand(ProcessUtils.java:20)
at com.paypal.mesos.executor.DockerComposeExecutor.cleanUp(DockerComposeExecutor.java:114)
at com.paypal.mesos.executor.DockerComposeExecutor.suicide(DockerComposeExecutor.java:96)
at com.paypal.mesos.executor.DockerComposeProcessObserver.onNext(DockerComposeProcessObserver.java:38)
at com.paypal.mesos.executor.DockerComposeProcessObserver.onNext(DockerComposeProcessObserver.java:8)
at rx.Observable$30.onNext(Observable.java:7681)
at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:130)
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.pollQueue(OperatorObserveOn.java:208)
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber$2.call(OperatorObserveOn.java:170)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 24 more
ERROR 2016-03-04 19:41:16,135 105 com.paypal.mesos.executor.utils.ProcessUtils [RxNewThreadScheduler-1] error executing command
java.io.IOException: Cannot run program "docker-compose" (in directory "."): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at org.apache.commons.exec.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:61)
at org.apache.commons.exec.DefaultExecutor.launch(DefaultExecutor.java:279)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:336)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:153)
at com.paypal.mesos.executor.utils.ProcessUtils.executeCommand(ProcessUtils.java:39)
at com.paypal.mesos.executor.monitoring.ComposeMonitor.getContainerIds(ComposeMonitor.java:74)
at com.paypal.mesos.executor.DockerComposeExecutor.linuxKill(DockerComposeExecutor.java:122)
at com.paypal.mesos.executor.DockerComposeExecutor.cleanUp(DockerComposeExecutor.java:116)
at com.paypal.mesos.executor.DockerComposeExecutor.suicide(DockerComposeExecutor.java:96)
at com.paypal.mesos.executor.DockerComposeProcessObserver.onNext(DockerComposeProcessObserver.java:38)
at com.paypal.mesos.executor.DockerComposeProcessObserver.onNext(DockerComposeProcessObserver.java:8)
at rx.Observable$30.onNext(Observable.java:7681)
at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:130)
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.pollQueue(OperatorObserveOn.java:208)
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber$2.call(OperatorObserveOn.java:170)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 25 more

Jar version is hardcoded - should be parameterized

In the bootstrap scripts used to provision via vagrant up the version required of the target compiled jar artifact is hard-coded. This should be parameterized via mvn to get the current version of the pom at the time vagrant up is run.

Could not create or apply app

I exist marathon and mesos cluster.

marathon version 1.3.6
mesos version 1.1.0

this is my marathon json file format:

{
  "id": "docker-compose-demo",
  "cmd": null,
  "cpus": 1,
  "mem": 128,
  "disk": 0,
  "instances": 1,
  "constraints": [["hostname", "CLUSTER", "slave3"]],
  "executor": "/usr/local/src/compose_executor.sh",
  "labels": {
      "fileName": "/root/docker-compose.yml"
  },
  "container": {}
}
[root@slave3 src]# cat /usr/local/src/compose_executor.sh 
#!/bin/bash
COMPOSE_JAR_NAME=/usr/local/src/docker-compose-executor_0.1.1.jar
java -jar ${COMPOSE_JAR_NAME}
[root@slave3 src]# cd
[root@slave3 ~]# cat docker-compose.yml 
version: '2'
services:
  mysql:
    image: vmware/harbor-db:0.5.0
    container_name: harbor-db
    restart: always
    volumes:
      - /data/database:/var/lib/mysql
    logging:
      driver: "syslog"
      options:  
        syslog-address: "tcp://127.0.0.1:1514"
        tag: "mysql"
[root@slave3 ~]# 

When I click the Create Application button, the tips are as follows:

There was a problem with your configuration
general: Unknown server error. Could not create or apply app.

When I change my marathon json file format:

{
  "id": "docker-compose-demo",
  "cmd": null,
  "cpus": 1,
  "mem": 128,
  "disk": 0,
  "instances": 1,
  "constraints": [["hostname", "CLUSTER", "slave3"]],
  "executor": "/usr/local/src/compose_executor.sh",
  "labels": {
      "fileName": "/root/docker-compose.yml"
  }
}

When I click the Create Application button, the tips are as follows:

There was a problem with your configuration
general: AppDefinition must either contain one of 'cmd' or 'args', and/or a 'container'.

Please help!

Integration with Running Mesos/Marathon

Greetings,

Thanks for the project! Wondering, how one would go integrating docker-compose executor with already running Mesos/Marathon ecosystem ?

Thanks,

Alex

Integration with Running Mesos/Marathon

Environment

RHEL7.2
Marathon: 0.14.0
Mesos: 0.26.0
Docker-Engine: 1.10.3

Running a full-blown Mesos/Marathon ecosystem. Build docker-compose-executor without any problem. Copied the docker-compose-executor-0.0.1-SNAPSHOT-jar-with-dependencies.jar to Mesos-Slave, as well as docker-compose-executor.sh file.

Here are the docker-compose-executor.sh file:

File: docker-compose-executor.sh - on Mesos-Slave node

COMPOSE_JAR_NAME=/opt/docker-compose-executor/docker-compose-executor-0.0.1-SNAPSHOT-jar-with-dependencies.jar
COMPOSE_CLASS_NAME=com.paypal.mesos.executor.App
java -cp ${COMPOSE_JAR_NAME} ${COMPOSE_CLASS_NAME}

I am attempting to deploy Docker-Notary which comprises of three containers:

  • Notary MySQL
  • Notary Server
  • Notary Signer

Here is my docker-compose.yml file:

File: docker-compose.yml

server:
  build: .
  dockerfile: server.Dockerfile
  links:
    - mysql
    - signer
    - signer:notarysigner
  environment:
    - SERVICE_NAME=notary_server
  ports:
    - "8080:18080"
    - "4443:14443"
  entrypoint: /bin/bash
  command: -c "./migrations/migrate.sh && notary-server -config=fixtures/server-config.json"
signer:
  build: .
  dockerfile: signer.Dockerfile
  links:
    - mysql
  environment:
    - SERVICE_NAME=notary_signer
  ports:
    -"4444:14444"
  entrypoint: /bin/bash
  command: -c "./migrations/migrate.sh && notary-signer -config=fixtures/signer-config.json"
mysql:
  volumes:
    - ./notarymysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
    - notary_data:/var/lib/mysql
  image: mariadb:10.1.10
  ports:
    - "3306:13306"
  environment:
    - TERM=dumb
    - MYSQL_ALLOW_EMPTY_PASSWORD="true"
  command: mysqld --innodb_file_per_table

As shown above, this file will call on two additional files:

  • server.Dockerfile
  • signer.Dockerfile

File: server.Dockerfile

FROM golang:1.6.0
MAINTAINER David Lawrence "[email protected]"

RUN apt-get update && apt-get install -y \
    libltdl-dev \
    --no-install-recommends \
    && rm -rf /var/lib/apt/lists/*

EXPOSE 4443

# Install DB migration tool
RUN go get github.com/mattes/migrate

ENV NOTARYPKG github.com/docker/notary

# Copy the local repo to the expected go path
COPY . /go/src/github.com/docker/notary

WORKDIR /go/src/${NOTARYPKG}

# Install notary-server
RUN go install \
    -tags pkcs11 \
    -ldflags "-w -X ${NOTARYPKG}/version.GitCommit=`git rev-parse --short HEAD` -X ${NOTARYPKG}/version.NotaryVersion=`cat NOTARY_VERSION`" \
    ${NOTARYPKG}/cmd/notary-server

ENTRYPOINT [ "notary-server" ]
CMD [ "-config=fixtures/server-config-local.json" ]

File: signer.Dockerfile

FROM golang:1.6.0
MAINTAINER David Lawrence "[email protected]"

RUN apt-get update && apt-get install -y \
    libltdl-dev \
    --no-install-recommends \
    && rm -rf /var/lib/apt/lists/*

EXPOSE 4444

# Install DB migration tool
RUN go get github.com/mattes/migrate

ENV NOTARYPKG github.com/docker/notary
ENV NOTARY_SIGNER_DEFAULT_ALIAS="timestamp_1"
ENV NOTARY_SIGNER_TIMESTAMP_1="testpassword"

# Copy the local repo to the expected go path
COPY . /go/src/github.com/docker/notary

WORKDIR /go/src/${NOTARYPKG}

# Install notary-signer
RUN go install \
    -tags pkcs11 \
    -ldflags "-w -X ${NOTARYPKG}/version.GitCommit=`git rev-parse --short HEAD` -X ${NOTARYPKG}/version.NotaryVersion=`cat NOTARY_VERSION`" \
    ${NOTARYPKG}/cmd/notary-signer

ENTRYPOINT [ "notary-signer" ]
CMD [ "-config=fixtures/signer-config-local.json" ]

Now, I am trying to deploy these containers using the following JSON file:

File: notary-composer.json

{
    "id": "dockernotary",
    "cmd": " ",
    "instances": 1,
    "constraints": [["hostname", "CLUSTER", "node264.local.net"]],
    "executor":"/opt/docker-compose-executor/bin/docker-compose-executor.sh",
    "labels": {
        "fileName": "/opt/docker-compose-executor/etc/docker-compose.yml"
    }
}

I tried to submit it to /apps and /groups. Attempt to submit to /apps resulted in a deployment going into a Waiting state.

Any clues ?

Thanks!!

Alex

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.