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

Kubeadm v1.24 installation failed on Red Hat-based distributions (CentOS7) using the new package repositories hosted at pkgs.k8s.io #6061

Closed
nitinjagjivan opened this issue Nov 8, 2023 · 6 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@nitinjagjivan
Copy link

nitinjagjivan commented Nov 8, 2023

What keywords did you search in kubeadm issues before filing this one?

If you have found any duplicates, you should instead reply there and close this page.

If you have not found any duplicates, delete this section and continue on.

Is this a BUG REPORT or FEATURE REQUEST?

Choose one: BUG REPORT

Versions

kubeadm version (use kubeadm version): 1.24.0

Environment:

  • Kubernetes version (use kubectl version): 1.24.0
  • Cloud provider or hardware configuration: AWS
  • OS (e.g. from /etc/os-release): CentOS7
  • Kernel (e.g. uname -a): Linux xxx.xxxx.xxxxx. 3.10.0-1160.102.1.el7.x86_64 kubeadm join on slave node fails preflight checks kubeadm#1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  • Container runtime (CRI) (e.g. containerd, cri-o): Containerd v1.6.24
  • Container networking plugin (CNI) (e.g. Calico, Cilium): Calico
  • Others:

What happened?

I am following instructions mentioned at https://v1-24.docs.kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/. Kubeadm install fails with below error:

$ sudo yum install -y kubelet kubeadm kubectl --disableexcludes=kubernetes
Loaded plugins: fastestmirror
Repository 'docker-ce-edge' is missing name in configuration, using id
Loading mirror speeds from cached hostfile

  • base: mirror.centos.org
  • epel: d2lzkl7pfhq30w.cloudfront.net
  • extras: mirror.centos.org
  • updates: mirror.centos.org
    Resolving Dependencies
    --> Running transaction check
    ---> Package kubeadm.x86_64 0:1.28.3-150500.1.1 will be installed
    --> Processing Dependency: kubernetes-cni >= 1.2.0 for package: kubeadm-1.28.3-150500.1.1.x86_64
    ---> Package kubectl.x86_64 0:1.28.3-150500.1.1 will be installed
    ---> Package kubelet.x86_64 0:1.28.3-150500.1.1 will be installed
    --> Running transaction check
    ---> Package kubernetes-cni.x86_64 0:1.2.0-150500.2.1 will be installed
    --> Finished Dependency Resolution
    Dependencies Resolved
    ====================================================================================================================================================================
    Package Arch Version Repository Size
    ====================================================================================================================================================================
    Installing:
    kubeadm x86_64 1.28.3-150500.1.1 kubernetes 9.7 M
    kubectl x86_64 1.28.3-150500.1.1 kubernetes 10 M
    kubelet x86_64 1.28.3-150500.1.1 kubernetes 19 M
    Installing for dependencies:
    kubernetes-cni x86_64 1.2.0-150500.2.1 kubernetes 6.2 M
    Transaction Summary
    ====================================================================================================================================================================
    Install 3 Packages (+1 Dependent package)

Total size: 45 M
Total download size: 38 M
Installed size: 249 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
kubectl-1.28.3-150500.1.1.x86_ FAILED
https://pkgs.k8s.io/core%3A/stable%3A/v1.24/rpm/x86_64/kubectl-1.28.3-150500.1.1.x86_64.rpm: [Errno 14] HTTPS Error 403 - Forbidden 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

kubeadm-1.28.3-150500.1.1.x86_ FAILED
https://pkgs.k8s.io/core%3A/stable%3A/v1.24/rpm/x86_64/kubeadm-1.28.3-150500.1.1.x86_64.rpm: [Errno 14] HTTPS Error 403 - Forbidden 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
kubelet-1.28.3-150500.1.1.x86_ FAILED
https://pkgs.k8s.io/core%3A/stable%3A/v1.24/rpm/x86_64/kubelet-1.28.3-150500.1.1.x86_64.rpm: [Errno 14] HTTPS Error 403 - Forbidden 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.

Error downloading packages:
kubectl-1.28.3-150500.1.1.x86_64: [Errno 256] No more mirrors to try.
kubelet-1.28.3-150500.1.1.x86_64: [Errno 256] No more mirrors to try.
kubeadm-1.28.3-150500.1.1.x86_64: [Errno 256] No more mirrors to try.

What you expected to happen?

v1.24.0 is successfully installed

How to reproduce it (as minimally and precisely as possible)?

Just follow the instructions mentioned at https://v1-24.docs.kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/

Anything else we need to know?

It works well with v1.28.3

@nitinjagjivan nitinjagjivan changed the title Kubeadm v1.24 installation failed Kubeadm v1.24 installation failed using the new package repositories hosted at pkgs.k8s.io Nov 8, 2023
@nitinjagjivan nitinjagjivan changed the title Kubeadm v1.24 installation failed using the new package repositories hosted at pkgs.k8s.io Kubeadm v1.24 installation failed on Red Hat-based distributions (CentOS7) using the new package repositories hosted at pkgs.k8s.io Nov 8, 2023
@nitinjagjivan
Copy link
Author

$ cat /etc/yum.repos.d/kubernetes.repo

[kubernetes]
name=Kubernetes
baseurl=https://pkgs.k8s.io/core:/stable:/v1.24/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.24/rpm/repodata/repomd.xml.key
exclude=kubelet kubeadm kubectl cri-tools kubernetes-cni

@chendave
Copy link
Member

chendave commented Nov 8, 2023

This doesn't seems like a problem of kubeadm itself.

@neolit123
Copy link
Member

@nitinjagjivan you have some sort of connectivity issue.

the 1.24 install works fine for me. check these logs:

$ docker run -it fedora:40 bash
[root@04a525576548 /]# cat <<EOF | sudo tee /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://pkgs.k8s.io/core:/stable:/v1.24/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.24/rpm/repodata/repomd.xml.key
exclude=kubelet kubeadm kubectl cri-tools kubernetes-cni
EOF
[kubernetes]
name=Kubernetes
baseurl=https://pkgs.k8s.io/core:/stable:/v1.24/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.24/rpm/repodata/repomd.xml.key
exclude=kubelet kubeadm kubectl cri-tools kubernetes-cni
[root@04a525576548 /]# sudo yum install -y kubeadm --disableexcludes=kubernetes
Fedora rawhide openh264 (From Cisco) - x86_64                                                                                           218  B/s | 257  B     00:01    
Fedora - Rawhide - Developmental packages for the next Fedora release                                                                   4.5 MB/s |  73 MB     00:16    

Kubernetes                                                                                                                               30 kB/s |  46 kB     00:01    
Dependencies resolved.
========================================================================================================================================================================
 Package                                             Architecture                   Version                                    Repository                          Size
========================================================================================================================================================================
Installing:
 kubeadm                                             x86_64                         1.24.17-150500.1.1                         kubernetes                         8.9 M
Installing dependencies:
 conntrack-tools                                     x86_64                         1.4.7-3.fc39                               rawhide                            230 k
 containernetworking-plugins                         x86_64                         1.3.0-3.fc39                               rawhide                            8.9 M
 cri-tools                                           x86_64                         1.26.0-150500.1.1                          kubernetes                         7.8 M
 dbus                                                x86_64                         1:1.14.10-1.fc40                           rawhide                            8.1 k
 dbus-broker                                         x86_64                         33-2.fc39                                  rawhide                            173 k
 dbus-common                                         noarch                         1:1.14.10-1.fc40                           rawhide                             15 k
 device-mapper                                       x86_64                         1.02.196-1.fc39                            rawhide                            138 k
 device-mapper-libs                                  x86_64                         1.02.196-1.fc39                            rawhide                            175 k
 ebtables-legacy                                     x86_64                         2.0.11-14.fc39                             rawhide                             97 k
 ethtool                                             x86_64                         2:6.5-1.fc40                               rawhide                            244 k
 iproute                                             x86_64                         6.5.0-1.fc40                               rawhide                            823 k
 iptables-legacy                                     x86_64                         1.8.10-2.fc40                              rawhide                             52 k
 iptables-legacy-libs                                x86_64                         1.8.10-2.fc40                              rawhide                             38 k
 iptables-libs                                       x86_64                         1.8.10-2.fc40                              rawhide                            415 k
 kmod-libs                                           x86_64                         30-6.fc39                                  rawhide                             67 k
 kubectl                                             x86_64                         1.24.17-150500.1.1                         kubernetes                         9.2 M
 kubelet                                             x86_64                         1.24.17-150500.1.1                         kubernetes                          19 M
 libargon2                                           x86_64                         20190702-3.fc39                            rawhide                             28 k
 libbpf                                              x86_64                         2:1.2.0-1.fc40                             rawhide                            168 k
 libfdisk                                            x86_64                         2.39.2-1.fc40                              rawhide                            162 k
 libmnl                                              x86_64                         1.0.5-3.fc39                               rawhide                             28 k
 libnetfilter_conntrack                              x86_64                         1.0.9-2.fc39                               rawhide                             59 k
 libnetfilter_cthelper                               x86_64                         1.0.0-24.fc39                              rawhide                             22 k
 libnetfilter_cttimeout                              x86_64                         1.0.0-22.fc39                              rawhide                             23 k
 libnetfilter_queue                                  x86_64                         1.0.5-5.fc39                               rawhide                             28 k
 libnfnetlink                                        x86_64                         1.0.1-24.fc39                              rawhide                             29 k
 libseccomp                                          x86_64                         2.5.3-6.fc39                               rawhide                             71 k
 libutempter                                         x86_64                         1.2.1-10.fc39                              rawhide                             26 k
 psmisc                                              x86_64                         23.6-4.fc39                                rawhide                            313 k
 socat                                               x86_64                         1.7.4.4-3.fc39                             rawhide                            314 k
 systemd                                             x86_64                         254.5-2.fc40                               rawhide                            4.7 M
 systemd-pam                                         x86_64                         254.5-2.fc40                               rawhide                            363 k
 util-linux                                          x86_64                         2.39.2-1.fc40                              rawhide                            1.2 M
 xkeyboard-config                                    noarch                         2.40-1.fc40                                rawhide                            971 k
Installing weak dependencies:
 cryptsetup-libs                                     x86_64                         2.6.1-3.fc39                               rawhide                            491 k
 diffutils                                           x86_64                         3.10-3.fc39                                rawhide                            398 k
 libxkbcommon                                        x86_64                         1.6.0-1.fc40                               rawhide                            142 k
 qrencode-libs                                       x86_64                         4.1.1-5.fc39                               rawhide                             61 k
 systemd-networkd                                    x86_64                         254.5-2.fc40                               rawhide                            649 k
 systemd-resolved                                    x86_64                         254.5-2.fc40                               rawhide                            295 k

Transaction Summary
========================================================================================================================================================================
Install  41 Packages

