Skip to content

OS Matrix says that RHEL/Rocky/Oracle v10 is supported but repository install method is not working #9410

@linecolumn

Description

@linecolumn

Hello team,

As per RKE v1.34 OS Matrix page, https://www.suse.com/suse-rke2/support-matrix/all-supported-versions/rke2-v1-34/, RHEL/Rocky/Oracle v10 are supported, but when using RPM repository based install method from https://docs.rke2.io/install/methods I have that URLs are not existing:

# export RKE2_MINOR=34
# export LINUX_MAJOR=10
# cat << EOF > /etc/yum.repos.d/rancher-rke2-1-${RKE2_MINOR}-latest.repo
[rancher-rke2-common-latest]
name=Rancher RKE2 Common Latest
baseurl=https://rpm.rancher.io/rke2/latest/common/centos/${LINUX_MAJOR}/noarch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://rpm.rancher.io/public.key

[rancher-rke2-1-${RKE2_MINOR}-latest]
name=Rancher RKE2 1.${RKE2_MINOR} Latest
baseurl=https://rpm.rancher.io/rke2/latest/1.${RKE2_MINOR}/centos/${LINUX_MAJOR}/x86_64
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://rpm.rancher.io/public.key
EOF

Checking that everything is properly written to the repo file:

# cat /etc/yum.repos.d/rancher-rke2-1-34-latest.repo
[rancher-rke2-common-latest]
name=Rancher RKE2 Common Latest
baseurl=https://rpm.rancher.io/rke2/latest/common/centos/10/noarch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://rpm.rancher.io/public.key

[rancher-rke2-1-34-latest]
name=Rancher RKE2 1.34 Latest
baseurl=https://rpm.rancher.io/rke2/latest/1.34/centos/10/x86_64
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://rpm.rancher.io/public.key

Trying to install rke2-server, rke2-agent or rke2-common will fail with no repomd.xml

# yum install rke2-server
Rancher RKE2 Common Latest                                                                                            1.9 kB/s | 390  B     00:00    
Errors during downloading metadata for repository 'rancher-rke2-common-latest':
  - Status code: 404 for https://rpm.rancher.io/rke2/latest/common/centos/10/noarch/repodata/repomd.xml (IP: 104.26.1.8)
Error: Failed to download metadata for repo 'rancher-rke2-common-latest': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

#  yum install rke2-agent
Rancher RKE2 Common Latest                                                                                            7.2 kB/s | 390  B     00:00    
Errors during downloading metadata for repository 'rancher-rke2-common-latest':
  - Status code: 404 for https://rpm.rancher.io/rke2/latest/common/centos/10/noarch/repodata/repomd.xml (IP: 104.26.0.8)
Error: Failed to download metadata for repo 'rancher-rke2-common-latest': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

# yum install rke2-common
Rancher RKE2 Common Latest                                                                                            1.9 kB/s | 390  B     00:00    
Errors during downloading metadata for repository 'rancher-rke2-common-latest':
  - Status code: 404 for https://rpm.rancher.io/rke2/latest/common/centos/10/noarch/repodata/repomd.xml (IP: 172.67.74.104)
Error: Failed to download metadata for repo 'rancher-rke2-common-latest': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Is repo method of installing RKE v2 is still viable/supported on RHEL/Rocky/Oracle v10?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions