Project

General

Profile

Actions

Bug #10216

closed

[Crunch2] [API] Allow container request to bypass reuse (ensure a new container is created)

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

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
0.5
Release:
Release relationship:
Auto

Description

Example use cases:
  • Container is expected/intended to be impure (results differ from one run to the next)
  • Test/diagnostics container

The Containers API specifies a "filters" parameter which (when implemented) could be used to achieve this with something like filters=[[created_at,=,now]].

Implementation:

As for the future "filters" parameter, if/when that gets implemented, the 'use_existing' flag should take precedence if set to false.


Subtasks 1 (0 open1 closed)

Task #10250: Review 10216-allow-cr-bypass-reuseResolvedRadhika Chippada10/10/2016Actions

Related issues

Related to Arvados - Bug #3555: [API] Rename nondeterministic to impureClosedActions
Related to Arvados - Feature #8569: [Crunch2] Impure mount from host fsNewActions
Related to Arvados - Feature #8570: [Crunch2] Impure access to object storeNewActions
Actions #1

Updated by Ward Vandewege over 7 years ago

  • Description updated (diff)
Actions #2

Updated by Ward Vandewege over 7 years ago

  • Description updated (diff)
Actions #3

Updated by Tom Morris over 7 years ago

  • Description updated (diff)
  • Target version set to 2016-10-26 sprint
  • Story points set to 0.5
Actions #4

Updated by Lucas Di Pentima over 7 years ago

  • Assigned To set to Lucas Di Pentima
Actions #5

Updated by Lucas Di Pentima over 7 years ago

  • Status changed from New to In Progress
Actions #6

Updated by Lucas Di Pentima over 7 years ago

Branch 10216-allow-cr-bypass-reuse at: b1578a5

Added use_existing field to CRs, with default value being "true". When false, the reuse_container mechanism is bypassed.

Tests run at: https://ci.curoverse.com/job/developer-run-tests/39/

Actions #7

Updated by Radhika Chippada over 7 years ago

Just one minor comment

  • Name of the test “Container request doesn't reuse container when explicitly asked” is a bit confusing. Can we say “when asked not to” or something?

LGTM.

Actions #8

Updated by Lucas Di Pentima over 7 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:e9b2c5fc743957598d839e072c49e027752b3287.

Actions

Also available in: Atom PDF