rancher / rke2

https://docs.rke2.io/
Apache License 2.0
1.53k stars 266 forks source link

Validate SUSE Liberty Linux 8.9 #6215

Closed rancher-max closed 2 months ago

rancher-max commented 3 months ago

RKE2 Versions to be Validated

Testing Considerations

  1. Install and run sonobuoy conformance tests on a hardened cluster
  2. Validate SUC upgrade
  3. Install Rancher Manager
  4. Validate snapshot restore via cluster-reset-restore-path

Additional Information

Please validate with Selinux enabled in the operating system and the config:

# /etc/rancher/rke2/config.yaml
selinux: true

SURE-8122

aganesh-suse commented 3 months ago

Please refer for setup instructions: https://github.com/k3s-io/k3s/issues/10367#issuecomment-2181517372 In addition, need to add the rocky-devel-8.9 repo as well to be able to install iptables.

$ sudo cat /etc/yum.repos.d/Devel.repo
[develrepo]
name=Rocky Linux 8.9 - Devel
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=rocky-devel-8.9
#baseurl=https://dl.rockylinux.org/pub/rocky/8.9/devel/x86_64/os/
gpgcheck=0
enabled=1
aganesh-suse commented 2 months ago

Verified that rke2 works on this platform for the tests and versions provided in the description of issue and the workaround steps to add the repo.

Sample results:

$ cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.9 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.9"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.9 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.9:GA"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.9
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.9"
# This is a "SLES Expanded Support platform 8.9"
# The above "Red Hat Enterprise Linux Server" string is only used to
# keep software compatibility.
$ rke2 -v
rke2 version v1.30.2+rke2r1 (f01072ab2b9cf1a529ce188e4a8d8645813d4620)
go version go1.22.4 X:boringcrypto
$ kubectl get nodes
NAME                                          STATUS   ROLES                       AGE   VERSION
ip-172-31-16-241.us-east-2.compute.internal   Ready    control-plane,etcd,master   19m   v1.30.2+rke2r1
ip-172-31-21-250.us-east-2.compute.internal   Ready    <none>                      13m   v1.30.2+rke2r1
ip-172-31-25-87.us-east-2.compute.internal    Ready    control-plane,etcd,master   36m   v1.30.2+rke2r1
ip-172-31-30-16.us-east-2.compute.internal    Ready    control-plane,etcd,master   20m   v1.30.2+rke2r1
$ kubectl get pods -A
NAMESPACE        NAME                                                                   READY   STATUS      RESTARTS        AGE
auto-clusterip   test-clusterip-59fc84d479-5tt5p                                        1/1     Running     0               21m
auto-clusterip   test-clusterip-59fc84d479-kf97v                                        1/1     Running     0               21m
auto-daemonset   test-daemonset-lbnb6                                                   1/1     Running     1 (6m14s ago)   19m
auto-daemonset   test-daemonset-pd52s                                                   1/1     Running     0               13m
auto-daemonset   test-daemonset-tz67z                                                   1/1     Running     0               20m
auto-daemonset   test-daemonset-xpp52                                                   1/1     Running     1 (4m44s ago)   19m
auto-dns         dnsutils                                                               1/1     Running     0               21m
auto-ingress     test-ingress-lfsbv                                                     1/1     Running     0               21m
auto-ingress     test-ingress-q5mrf                                                     1/1     Running     0               21m
auto-nodeport    test-nodeport-69d6dc7f5f-69xr9                                         1/1     Running     0               21m
auto-nodeport    test-nodeport-69d6dc7f5f-6h9q6                                         1/1     Running     0               21m
clusterip        clusterip-pod-demo                                                     1/1     Running     0               21m
clusterip        clusterip-pod-demo-2                                                   1/1     Running     0               21m
clusterip        clusterip-pod-demo-3                                                   1/1     Running     0               21m
kube-system      cloud-controller-manager-ip-172-31-16-241.us-east-2.compute.internal   1/1     Running     1 (6m14s ago)   5m23s
kube-system      cloud-controller-manager-ip-172-31-25-87.us-east-2.compute.internal    1/1     Running     0               8m5s
kube-system      cloud-controller-manager-ip-172-31-30-16.us-east-2.compute.internal    1/1     Running     1 (4m44s ago)   20m
kube-system      etcd-ip-172-31-16-241.us-east-2.compute.internal                       1/1     Running     0               5m29s
kube-system      etcd-ip-172-31-25-87.us-east-2.compute.internal                        1/1     Running     0               8m7s
kube-system      etcd-ip-172-31-30-16.us-east-2.compute.internal                        1/1     Running     0               3m44s
kube-system      helm-install-rke2-canal-982wb                                          0/1     Completed   0               35m
kube-system      helm-install-rke2-coredns-5wrjb                                        0/1     Completed   0               35m
kube-system      helm-install-rke2-ingress-nginx-csdm8                                  0/1     Completed   0               35m
kube-system      helm-install-rke2-metrics-server-4hm6d                                 0/1     Completed   0               35m
kube-system      helm-install-rke2-snapshot-controller-crd-kphjd                        0/1     Completed   0               35m
kube-system      helm-install-rke2-snapshot-controller-pjfmp                            0/1     Completed   0               35m
kube-system      helm-install-rke2-snapshot-validation-webhook-wgmd6                    0/1     Completed   0               35m
kube-system      kube-apiserver-ip-172-31-16-241.us-east-2.compute.internal             1/1     Running     0               5m29s
kube-system      kube-apiserver-ip-172-31-25-87.us-east-2.compute.internal              1/1     Running     0               8m7s
kube-system      kube-apiserver-ip-172-31-30-16.us-east-2.compute.internal              1/1     Running     0               3m44s
kube-system      kube-controller-manager-ip-172-31-16-241.us-east-2.compute.internal    1/1     Running     0               5m23s
kube-system      kube-controller-manager-ip-172-31-25-87.us-east-2.compute.internal     1/1     Running     0               8m4s
kube-system      kube-controller-manager-ip-172-31-30-16.us-east-2.compute.internal     1/1     Running     0               3m44s
kube-system      kube-proxy-ip-172-31-16-241.us-east-2.compute.internal                 1/1     Running     1 (6m14s ago)   19m
kube-system      kube-proxy-ip-172-31-21-250.us-east-2.compute.internal                 1/1     Running     0               3m7s
kube-system      kube-proxy-ip-172-31-25-87.us-east-2.compute.internal                  1/1     Running     1 (9m38s ago)   35m
kube-system      kube-proxy-ip-172-31-30-16.us-east-2.compute.internal                  1/1     Running     1 (4m44s ago)   19m
kube-system      kube-scheduler-ip-172-31-16-241.us-east-2.compute.internal             1/1     Running     0               5m24s
kube-system      kube-scheduler-ip-172-31-25-87.us-east-2.compute.internal              1/1     Running     0               8m5s
kube-system      kube-scheduler-ip-172-31-30-16.us-east-2.compute.internal              1/1     Running     0               3m44s
kube-system      rke2-canal-7t5rc                                                       2/2     Running     0               13m
kube-system      rke2-canal-ggrbh                                                       2/2     Running     2 (6m14s ago)   19m
kube-system      rke2-canal-qg6ts                                                       2/2     Running     2 (4m44s ago)   20m
kube-system      rke2-canal-zzr94                                                       2/2     Running     0               35m
kube-system      rke2-coredns-rke2-coredns-64dcf4f58b-6kh84                             1/1     Running     1 (4m44s ago)   19m
kube-system      rke2-coredns-rke2-coredns-64dcf4f58b-rw2mt                             1/1     Running     0               35m
kube-system      rke2-coredns-rke2-coredns-autoscaler-5749cd7b8b-fbxmj                  1/1     Running     0               35m
kube-system      rke2-ingress-nginx-controller-jbgzj                                    1/1     Running     1 (6m14s ago)   19m
kube-system      rke2-ingress-nginx-controller-nzqqw                                    1/1     Running     0               13m
kube-system      rke2-ingress-nginx-controller-tjdzv                                    1/1     Running     0               19m
kube-system      rke2-ingress-nginx-controller-zsqft                                    1/1     Running     1 (4m44s ago)   19m
kube-system      rke2-metrics-server-868fc8795f-2qgzt                                   1/1     Running     0               20m
kube-system      rke2-snapshot-controller-7dcf5d5b46-5x5gb                              1/1     Running     2 (9m49s ago)   20m
kube-system      rke2-snapshot-validation-webhook-bf7bbd6fc-4tcxc                       1/1     Running     0               19m
more-clusterip   test-clusterip-59fc84d479-8j7fr                                        1/1     Running     0               34s
more-clusterip   test-clusterip-59fc84d479-tgv5g                                        1/1     Running     0               34s
more-daemonset   test-daemonset-7qxfq                                                   1/1     Running     0               34s
more-daemonset   test-daemonset-czr9n                                                   1/1     Running     0               34s
more-daemonset   test-daemonset-fql5h                                                   1/1     Running     0               34s
more-daemonset   test-daemonset-s57qs                                                   1/1     Running     0               34s
more-dns         dnsutils                                                               1/1     Running     0               33s
more-ingress     test-ingress-2d7hh                                                     1/1     Running     0               33s
more-ingress     test-ingress-zck7w                                                     1/1     Running     0               33s
more-nodeport    test-nodeport-69d6dc7f5f-5zsg9                                         1/1     Running     0               33s
more-nodeport    test-nodeport-69d6dc7f5f-8jrtc                                         1/1     Running     0               33s
system-upgrade   system-upgrade-controller-7894d5bb99-rf68l                             1/1     Running     1 (19m ago)     21m