kubernetes-sigs / kubespray

Deploy a Production Ready Kubernetes Cluster
Apache License 2.0
16.06k stars 6.45k forks source link

Kubespray can not be used on Oracle Linux 8 #11302

Open thelaoshi opened 4 months ago

thelaoshi commented 4 months ago

What happened?

When executing kubespray to install a cluster on Oracle Linux 8 it adds a Centos Repo that does not exist anymore. -> http://mirror.centos.org/centos/8/extras/x86_64/os/

What did you expect to happen?

Not using that repo :-)

How can we reproduce it (as minimally and precisely as possible)?

use kubespray to bootstrap Kubernetes on any Oracle 8 Server

OS

Linux 4.18.0-553.el8_10.x86_64 x86_64 NAME="Oracle Linux Server" VERSION="8.10" ID="ol" ID_LIKE="fedora" VARIANT="Server" VARIANT_ID="server" VERSION_ID="8.10" PLATFORM_ID="platform:el8" PRETTY_NAME="Oracle Linux Server 8.10" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:oracle:linux:8:10:server" HOME_URL="https://linux.oracle.com/" BUG_REPORT_URL="https://github.com/oracle/oracle-linux"

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8" ORACLE_BUGZILLA_PRODUCT_VERSION=8.10 ORACLE_SUPPORT_PRODUCT="Oracle Linux" ORACLE_SUPPORT_PRODUCT_VERSION=8.10

Version of Ansible

ansible [core 2.14.11] config file = None configured module search path = ['/home/mijoost/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /home/mijoost/kon-cluster-venv/lib/python3.10/site-packages/ansible ansible collection location = /home/mijoost/.ansible/collections:/usr/share/ansible/collections executable location = /home/mijoost/kon-cluster-venv/bin/ansible python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (/home/mijoost/kon-cluster-venv/bin/python3) jinja version = 3.1.2 libyaml = True

but the version doesnt matter :-)

Version of Python

Python 3.10.12

Version of Kubespray (commit)

10679ebb5

Network plugin used

calico

Full inventory with variables

not allowed to post any host_vars or even host names :-) Doesnt matter anyways

Command used to invoke ansible

ansible-playbook cluster.yaml

Output of ansible run

ansible error, cause any yum command fails after adding a non existing extras repo

Anything else we need to know

No response

k8s-triage-robot commented 1 month ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

tico88612 commented 5 days ago

I've fixed a similar problem before, but I'm not sure if oracle linux will have the centos yum deprecated problem?

11360