Total download size: 66 M
Installed size: 343 M
Downloading Packages:
(1/41): conntrack-tools-1.4.7-3.fc39.x86_64.rpm                                                                                         971 kB/s | 230 kB     00:00    
(2/41): cryptsetup-libs-2.6.1-3.fc39.x86_64.rpm                                                                                         1.9 MB/s | 491 kB     00:00    
(3/41): dbus-1.14.10-1.fc40.x86_64.rpm                                                                                                  246 kB/s | 8.1 kB     00:00    
(4/41): dbus-broker-33-2.fc39.x86_64.rpm                                                                                                2.3 MB/s | 173 kB     00:00    
(5/41): device-mapper-1.02.196-1.fc39.x86_64.rpm                                                                                        1.3 MB/s | 138 kB     00:00    
(6/41): device-mapper-libs-1.02.196-1.fc39.x86_64.rpm                                                                                   1.7 MB/s | 175 kB     00:00    
(7/41): diffutils-3.10-3.fc39.x86_64.rpm                                                                                                730 kB/s | 398 kB     00:00    
(8/41): dbus-common-1.14.10-1.fc40.noarch.rpm                                                                                            17 kB/s |  15 kB     00:00    
(9/41): ebtables-legacy-2.0.11-14.fc39.x86_64.rpm                                                                                       450 kB/s |  97 kB     00:00    
(10/41): iproute-6.5.0-1.fc40.x86_64.rpm                                                                                                2.3 MB/s | 823 kB     00:00    
(11/41): iptables-legacy-1.8.10-2.fc40.x86_64.rpm                                                                                       751 kB/s |  52 kB     00:00    
(12/41): iptables-legacy-libs-1.8.10-2.fc40.x86_64.rpm                                                                                  1.1 MB/s |  38 kB     00:00    
(13/41): iptables-libs-1.8.10-2.fc40.x86_64.rpm                                                                                         2.3 MB/s | 415 kB     00:00    
(14/41): kmod-libs-30-6.fc39.x86_64.rpm                                                                                                 657 kB/s |  67 kB     00:00    
(15/41): libargon2-20190702-3.fc39.x86_64.rpm                                                                                           443 kB/s |  28 kB     00:00    
(16/41): containernetworking-plugins-1.3.0-3.fc39.x86_64.rpm                                                                            4.1 MB/s | 8.9 MB     00:02    
(17/41): ethtool-6.5-1.fc40.x86_64.rpm                                                                                                  243 kB/s | 244 kB     00:01    
(18/41): libbpf-1.2.0-1.fc40.x86_64.rpm                                                                                                 1.5 MB/s | 168 kB     00:00    
(19/41): libmnl-1.0.5-3.fc39.x86_64.rpm                                                                                                 243 kB/s |  28 kB     00:00    
(20/41): libnetfilter_conntrack-1.0.9-2.fc39.x86_64.rpm                                                                                 468 kB/s |  59 kB     00:00    
(21/41): libnetfilter_cthelper-1.0.0-24.fc39.x86_64.rpm                                                                                 448 kB/s |  22 kB     00:00    
(22/41): libfdisk-2.39.2-1.fc40.x86_64.rpm                                                                                              781 kB/s | 162 kB     00:00    
(23/41): libnfnetlink-1.0.1-24.fc39.x86_64.rpm                                                                                          513 kB/s |  29 kB     00:00    
(24/41): libnetfilter_cttimeout-1.0.0-22.fc39.x86_64.rpm                                                                                162 kB/s |  23 kB     00:00    
(25/41): libnetfilter_queue-1.0.5-5.fc39.x86_64.rpm                                                                                     225 kB/s |  28 kB     00:00    
(26/41): libutempter-1.2.1-10.fc39.x86_64.rpm                                                                                           716 kB/s |  26 kB     00:00    
(27/41): libxkbcommon-1.6.0-1.fc40.x86_64.rpm                                                                                           2.2 MB/s | 142 kB     00:00    
(28/41): libseccomp-2.5.3-6.fc39.x86_64.rpm                                                                                             681 kB/s |  71 kB     00:00    
(29/41): psmisc-23.6-4.fc39.x86_64.rpm                                                                                                  1.9 MB/s | 313 kB     00:00    
(30/41): qrencode-libs-4.1.1-5.fc39.x86_64.rpm                                                                                          448 kB/s |  61 kB     00:00    
(31/41): socat-1.7.4.4-3.fc39.x86_64.rpm                                                                                                881 kB/s | 314 kB     00:00    
(32/41): systemd-networkd-254.5-2.fc40.x86_64.rpm                                                                                       1.5 MB/s | 649 kB     00:00    
(33/41): systemd-resolved-254.5-2.fc40.x86_64.rpm                                                                                       1.4 MB/s | 295 kB     00:00    
(34/41): systemd-pam-254.5-2.fc40.x86_64.rpm                                                                                            867 kB/s | 363 kB     00:00    
(35/41): util-linux-2.39.2-1.fc40.x86_64.rpm                                                                                            3.9 MB/s | 1.2 MB     00:00    
(36/41): xkeyboard-config-2.40-1.fc40.noarch.rpm                                                                                        1.6 MB/s | 971 kB     00:00    
(37/41): systemd-254.5-2.fc40.x86_64.rpm                                                                                                3.2 MB/s | 4.7 MB     00:01    
(38/41): kubeadm-1.24.17-150500.1.1.x86_64.rpm                                                                                          3.0 MB/s | 8.9 MB     00:02    
(39/41): cri-tools-1.26.0-150500.1.1.x86_64.rpm                                                                                         1.4 MB/s | 7.8 MB     00:05    
(40/41): kubectl-1.24.17-150500.1.1.x86_64.rpm                                                                                          1.4 MB/s | 9.2 MB     00:06    
(41/41): kubelet-1.24.17-150500.1.1.x86_64.rpm                                                                                          2.9 MB/s |  19 MB     00:06    
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                   4.8 MB/s |  66 MB     00:13     
Kubernetes                                                                                                                              2.9 kB/s | 1.7 kB     00:00    
Importing GPG key 0x9A296436:
 Userid     : "isv:kubernetes OBS Project <isv:kubernetes@build.opensuse.org>"
 Fingerprint: DE15 B144 86CD 377B 9E87 6E1A 2346 54DA 9A29 6436
 From       : https://pkgs.k8s.io/core:/stable:/v1.24/rpm/repodata/repomd.xml.key
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                1/1 
  Installing       : libmnl-1.0.5-3.fc39.x86_64                                                                                                                    1/41 
  Installing       : libnfnetlink-1.0.1-24.fc39.x86_64                                                                                                             2/41 
  Installing       : libnetfilter_conntrack-1.0.9-2.fc39.x86_64                                                                                                    3/41 
  Installing       : libfdisk-2.39.2-1.fc40.x86_64                                                                                                                 4/41 
  Installing       : libbpf-2:1.2.0-1.fc40.x86_64                                                                                                                  5/41 
  Installing       : iptables-libs-1.8.10-2.fc40.x86_64                                                                                                            6/41 
  Installing       : libnetfilter_queue-1.0.5-5.fc39.x86_64                                                                                                        7/41 
  Installing       : ethtool-2:6.5-1.fc40.x86_64                                                                                                                   8/41 
  Installing       : libnetfilter_cthelper-1.0.0-24.fc39.x86_64                                                                                                    9/41 
  Installing       : libnetfilter_cttimeout-1.0.0-22.fc39.x86_64                                                                                                  10/41 
  Installing       : kubectl-1.24.17-150500.1.1.x86_64                                                                                                            11/41 
  Installing       : cri-tools-1.26.0-150500.1.1.x86_64                                                                                                           12/41 
  Installing       : xkeyboard-config-2.40-1.fc40.noarch                                                                                                          13/41 
  Installing       : libxkbcommon-1.6.0-1.fc40.x86_64                                                                                                             14/41 
  Installing       : socat-1.7.4.4-3.fc39.x86_64                                                                                                                  15/41 
  Installing       : qrencode-libs-4.1.1-5.fc39.x86_64                                                                                                            16/41 
  Installing       : psmisc-23.6-4.fc39.x86_64                                                                                                                    17/41 
  Installing       : iproute-6.5.0-1.fc40.x86_64                                                                                                                  18/41 
  Installing       : libseccomp-2.5.3-6.fc39.x86_64                                                                                                               19/41 
  Installing       : libargon2-20190702-3.fc39.x86_64                                                                                                             20/41 
  Installing       : kmod-libs-30-6.fc39.x86_64                                                                                                                   21/41 
  Installing       : iptables-legacy-libs-1.8.10-2.fc40.x86_64                                                                                                    22/41 
  Installing       : iptables-legacy-1.8.10-2.fc40.x86_64                                                                                                         23/41 
  Running scriptlet: iptables-legacy-1.8.10-2.fc40.x86_64                                                                                                         23/41 
  Installing       : ebtables-legacy-2.0.11-14.fc39.x86_64                                                                                                        24/41 
  Running scriptlet: ebtables-legacy-2.0.11-14.fc39.x86_64                                                                                                        24/41 
  Installing       : diffutils-3.10-3.fc39.x86_64                                                                                                                 25/41 
  Installing       : dbus-common-1:1.14.10-1.fc40.noarch                                                                                                          26/41 
  Running scriptlet: dbus-common-1:1.14.10-1.fc40.noarch                                                                                                          26/41 
  Running scriptlet: dbus-broker-33-2.fc39.x86_64                                                                                                                 27/41 
  Installing       : dbus-broker-33-2.fc39.x86_64                                                                                                                 27/41 
  Running scriptlet: dbus-broker-33-2.fc39.x86_64                                                                                                                 27/41 
  Installing       : dbus-1:1.14.10-1.fc40.x86_64                                                                                                                 28/41 
  Installing       : device-mapper-libs-1.02.196-1.fc39.x86_64                                                                                                    29/41 
  Installing       : cryptsetup-libs-2.6.1-3.fc39.x86_64                                                                                                          30/41 
  Installing       : device-mapper-1.02.196-1.fc39.x86_64                                                                                                         31/41 
  Running scriptlet: libutempter-1.2.1-10.fc39.x86_64                                                                                                             32/41 
  Installing       : libutempter-1.2.1-10.fc39.x86_64                                                                                                             32/41 
  Installing       : systemd-networkd-254.5-2.fc40.x86_64                                                                                                         33/41 
  Running scriptlet: systemd-networkd-254.5-2.fc40.x86_64                                                                                                         33/41 
  Installing       : systemd-pam-254.5-2.fc40.x86_64                                                                                                              34/41 
  Installing       : systemd-resolved-254.5-2.fc40.x86_64                                                                                                         35/41 
  Running scriptlet: systemd-resolved-254.5-2.fc40.x86_64                                                                                                         35/41 
  Installing       : util-linux-2.39.2-1.fc40.x86_64                                                                                                              36/41 
warning: /etc/adjtime created as /etc/adjtime.rpmnew

  Installing       : systemd-254.5-2.fc40.x86_64                                                                                                                  37/41 
  Running scriptlet: systemd-254.5-2.fc40.x86_64                                                                                                                  37/41 
Creating group 'input' with GID 104.
Creating group 'kvm' with GID 36.
Creating group 'render' with GID 105.
Creating group 'sgx' with GID 106.
Creating group 'systemd-journal' with GID 190.
Creating group 'systemd-network' with GID 192.
Creating user 'systemd-network' (systemd Network Management) with UID 192 and GID 192.
Creating group 'systemd-oom' with GID 999.
Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 999 and GID 999.
Creating group 'systemd-resolve' with GID 193.
Creating user 'systemd-resolve' (systemd Resolver) with UID 193 and GID 193.

  Installing       : containernetworking-plugins-1.3.0-3.fc39.x86_64                                                                                              38/41 
  Installing       : conntrack-tools-1.4.7-3.fc39.x86_64                                                                                                          39/41 
  Running scriptlet: conntrack-tools-1.4.7-3.fc39.x86_64                                                                                                          39/41 
  Installing       : kubelet-1.24.17-150500.1.1.x86_64                                                                                                            40/41 
  Running scriptlet: kubelet-1.24.17-150500.1.1.x86_64                                                                                                            40/41 
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

  Installing       : kubeadm-1.24.17-150500.1.1.x86_64                                                                                                            41/41 
  Running scriptlet: systemd-resolved-254.5-2.fc40.x86_64                                                                                                         41/41 
  Running scriptlet: kubeadm-1.24.17-150500.1.1.x86_64                                                                                                            41/41 
  Verifying        : conntrack-tools-1.4.7-3.fc39.x86_64                                                                                                           1/41 
  Verifying        : containernetworking-plugins-1.3.0-3.fc39.x86_64                                                                                               2/41 
  Verifying        : cryptsetup-libs-2.6.1-3.fc39.x86_64                                                                                                           3/41 
  Verifying        : dbus-1:1.14.10-1.fc40.x86_64                                                                                                                  4/41 
  Verifying        : dbus-broker-33-2.fc39.x86_64                                                                                                                  5/41 
  Verifying        : dbus-common-1:1.14.10-1.fc40.noarch                                                                                                           6/41 
  Verifying        : device-mapper-1.02.196-1.fc39.x86_64                                                                                                          7/41 
  Verifying        : device-mapper-libs-1.02.196-1.fc39.x86_64                                                                                                     8/41 
  Verifying        : diffutils-3.10-3.fc39.x86_64                                                                                                                  9/41 
  Verifying        : ebtables-legacy-2.0.11-14.fc39.x86_64                                                                                                        10/41 
  Verifying        : ethtool-2:6.5-1.fc40.x86_64                                                                                                                  11/41 
  Verifying        : iproute-6.5.0-1.fc40.x86_64                                                                                                                  12/41 
  Verifying        : iptables-legacy-1.8.10-2.fc40.x86_64                                                                                                         13/41 
  Verifying        : iptables-legacy-libs-1.8.10-2.fc40.x86_64                                                                                                    14/41 
  Verifying        : iptables-libs-1.8.10-2.fc40.x86_64                                                                                                           15/41 
  Verifying        : kmod-libs-30-6.fc39.x86_64                                                                                                                   16/41 
  Verifying        : libargon2-20190702-3.fc39.x86_64                                                                                                             17/41 
  Verifying        : libbpf-2:1.2.0-1.fc40.x86_64                                                                                                                 18/41 
  Verifying        : libfdisk-2.39.2-1.fc40.x86_64                                                                                                                19/41 
  Verifying        : libmnl-1.0.5-3.fc39.x86_64                                                                                                                   20/41 
  Verifying        : libnetfilter_conntrack-1.0.9-2.fc39.x86_64                                                                                                   21/41 
  Verifying        : libnetfilter_cthelper-1.0.0-24.fc39.x86_64                                                                                                   22/41 
  Verifying        : libnetfilter_cttimeout-1.0.0-22.fc39.x86_64                                                                                                  23/41 
  Verifying        : libnetfilter_queue-1.0.5-5.fc39.x86_64                                                                                                       24/41 
  Verifying        : libnfnetlink-1.0.1-24.fc39.x86_64                                                                                                            25/41 
  Verifying        : libseccomp-2.5.3-6.fc39.x86_64                                                                                                               26/41 
  Verifying        : libutempter-1.2.1-10.fc39.x86_64                                                                                                             27/41 
  Verifying        : libxkbcommon-1.6.0-1.fc40.x86_64                                                                                                             28/41 
  Verifying        : psmisc-23.6-4.fc39.x86_64                                                                                                                    29/41 
  Verifying        : qrencode-libs-4.1.1-5.fc39.x86_64                                                                                                            30/41 
  Verifying        : socat-1.7.4.4-3.fc39.x86_64                                                                                                                  31/41 
  Verifying        : systemd-254.5-2.fc40.x86_64                                                                                                                  32/41 
  Verifying        : systemd-networkd-254.5-2.fc40.x86_64                                                                                                         33/41 
  Verifying        : systemd-pam-254.5-2.fc40.x86_64                                                                                                              34/41 
  Verifying        : systemd-resolved-254.5-2.fc40.x86_64                                                                                                         35/41 
  Verifying        : util-linux-2.39.2-1.fc40.x86_64                                                                                                              36/41 
  Verifying        : xkeyboard-config-2.40-1.fc40.noarch                                                                                                          37/41 
  Verifying        : cri-tools-1.26.0-150500.1.1.x86_64                                                                                                           38/41 
  Verifying        : kubeadm-1.24.17-150500.1.1.x86_64                                                                                                            39/41 
  Verifying        : kubectl-1.24.17-150500.1.1.x86_64                                                                                                            40/41 
  Verifying        : kubelet-1.24.17-150500.1.1.x86_64                                                                                                            41/41 

