Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rke2-images-cilium.linux-amd64.* missing and Airgap Tarball is failing #5136

Closed
eifelmicha opened this issue Dec 14, 2023 · 5 comments
Closed
Assignees

Comments

@eifelmicha
Copy link

Environmental Info:
RKE2 Version: v1.28.4+rke2r1

Node(s) CPU architecture, OS, and Version: Linux k8s-master-1 6.1.0-15-arm64 #1 SMP Debian 6.1.66-1 (2023-12-09) aarch64 GNU/Linux

Cluster Configuration: 3 Server with Cilium CNI

Describe the bug:
I would like to prefetch files in Packer to do an Tarball Installation of RKE2 and reduce startup times. According to: https://docs.rke2.io/install/airgap#tarball-method i have to download rke2-images-core and rke2-images-cilium , because of --cni=cilium
However rke2-images-cilium.linux-amd64.tar.zst does exist, while rke2-images-cilium.linux-arm64.tar.zst does not.

Steps To Reproduce:

  • Scripted Curl to download files, the + is escaped before:
ARCH=amd64
if [ "$(uname -m)" = "aarch64" ]; then ARCH=arm64; fi
curl -OLs https://github.com/rancher/rke2/releases/download/$RKE2_VERSION/rke2-images-core.linux-$ARCH.tar.zst
curl -OLs https://github.com/rancher/rke2/releases/download/$RKE2_VERSION/rke2-images-cilium.linux-$ARCH.tar.zst
curl -OLs https://github.com/rancher/rke2/releases/download/$RKE2_VERSION/sha256sum-$ARCH.txt

Expected behavior:
Successful download

Actual behavior:
CHECKSUM_CILIUM_EXPECTED=$(grep "rke2-images-cilium.linux-$ARCH.tar.zst" "sha256sum-$ARCH.txt" | awk '{print $1}'); failed, because no file and checksum is present.

Additional context / logs:

@brandond
Copy link
Member

I believe that up until recently, some or all of the cilium images did not support arm64, so we disabled packaging it for that architecture.

if [ "${GOARCH}" != "s390x" ] && [ "${GOARCH}" != "arm64" ]; then
xargs -n1 -t docker image pull --quiet << EOF > build/images-cilium.txt

@manuelbuil @thomasferrandiz can we revisit this, and see if we can package cilium airgap images for arm64?

@brandond
Copy link
Member

Also related: #5135 (comment)

@mgfritch
Copy link
Contributor

mgfritch commented Dec 21, 2023

I believe that up until recently, some or all of the cilium images did not support arm64, so we disabled packaging it for that architecture.

I removed the cilium-etcd-operator since it still has no arm64 builds, but that makes sense since it was marked as deprecated in 2020 and the github repo was finally archived last year...

@manuelbuil
Copy link
Contributor

I believe that up until recently, some or all of the cilium images did not support arm64, so we disabled packaging it for that architecture.

I removed the cilium-etcd-operator since it still has no arm64 builds, but that makes sense since it was marked as deprecated in 2020 and the github repo was finally archived last year...

Thanks Mike! You should change the status of the issue to working and set the milestone to the next release :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants