Project

General

Profile

Actions

Idea #11017

closed

[API Server] Implement Docker version compatibility fallback support

Added by Tom Morris about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
01/31/2017
Due date:
Story points:
1.0

Description

1. provide a python program that runs arv-keepdocker, looks for pairs like the ones below, and creates a tag link for each pair

wardv@shell.4xphq:~$ arv-keepdocker 
REPOSITORY                      TAG         IMAGE ID      COLLECTION                     CREATED             
arvados/jobs                    c1a8e01539932e2f0153cfb2ffc4eaa2c3dc00f1  sha256:eda7c  4xphq-4zz18-5cn1x9u4ki574i7    Mon Dec 19 16:25:22 2016
arvados/jobs                    c1a8e01539932e2f0153cfb2ffc4eaa2c3dc00f1  decde0035258  4xphq-4zz18-sr3yairajekj11z    Mon Dec 19 16:25:22 2016

2. update API server to check for those tag links when creating a new job or container request, so when someone asks for "decde0035258" or "4xphq-4zz18-sr3yairajekj11z" or {whatever 4xphq-4zz18-sr3yairajekj11z's PDH is}, it gets transparently rewritten to sha256:eda7c or {whatever 4xphq-4zz18-5cn1x9u4ki574i7's PDH is}.

Tag would look something like:

owner_uuid: zzzzz-tpzed-000000000000000
link_class: docker_image_migration
name: {whatever 4xphq-4zz18-sr3yairajekj11z's PDH is}
head_uuid: {whatever 4xphq-4zz18-5cn1x9u4ki574i7's PDH is}

Subtasks 2 (0 open2 closed)

Task #11035: Review 11017-docker-migrationResolvedRadhika Chippada01/31/2017Actions
Task #11090: Add arv-migrate-docker19 programResolvedTom Clegg01/31/2017Actions
Actions #1

Updated by Tom Morris about 7 years ago

  • Project changed from 40 to Arvados
Actions #2

Updated by Tom Morris about 7 years ago

  • Subject changed from [API Servier] Implement Docker version compatibility fallback support to [API Server] Implement Docker version compatibility fallback support
  • Description updated (diff)
  • Target version changed from Arvados Future Sprints to 2017-02-15 sprint
Actions #3

Updated by Tom Clegg about 7 years ago

  • Assigned To set to Tom Clegg
  • Story points set to 1.0
Actions #4

Updated by Tom Clegg about 7 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Tom Clegg about 7 years ago

Actions #6

Updated by Radhika Chippada about 7 years ago

LGTM

Actions #7

Updated by Tom Clegg about 7 years ago

  • Target version changed from 2017-02-15 sprint to 2017-03-01 sprint
Actions #8

Updated by Tom Clegg about 7 years ago

  • Status changed from In Progress to Resolved

Applied in changeset arvados|commit:5624fec61db977d386ce03ca333241c74ca251b5.

Actions

Also available in: Atom PDF