kubespray
kubespray copied to clipboard
Kubespray can not be used on Oracle Linux 8
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