Skip to content

CKS setup-v1.34.7-calico-x86_64.iso contains invalid pause:3.10.1.tar image archive #13157

@tazouxme

Description

@tazouxme

problem

CloudStack CKS upgrade from Kubernetes 1.33.1 to 1.34.7 fails during image import.

The upgrade script runs:
ctr -n k8s.io image import /mnt/k8sdisk/docker/pause:3.10.1.tar

It fails with:
ctr: unrecognized image format

All other image archives in /mnt/k8sdisk/docker import successfully.

The pause archive appears malformed:
tar -tf pause:3.10.1.tar | head
blobs/
blobs/sha256/
blobs/sha256/19e4906e80f6945d2222896120e909003ebf8028c30ebc8c99c3c42a35fb6b7f
blobs/sha256/278fb9dbcca9518083ad1e11276933a2e96f23de604a3a08cc3c80002767d24c

It lacks OCI metadata such as:
index.json
oci-layout

or Docker archive metadata such as:
manifest.json
repositories

versions

4.22.0

The steps to reproduce the bug

I tried the following script to check which tar file (in the docker folder of the ISO) is wrong

for f in /mnt/k8s-1.34.7/docker/*; do
echo
echo "=== testing $f ==="
file "$f"
ctr -n k8s.io image import "$f"
rc=$?
echo "exit=$rc"
if [ "$rc" -ne 0 ]; then
echo "FAILED_FILE=$f"
break
fi
done

What to do about it?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions