flannel-io / flannel

flannel is a network fabric for containers, designed for Kubernetes
Apache License 2.0
8.61k stars 2.87k forks source link

`podman pull docker.io/flannel/flannel:v0.24.0`: manifest unknown #1845

Closed hswong3i closed 6 months ago

hswong3i commented 6 months ago

With https://github.com/flannel-io/flannel/releases/tag/v0.24.0 released, we are expecting sudo -E podman pull docker.io/flannel/flannel:v0.24.0 should works, but corresponding docker image tag not yet created.

Expected Behavior

$ sudo -E podman pull docker.io/flannel/flannel:v0.23.0
Trying to pull docker.io/flannel/flannel:v0.23.0...
Getting image source signatures
Copying blob 5331412c81dd done   | 
Copying blob 96526aa774ef done   | 
Copying blob cad234d726d2 done   | 
Copying blob 92d1f3314e96 done   | 
Copying blob def1b14b4acf done   | 
Copying blob 284df646b20e done   | 
Copying blob 7b1b3e3f0796 done   | 
Copying blob a11d546260dd done   | 
Copying config 01cdfa8dd2 done   | 
Writing manifest to image destination
01cdfa8dd262f793cedbb1561d574a180c0fe09e795ca641445566ca32840830

Current Behavior

$ sudo -E podman pull docker.io/flannel/flannel:v0.24.0
Trying to pull docker.io/flannel/flannel:v0.24.0...
Error: initializing source docker://flannel/flannel:v0.24.0: (Mirrors also failed: [mirror.gcr.io/flannel/flannel:v0.24.0: reading manifest v0.24.0 in mirror.gcr.io/flannel/flannel: manifest unknown: Failed to fetch "v0.24.0"]): docker.io/flannel/flannel:v0.24.0: reading manifest v0.24.0 in docker.io/flannel/flannel: manifest unknown

Also not listed by skopeo:

$ skopeo list-tags docker://docker.io/flannel/flannel
{
    "Repository": "docker.io/flannel/flannel",
    "Tags": [
        "latest",
        "v0.20.2",
        "v0.20.2-amd64",
        "v0.20.2-arm",
        "v0.20.2-arm64",
        "v0.20.2-mips64le",
        "v0.20.2-ppc64le",
        "v0.20.2-s390x",
        "v0.21.0",
        "v0.21.0-amd64",
        "v0.21.0-arm",
        "v0.21.0-arm64",
        "v0.21.0-mips64le",
        "v0.21.0-ppc64le",
        "v0.21.0-s390x",
        "v0.21.1",
        "v0.21.1-amd64",
        "v0.21.1-arm",
        "v0.21.1-arm64",
        "v0.21.1-mips64le",
        "v0.21.1-ppc64le",
        "v0.21.1-s390x",
        "v0.21.2",
        "v0.21.2-amd64",
        "v0.21.2-arm",
        "v0.21.2-arm64",
        "v0.21.2-mips64le",
        "v0.21.2-ppc64le",
        "v0.21.2-s390x",
        "v0.21.3",
        "v0.21.3-amd64",
        "v0.21.3-arm",
        "v0.21.3-arm64",
        "v0.21.3-mips64le",
        "v0.21.3-ppc64le",
        "v0.21.3-s390x",
        "v0.21.4",
        "v0.21.4-amd64",
        "v0.21.4-arm",
        "v0.21.4-arm64",
        "v0.21.4-mips64le",
        "v0.21.4-ppc64le",
        "v0.21.4-s390x",
        "v0.21.5",
        "v0.21.5-amd64",
        "v0.21.5-arm",
        "v0.21.5-arm64",
        "v0.21.5-mips64le",
        "v0.21.5-ppc64le",
        "v0.21.5-s390x",
        "v0.22.0",
        "v0.22.0-amd64",
        "v0.22.0-arm",
        "v0.22.0-arm64",
        "v0.22.0-mips64le",
        "v0.22.0-ppc64le",
        "v0.22.0-s390x",
        "v0.22.1",
        "v0.22.1-amd64",
        "v0.22.1-arm",
        "v0.22.1-arm64",
        "v0.22.1-mips64le",
        "v0.22.1-ppc64le",
        "v0.22.1-s390x",
        "v0.22.2",
        "v0.22.2-amd64",
        "v0.22.2-arm",
        "v0.22.2-arm64",
        "v0.22.2-mips64le",
        "v0.22.2-ppc64le",
        "v0.22.2-s390x",
        "v0.22.3",
        "v0.22.3-amd64",
        "v0.22.3-arm",
        "v0.22.3-arm64",
        "v0.22.3-mips64le",
        "v0.22.3-ppc64le",
        "v0.22.3-s390x",
        "v0.23.0",
        "v0.23.0-amd64",
        "v0.23.0-arm",
        "v0.23.0-arm64",
        "v0.23.0-mips64le",
        "v0.23.0-ppc64le",
        "v0.23.0-s390x",
        "v0.24.0-amd64",
        "v0.24.0-arm",
        "v0.24.0-arm64",
        "v0.24.0-ppc64le",
        "v0.24.0-s390x"
    ]
}
rbrtbnfgl commented 6 months ago

