Story #11017

[API Server] Implement Docker version compatibility fallback support

Added by Tom Morris over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
01/31/2017
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
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

Task #11035: Review 11017-docker-migrationResolvedRadhika Chippada

Task #11090: Add arv-migrate-docker19 programResolvedTom Clegg

Associated revisions

Revision 5624fec6
Added by Tom Clegg about 4 years ago

Merge branch '11017-docker-migration'

closes #11017

History

#1 Updated by Tom Morris over 4 years ago

  • Project changed from OPS to Arvados

#2 Updated by Tom Morris over 4 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

#3 Updated by Tom Clegg over 4 years ago

  • Assigned To set to Tom Clegg
  • Story points set to 1.0

#4 Updated by Tom Clegg over 4 years ago

  • Status changed from New to In Progress

#5 Updated by Tom Clegg about 4 years ago

#6 Updated by Radhika Chippada about 4 years ago

LGTM

#7 Updated by Tom Clegg about 4 years ago

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

#8 Updated by Tom Clegg about 4 years ago

  • Status changed from In Progress to Resolved

Applied in changeset arvados|commit:5624fec61db977d386ce03ca333241c74ca251b5.

Also available in: Atom PDF