You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node(s) CPU architecture, OS, and Version: Linux control0.kube.nadybot.org 6.5.11-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 8 22:37:57 UTC 2023 x86_64 GNU/Linux
Cluster Configuration: 3 servers, 3 agents
Describe the bug:
I'm trying to install k3s on my CoreOS machine like this:
curl -sfL https://get.k3s.io | INSTALL_K3S_SKIP_START=true K3S_DATASTORE_ENDPOINT=etcd K3S_CLUSTER_DOMAIN=kube.nadybot.org K3S_TOKEN=XXX K3S_FLANNEL_IFACE=netmaker K3S_NODE_IP=10.23.0.1 K3S_TLS_SAN=lb.kube.nadybot.org K3S_SELINUX=true sh -s - server --cluster-init
The installer adds the correct repository:
[rancher-k3s-common-stable]name=Rancher K3s Common (stable)
baseurl=https://rpm.rancher.io/k3s/stable/common/coreos/noarch
enabled=1
gpgcheck=1
repo_gpgcheck=0
gpgkey=https://rpm.rancher.io/public.key
but something goes wrong and rpm-ostree tries to install the wrong rpm:
[INFO] Finding release for channel stable
[INFO] Using v1.28.4+k3s2 as release
[INFO] Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.28.4+k3s2/sha256sum-amd64.txt
[INFO] Skipping binary downloaded, installed k3s matches hash
[INFO] Finding available k3s-selinux versions
Checking out tree cd3ab59... done
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora rancher-k3s-common-stable rancher-k3s-common-stable updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2023-03-14T10:57:01Z solvables: 4
rpm-md repo 'updates' (cached); generated: 2024-01-01T01:34:11Z solvables: 17336
rpm-md repo 'fedora' (cached); generated: 2023-11-01T00:12:39Z solvables: 70825
rpm-md repo 'rancher-k3s-common-stable' (cached); generated: 2023-06-02T16:54:05Z solvables: 9
rpm-md repo 'rancher-k3s-common-stable' (cached); generated: 2023-06-02T16:54:05Z solvables: 9
rpm-md repo 'updates-archive' (cached); generated: 2024-01-01T01:50:43Z solvables: 20099
Resolving dependencies... done
Will download: 1 package (20.7 kB)
Downloading from 'rancher-k3s-common-stable'... done
error: Downloading from 'rancher-k3s-common-stable': Cannot download k3s-selinux-1.4-1.el8.noarch.rpm: All mirrors were tried; Last error: Status code: 404 for https://rpm.rancher.io/k3s/stable/common/coreos/noarch/k3s-selinux-1.4-1.el8.noarch.rpm (IP: 104.21.2.160)
and the correct rpm would be k3s-selinux-1.4-1.coreos.noarch.rpm of course.
Steps To Reproduce:
Try to install k3s with the same flags as given above on latest CoreOS
Expected behavior: rpm-ostree would try to install the correct coreos-rpm
Actual behavior: rpm-ostree tried to install the el8-rpm fromthe coreos-repository
Additional context / logs:
nothing
The text was updated successfully, but these errors were encountered:
Environmental Info:
K3s Version: v1.28.4+k3s2
Node(s) CPU architecture, OS, and Version: Linux control0.kube.nadybot.org 6.5.11-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 8 22:37:57 UTC 2023 x86_64 GNU/Linux
Cluster Configuration: 3 servers, 3 agents
Describe the bug:
I'm trying to install k3s on my CoreOS machine like this:
curl -sfL https://get.k3s.io | INSTALL_K3S_SKIP_START=true K3S_DATASTORE_ENDPOINT=etcd K3S_CLUSTER_DOMAIN=kube.nadybot.org K3S_TOKEN=XXX K3S_FLANNEL_IFACE=netmaker K3S_NODE_IP=10.23.0.1 K3S_TLS_SAN=lb.kube.nadybot.org K3S_SELINUX=true sh -s - server --cluster-init
The installer adds the correct repository:
but something goes wrong and
rpm-ostree
tries to install the wrong rpm:and the correct rpm would be
k3s-selinux-1.4-1.coreos.noarch.rpm
of course.Steps To Reproduce:
Expected behavior:
rpm-ostree
would try to install the correct coreos-rpmActual behavior:
rpm-ostree
tried to install the el8-rpm fromthe coreos-repositoryAdditional context / logs:
nothing
The text was updated successfully, but these errors were encountered: