Closed ifeulner closed 1 year ago
Looks like the install of transactional-update shell <<< "zypper --no-gpg-checks --non-interactive install https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/raw/master/.extra/k3s-selinux-next.rpm"
didn't work.. or the reboot...
It seems to worked for the control plane.
@ifeulner Weird. It definitely failed when you tried. Please terraform init -upgrade
and try again. Also, if it happens again, try to see in the logs if there is an error in the HTTP request to the RPM.
Just FYI, the fix is coming to the main rancher repo, so that's just a quick patch. Please retry again!
More info on this here https://github.com/k3s-io/k3s-selinux/issues/36
@ifeulner I'm considering this issue fixed, as just tried again and no one else complained. Also, the k3s folks just deployed the new testing rpm, so soon it's coming to stable, as soon as we have that, I will revert to using the rancher repo to fetch it.
I'm currently hitting this issue. The agent nodes (all three of them) have this error. Using stable
as release channel. The control planes worked though.
@gerwim Please update your cluster to the latest and greatest version of the module, see pinned discussions.
@mysticaltech Ah, I updated my previous message (but did not save it 🤡):
The issue is caused because of signature validation issue. The arm version worked fine, the x86 is returning an error. Removing the snapshots and rebuilding them (packer build hcloud-microos-snapshots.pkr.hcl
) fixed it! 👍
hcloud.microos-x86-snapshot: Retrieving: k3s-selinux-1.4-1.sle.noarch (Plain RPM files cache) (1/1), 20.5 KiB
hcloud.microos-x86-snapshot: k3s-selinux-1.4-1.sle.noarch.rpm:
hcloud.microos-x86-snapshot: Header V3 RSA/SHA256 Signature, key ID 925ea29ae257814a: NOKEY
hcloud.microos-x86-snapshot: V3 RSA/SHA256 Signature, key ID 925ea29ae257814a: NOKEY
==> hcloud.microos-x86-snapshot: warning: /var/tmp/zypp.qZPNOY/zypper/_tmpRPMcache_/%CLI%/k3s-selinux-1.4-1.sle.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID e257814a: NOKEY
hcloud.microos-x86-snapshot:
==> hcloud.microos-x86-snapshot: k3s-selinux-1.4-1.sle.noarch (Plain RPM files cache): Signature verification failed [4-Signatures public key is not available]
Just trying to build a small cluster with 1.9.0, node installation throws following error:
Anyone experienced this already?