Project

General

Profile

Actions

Bug #21417

closed

Stop trying to read image timestamp from docker metadata in arv-keepdocker

Added by Tom Clegg 10 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Story points:
0.5
Release relationship:
Auto

Description

This part of source:sdk/python/arvados/commands/keepdocker.py should go away so it doesn't crash on new image tarball formats:

        json_file = image_tar.extractfile(image_tar.getmember(json_filename))
        image_metadata = json.loads(json_file.read().decode('utf-8'))
        json_file.close()
        image_tar.close()
        link_base = {'head_uuid': coll_uuid, 'properties': {}}
        if 'created' in image_metadata:
            link_base['properties']['image_timestamp'] = image_metadata['created']

See #21408 for example.

(Tom & Peter discussed offline, came to the conclusion that saving the image timestamp is not important enough to justify maintaining the code.)


Subtasks 1 (0 open1 closed)

Task #21439: Review 21417-keepdocker-oci-layoutResolvedPeter Amstutz02/02/2024Actions

Related issues

Related to Arvados - Idea #21408: test-provision-debian11 fails loading workflow Docker imageResolvedActions
Related to Arvados - Bug #21431: Figure out compatibility issues with recently released Docker 25ResolvedBrett SmithActions
Related to Arvados - Bug #21657: `arvados-client diagnostics` fails trying to introspect OCIv2 Docker imageResolvedTom CleggActions
Blocks Arvados - Support #21394: update CWL conformance tests for 1.2.1ResolvedPeter AmstutzActions
Actions

Also available in: Atom PDF