[ARVADOS] updated: 50dba76531ad4fdd5ab79598aa192dd3bb1be314

Git user git at public.curoverse.com
Fri Jun 23 16:31:10 EDT 2017


Summary of changes:
 .../lib/arvbox/docker/service/crunch-dispatch-local/run-service   | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

       via  50dba76531ad4fdd5ab79598aa192dd3bb1be314 (commit)
      from  d51c47d291aec2609bff80c7ef8bd6417b651e7a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 50dba76531ad4fdd5ab79598aa192dd3bb1be314
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Fri Jun 23 16:31:08 2017 -0400

    arvbox docker-in-docker crunch-run uses "host" networking mode to reduce
    flakiness on linux 3.16.  no issue #
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curoverse.com>

diff --git a/tools/arvbox/lib/arvbox/docker/service/crunch-dispatch-local/run-service b/tools/arvbox/lib/arvbox/docker/service/crunch-dispatch-local/run-service
index c36f0ef..408b99e 100755
--- a/tools/arvbox/lib/arvbox/docker/service/crunch-dispatch-local/run-service
+++ b/tools/arvbox/lib/arvbox/docker/service/crunch-dispatch-local/run-service
@@ -15,8 +15,14 @@ flock /var/lib/gopath/gopath.lock go get -t "git.curoverse.com/arvados.git/servi
 flock /var/lib/gopath/gopath.lock go get -t "git.curoverse.com/arvados.git/services/crunch-dispatch-local"
 install bin/crunch-run bin/crunch-dispatch-local /usr/local/bin
 
+cat > /usr/local/bin/crunch-run.sh <<EOF
+#!/bin/sh
+exec /usr/local/bin/crunch-run -container-enable-networking=always -container-network-mode=host \$@
+EOF
+chmod +x /usr/local/bin/crunch-run.sh
+
 export ARVADOS_API_HOST=$localip:${services[api]}
 export ARVADOS_API_HOST_INSECURE=1
 export ARVADOS_API_TOKEN=$(cat /var/lib/arvados/superuser_token)
 
-exec /usr/local/bin/crunch-dispatch-local -crunch-run-command=/usr/local/bin/crunch-run -poll-interval=3
+exec /usr/local/bin/crunch-dispatch-local -crunch-run-command=/usr/local/bin/crunch-run.sh -poll-interval=3

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list