Project

General

Profile

Actions

Idea #10290

closed

[Crunch2] Move "partitions" out of runtime_constraints

Added by Peter Amstutz about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
-
Target version:
Start date:
11/11/2016
Due date:
Story points:
1.0

Description

runtime_constraints has the following semantics:

Restrict the container's access to compute resources and the outside world (in addition to its explicitly stated inputs and output). -- Each key is the name of a capability, like "internet" or "API" or "clock". The corresponding value is true (the capability must be available in the container's runtime environment) or false (must not) or a value or an array of two numbers indicating an inclusive range. Numeric values are given in basic units (e.g., RAM is given in bytes, not KB or MB or MiB). If a key is omitted, availability of the corresponding capability is acceptable but not necessary.

The "partitions" field of Container/ContainerRequest does not fit these semantics. It should move to the new scheduling_parameters hash.

See Containers API

API server, arvados-cwl-runner and crunch-dispatch-slurm need to be updated accordingly.


Subtasks 2 (0 open2 closed)

Task #10523: Update documentationResolvedRadhika Chippada11/11/2016Actions
Task #10500: Review branch 10290-container-partitionsResolvedRadhika Chippada11/15/2016Actions
Actions

Also available in: Atom PDF