Project

General

Profile

Actions

Feature #8128

closed

[Crunch2] API support for crunch-dispatch

Added by Tom Clegg about 8 years ago. Updated almost 8 years ago.

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

Description

See Container dispatch ("Arvados API support")

Some of the required APIs don't exist yet:
  • "Locked" state
  • auth_uuid field: created automatically when container changes to state="Running"
  • arvados.v1.containers.auth(uuid=container.uuid): retrieve the api_client_authentication record corresponding to auth_uuid
  • api_client_authorizations.current: retrieve UUID of current token (similar to users.current). This avoids having to put the secret token anywhere other than the Authorization header.
We do have:
  • Filter containers list by API token: containers.list?filters=[[locked_by_uuid,=,my_token_uuid],[state,in,[Running,Locked]]]
  • Get list of queued containers: containers.list?filters=[[state,=,Queued]]
  • Get UUID of current token: api_client_authorizations.list?filters=[[api_token,=,my_token]]

Subtasks 5 (0 open5 closed)

Task #9106: Add "Locked" stateResolvedTom Clegg04/28/2016Actions
Task #9109: Add containers.container_auth APIResolvedTom Clegg05/05/2016Actions
Task #9098: Review 8128-crunch2-auth-apiResolvedPeter Amstutz05/11/2016Actions
Task #9107: Update container_auth_uuid as needed when state changesResolvedTom Clegg05/10/2016Actions
Task #9108: Add api_client_authorizations.current APIResolvedTom Clegg05/10/2016Actions

Related issues

Related to Arvados - Feature #6518: [Crunch] [Crunch2] Dispatch containers via slurmResolvedRadhika Chippada07/08/2015Actions
Related to Arvados - Feature #8028: [Crunch2] Dispatch containers locallyResolvedRadhika Chippada01/19/2016Actions
Related to Arvados - Bug #9900: [Crunch2] [API] Add ephemeral "run token" for running containersResolved08/31/2016Actions
Blocked by Arvados - Bug #8079: [API] Add uuid property to ApiClientAuthorizationResolvedTom Clegg02/12/2016Actions
Precedes (1 day) Arvados - Idea #9187: [Crunch2] Update dispatcher to use new API supportResolvedPeter Amstutz05/02/2016Actions
Actions

Also available in: Atom PDF