Project

General

Profile

Actions

Bug #4438

closed

[DRAFT] [SDKs] arv-keepdocker should be smarter about caching the image to upload

Added by Brett Smith over 9 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
-
Story points:
-

Description

As of this writing, when arv-keepdocker uploads an image to Keep, it saves the image to disk first, under ~/.cache/arvados/docker. It will use this cache to resume an interrupted download.

On shell nodes, this has been known to fill the home directory partition. When this happens, you get the lovely error message "write /dev/stdout: no space left on device"

arv-keepdocker should be smarter about this cache. Possibilities:

  • Check space available on the home directory partition. If there's not enough space to save the Docker image, don't try; just pipe docker save directly into arv-put.
  • Support caching the image somewhere else of the user's choosing.
  • Others? We should spec out a preferred approach before implementation begins.

Related issues

Has duplicate Arvados - Bug #7203: arv keep docker fails to save image when home directory is fullDuplicate09/03/2015Actions
Actions

Also available in: Atom PDF