ancient-afternoon-36850
03/14/2025, 8:34 AMv1.30.3+rke2r1
and I want to upgrade it to the latest stable release (v1.31.6+rke2r1
) . So I'm running the install/upgrade script as explained in the official procedure. It goes through the process, but nothing gets upgraded:
node1:/ # curl -sfL <https://get.rke2.io> | sh -
[WARN] /usr/local is read-only or a mount point; installing to /opt/rke2
[INFO] staging local checksums from /root/rke2-artifacts/sha256sum-amd64.txt
[INFO] staging zst airgap image tarball from /root/rke2-artifacts/rke2-images.linux-amd64.tar.zst
[INFO] staging tarball from /root/rke2-artifacts/rke2.linux-amd64.tar.gz
[INFO] verifying airgap tarball
[INFO] installing airgap tarball to /var/lib/rancher/rke2/agent/images
[INFO] verifying tarball
[INFO] unpacking tarball file to /opt/rke2
[INFO] updating tarball contents to reflect install path
[INFO] moving systemd units to /etc/systemd/system
[INFO] install complete; you may want to run: export PATH=$PATH:/opt/rke2/bin
I have restarted the RKE2 server. Also none of the containers got redeployed, the whole procedure went very fast.
I have also tried to specify the upgrade version with curl -sfL <https://get.rke2.io> | INSTALL_RKE2_VERSION=vX.Y.Z+rke2rN sh -
The result is the same.
Any idea I can troubleshoot this ?
PS: The environment is behind a proxycreamy-pencil-82913
03/14/2025, 9:17 AMcreamy-pencil-82913
03/14/2025, 9:18 AMancient-afternoon-36850
03/14/2025, 9:19 AMnode01:~ # env | grep INSTALL
node01:~ #
creamy-pencil-82913
03/14/2025, 9:21 AMancient-afternoon-36850
03/14/2025, 9:22 AMcreamy-pencil-82913
03/14/2025, 9:25 AM$INSTALL_RKE2_ARTIFACT_PATH
set. I don't see any other possibility. https://github.com/rancher/rke2/blob/bf068e2ab2df279d690d636caf157f632cb8edb2/install.sh#L630ancient-afternoon-36850
03/14/2025, 9:32 AMancient-afternoon-36850
03/14/2025, 9:32 AMancient-afternoon-36850
03/14/2025, 9:32 AMancient-afternoon-36850
03/14/2025, 9:33 AMancient-afternoon-36850
03/14/2025, 9:33 AM