Installed:
  conntrack-tools-1.4.7-3.fc39.x86_64                  containernetworking-plugins-1.3.0-3.fc39.x86_64           cri-tools-1.26.0-150500.1.1.x86_64                   
  cryptsetup-libs-2.6.1-3.fc39.x86_64                  dbus-1:1.14.10-1.fc40.x86_64                              dbus-broker-33-2.fc39.x86_64                         
  dbus-common-1:1.14.10-1.fc40.noarch                  device-mapper-1.02.196-1.fc39.x86_64                      device-mapper-libs-1.02.196-1.fc39.x86_64            
  diffutils-3.10-3.fc39.x86_64                         ebtables-legacy-2.0.11-14.fc39.x86_64                     ethtool-2:6.5-1.fc40.x86_64                          
  iproute-6.5.0-1.fc40.x86_64                          iptables-legacy-1.8.10-2.fc40.x86_64                      iptables-legacy-libs-1.8.10-2.fc40.x86_64            
  iptables-libs-1.8.10-2.fc40.x86_64                   kmod-libs-30-6.fc39.x86_64                                kubeadm-1.24.17-150500.1.1.x86_64                    
  kubectl-1.24.17-150500.1.1.x86_64                    kubelet-1.24.17-150500.1.1.x86_64                         libargon2-20190702-3.fc39.x86_64                     
  libbpf-2:1.2.0-1.fc40.x86_64                         libfdisk-2.39.2-1.fc40.x86_64                             libmnl-1.0.5-3.fc39.x86_64                           
  libnetfilter_conntrack-1.0.9-2.fc39.x86_64           libnetfilter_cthelper-1.0.0-24.fc39.x86_64                libnetfilter_cttimeout-1.0.0-22.fc39.x86_64          
  libnetfilter_queue-1.0.5-5.fc39.x86_64               libnfnetlink-1.0.1-24.fc39.x86_64                         libseccomp-2.5.3-6.fc39.x86_64                       
  libutempter-1.2.1-10.fc39.x86_64                     libxkbcommon-1.6.0-1.fc40.x86_64                          psmisc-23.6-4.fc39.x86_64                            
  qrencode-libs-4.1.1-5.fc39.x86_64                    socat-1.7.4.4-3.fc39.x86_64                               systemd-254.5-2.fc40.x86_64                          
  systemd-networkd-254.5-2.fc40.x86_64                 systemd-pam-254.5-2.fc40.x86_64                           systemd-resolved-254.5-2.fc40.x86_64                 
  util-linux-2.39.2-1.fc40.x86_64                      xkeyboard-config-2.40-1.fc40.noarch                      

Complete!

@neolit123
Copy link
Member

this is not a kubeadm bug.
the k8s.io maintainers might be able to help you.

/kind support
/transfer k8s.io

@k8s-ci-robot k8s-ci-robot added the kind/support Categorizes issue or PR as a support question. label Nov 8, 2023
@k8s-ci-robot k8s-ci-robot transferred this issue from kubernetes/kubeadm Nov 8, 2023
@nitinjagjivan
Copy link
Author

nitinjagjivan commented Nov 8, 2023

Thanks @neolit123 An interesting discovery is that it works well when I install Kubernetes version 1.24.0 on a fresh AWS instance. In a previous instance, I successfully installed version 1.28.3, uninstalled it, and then attempted to install version 1.24.0 and got this error.

@nitinjagjivan
Copy link
Author

I think the issue is yum cache. I need to refresh the package cache in YUM before installing kubeadm.

sudo yum clean all
sudo yum makecache
sudo yum update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

4 participants