Project

General

Profile

Actions

Feature #7868

closed

[Crunch] Allow site admin to add arbitrary arguments to all "docker run" commands

Added by Tom Clegg over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Start date:
12/02/2015
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
0.5

Description

Background

The motivating use case is adding a --volume argument to modify the list of trusted certificate authorities trusted by Crunch jobs running in containers. This makes it possible to use a self-signed certificate for the API server, without having to customize the docker images being used.

Proposed feature

If an environment variable CRUNCH_JOB_DOCKER_RUN_ARGS is added to the crunch-dispatch run script, this should be propagated to crunch-job much like CRUNCH_JOB_DOCKER_BIN is now. Crunch-job should include this every time it uses docker run.


Subtasks 2 (0 open2 closed)

Task #7920: Add bits to crunch-job and crunch_dispatch.rbResolvedTom Clegg12/02/2015

Actions
Task #7912: Review 7868-docker-run-argsResolvedPeter Amstutz12/02/2015

Actions
Actions #1

Updated by Tom Clegg over 6 years ago

  • Description updated (diff)
  • Category set to Crunch
Actions #2

Updated by Joshua Randall over 6 years ago

Another use case could be "-e http_proxy -e https_proxy" to pass host proxy configuration in to a container when it is required by local network configuration.

The advice to administrators should probably be to avoid using this unless it is required by some local requirements that prevent generic containers from running correctly without it.

Actions #3

Updated by Tom Clegg over 6 years ago

7868-docker-run-args @ 0102dbf

(Where should this be documented? In the example run script in the install guide?)

Actions #4

Updated by Tom Clegg over 6 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Brett Smith over 6 years ago

  • Target version set to 2015-12-16 sprint
Actions #6

Updated by Brett Smith over 6 years ago

  • Assigned To set to Tom Clegg
Actions #7

Updated by Peter Amstutz over 6 years ago

Successfully tested on local job. LGTM @ 0102dbf

Actions #8

Updated by Tom Clegg over 6 years ago

  • Status changed from In Progress to Resolved

Applied in changeset arvados|commit:00ef3e9dc7240a5ce5bd94d1a358120fa5a35835.

Actions

Also available in: Atom PDF