-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
openEuler-22.03 LTS PKG list incorrect #11660
Comments
Hi @yankay |
Maybe the kubespray needs to change some code to support the openEuler. |
Hi, |
The main changes are in the conntrack and devide-mapper packages, I completed the verification. |
@leeonfu Is ansible_os_family == RedHat (set by Ansible upstream) for openEuler accurate ? |
What happened?
openEuler's conntrack package matches incorrectly
What did you expect to happen?
Match the correct package for conntrack, openEuler actually is conntrack-tools.
But ansible get OS families is RedHat
How can we reproduce it (as minimally and precisely as possible)?
Please see below informations
OS
Linux 5.10.0-60.18.0.50.oe2203.aarch64 aarch64
NAME="openEuler"
VERSION="22.03 LTS"
ID="openEuler"
VERSION_ID="22.03"
PRETTY_NAME="openEuler 22.03 LTS"
ANSI_COLOR="0;31"
Version of Ansible
ansible [core 2.16.10]
config file = /home/leeon/kubespray/ansible.cfg
configured module search path = ['/home/leeon/kubespray/library']
ansible python module location = /home/leeon/kubespray/venv/lib/python3.10/site-packages/ansible
ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
executable location = /home/leeon/kubespray/venv/bin/ansible
python version = 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] (/home/leeon/kubespray/venv/bin/python)
jinja version = 3.1.4
libyaml = True
Version of Python
Python 3.10.12
Version of Kubespray (commit)
3874de0
Network plugin used
calico
Full inventory with variables
https://gist.github.com/leeonfu/43b68b2183af41d457f1f4f56f643183
Command used to invoke ansible
ansible-playbook -i inventory/mycluster/inventory.ini cluster.yml -e "{ 'download_localhost': true, 'download_run_once': true }" -vvvv
Output of ansible run
FAILED - RETRYING: [node1]: Install packages requirements (2 retries left).Result was: {
"attempts": 3,
"changed": false,
"failures": [
"No package conntrack available.",
"No package socat available."
],
"invocation": {
"module_args": {
"allow_downgrade": false,
"allowerasing": false,
"autoremove": false,
"bugfix": false,
"cacheonly": false,
"conf_file": null,
"disable_excludes": null,
"disable_gpg_check": false,
"disable_plugin": [],
"disablerepo": [],
"download_dir": null,
"download_only": false,
"enable_plugin": [],
"enablerepo": [],
"exclude": [],
"install_repoquery": true,
"install_weak_deps": true,
"installroot": "/",
"list": null,
"lock_timeout": 30,
"name": [
"bash-completion",
"conntrack",
"container-selinux",
"curl",
"device-mapper-libs",
"e2fsprogs",
"ebtables",
"iptables",
"ipvsadm",
"libseccomp",
"nss",
"openssl",
"rsync",
"socat",
"tar",
"unzip",
"xfsprogs"
],
"nobest": false,
"releasever": null,
"security": false,
"skip_broken": false,
"sslverify": true,
"state": "present",
"update_cache": false,
"update_only": false,
"use_backend": "auto",
"validate_certs": true
}
},
"msg": "Failed to install some of the specified packages",
"rc": 1,
"results": [],
"retries": 5
}
Anything else we need to know
No response
The text was updated successfully, but these errors were encountered: