Skip to content
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

Closed
leeonfu opened this issue Oct 23, 2024 · 5 comments · Fixed by #11688
Closed

openEuler-22.03 LTS PKG list incorrect #11660

leeonfu opened this issue Oct 23, 2024 · 5 comments · Fixed by #11688
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@leeonfu
Copy link
Contributor

leeonfu commented Oct 23, 2024

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

@leeonfu
Copy link
Contributor Author

leeonfu commented Nov 4, 2024

Hi @yankay
What do you see?

@yankay
Copy link
Member

yankay commented Nov 4, 2024

Hi @yankay What do you see?

Maybe the kubespray needs to change some code to support the openEuler.

@leeonfu
Copy link
Contributor Author

leeonfu commented Nov 4, 2024

Hi,
Through my check, for openEuler-2203, the correct pkg list is on here.
"bash-completion",
"conntrack-tools",
"container-selinux",
"curl",
"device-mapper",
"e2fsprogs",
"ebtables",
"iptables",
"ipvsadm",
"libseccomp",
"nss",
"openssl",
"rsync",
"socat",
"tar",
"unzip",
"xfsprogs"

@leeonfu
Copy link
Contributor Author

leeonfu commented Nov 4, 2024

The main changes are in the conntrack and devide-mapper packages, I completed the verification.
/assign

@VannTen
Copy link
Contributor

VannTen commented Nov 4, 2024

@leeonfu Is ansible_os_family == RedHat (set by Ansible upstream) for openEuler accurate ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
3 participants