Hi the release is still tagged as pre-release. We are still waiting the tests to finish. When the release is ready we will tag it as latest.

hswong3i commented 6 months ago

Hi the release is still tagged as pre-release. We are still waiting the tests to finish. When the release is ready we will tag it as latest.

But the released yaml already referencing it: https://github.com/flannel-io/flannel/compare/v0.23.0...v0.24.0#diff-9ef98a851566be25d8f74efb0f2a76b10a319a8ff60d0047e9c9171d3d561216R153

Will this affect the running test? Or shall we first get v0.24.0 tagged, wait for tests finish, then get latest tagged?

rbrtbnfgl commented 6 months ago

which yaml are you referring to? The one on the release or the one on the master branch? (We have to update the version on the master before making the release to have the same version)

hswong3i commented 6 months ago

which yaml are you referring to? The one on the release or the one on the master branch? (We have to update the version on the master before making the release to have the same version)

https://github.com/flannel-io/flannel/blob/v0.24.0/Documentation/kube-flannel.yml#L153-L167

rbrtbnfgl commented 6 months ago

ok that link is taken from the chart that is updated even if there are errors during the release. We had to fix that.

rbrtbnfgl commented 6 months ago

Right now the new release should work

hswong3i commented 6 months ago

I could fetch that tag now:

$ skopeo list-tags docker://docker.io/flannel/flannel
{
    "Repository": "docker.io/flannel/flannel",
    "Tags": [
        "latest",
        "v0.20.2",
        "v0.20.2-amd64",
        "v0.20.2-arm",
        "v0.20.2-arm64",
        "v0.20.2-mips64le",
        "v0.20.2-ppc64le",
        "v0.20.2-s390x",
        "v0.21.0",
        "v0.21.0-amd64",
        "v0.21.0-arm",
        "v0.21.0-arm64",
        "v0.21.0-mips64le",
        "v0.21.0-ppc64le",
        "v0.21.0-s390x",
        "v0.21.1",
        "v0.21.1-amd64",
        "v0.21.1-arm",
        "v0.21.1-arm64",
        "v0.21.1-mips64le",
        "v0.21.1-ppc64le",
        "v0.21.1-s390x",
        "v0.21.2",
        "v0.21.2-amd64",
        "v0.21.2-arm",
        "v0.21.2-arm64",
        "v0.21.2-mips64le",
        "v0.21.2-ppc64le",
        "v0.21.2-s390x",
        "v0.21.3",
        "v0.21.3-amd64",
        "v0.21.3-arm",
        "v0.21.3-arm64",
        "v0.21.3-mips64le",
        "v0.21.3-ppc64le",
        "v0.21.3-s390x",
        "v0.21.4",
        "v0.21.4-amd64",
        "v0.21.4-arm",
        "v0.21.4-arm64",
        "v0.21.4-mips64le",
        "v0.21.4-ppc64le",
        "v0.21.4-s390x",
        "v0.21.5",
        "v0.21.5-amd64",
        "v0.21.5-arm",
        "v0.21.5-arm64",
        "v0.21.5-mips64le",
        "v0.21.5-ppc64le",
        "v0.21.5-s390x",
        "v0.22.0",
        "v0.22.0-amd64",
        "v0.22.0-arm",
        "v0.22.0-arm64",
        "v0.22.0-mips64le",
        "v0.22.0-ppc64le",
        "v0.22.0-s390x",
        "v0.22.1",
        "v0.22.1-amd64",
        "v0.22.1-arm",
        "v0.22.1-arm64",
        "v0.22.1-mips64le",
        "v0.22.1-ppc64le",
        "v0.22.1-s390x",
        "v0.22.2",
        "v0.22.2-amd64",
        "v0.22.2-arm",
        "v0.22.2-arm64",
        "v0.22.2-mips64le",
        "v0.22.2-ppc64le",
        "v0.22.2-s390x",
        "v0.22.3",
        "v0.22.3-amd64",
        "v0.22.3-arm",
        "v0.22.3-arm64",
        "v0.22.3-mips64le",
        "v0.22.3-ppc64le",
        "v0.22.3-s390x",
        "v0.23.0",
        "v0.23.0-amd64",
        "v0.23.0-arm",
        "v0.23.0-arm64",
        "v0.23.0-mips64le",
        "v0.23.0-ppc64le",
        "v0.23.0-s390x",
        "v0.24.0",
        "v0.24.0-amd64",
        "v0.24.0-arm",
        "v0.24.0-arm64",
        "v0.24.0-mips64le",
        "v0.24.0-ppc64le",
        "v0.24.0-riscv64",
        "v0.24.0-s390x"
    ]
}