Bug #8315
open
[SDKs] arv-copy fails to copy a Docker image specified with repo:tag syntax
Added by Sarah Guthrie almost 9 years ago.
Updated 10 months ago.
Release relationship:
Auto
Description
Since docker uses colons to specify tags, when writing pipeline templates, a developer will use "docker_image":"repo/image:tag" in runtime_constraints. This format breaks when using arv copy, since docker images and tags are space separated in arvados, causing the relevant docker images to not be copied.
- Subject changed from Support docker versioning using colons to [SDKs] arv-copy fails to copy a Docker image specified with repo:tag syntax
- Description updated (diff)
- Category set to SDKs
- Story points set to 0.5
I'll make a separate issue for the arv keep docker
request.
I'm going out on a limb and saying this is probably .5 points because it should just be a parsing error.
- Target version set to Arvados Future Sprints
Sally,
It would be helpful to have the UUID of the pipeline template you tried to copy. That would help to see whether the problem was caused by an earlier bug; e.g., from #7154.
Nevermind, confirmed the bug is in fact in arv-copy. Probably because this syntax wasn't expected to work: we have a separate docker_image_tag constraint to specify the tag. But we should probably move to more the way you're doing it.
(Developers: See copy_docker_images in arv_copy.py. We can extend this backward-compatibly by trying to parse the tag out from docker_image when docker_image_tag isn't set. latest
should remain the ultimate default.)
- Target version deleted (
Arvados Future Sprints)
- Target version set to Future
Also available in: Atom
PDF