You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am executing the following command on UOS Server 20. ansible-playbook -i inventory/mycluster/hosts.yaml --become --become-user=root cluster.yml
The error message is:
UOS Server 20 is based on OpenEuler and OpenAnolis, both of which use yum or dnf, not apt.
What did you expect to happen?
Successfully completed the entire execution, Kubernetes installed successfully.
How can we reproduce it (as minimally and precisely as possible)?
Linux 4.19.90-2403.3.0.0270.84.uel20.x86_64 x86_64
PRETTY_NAME="UOS Server 20"
NAME="UOS Server 20"
VERSION_ID="20"
VERSION="20"
ID=uos
HOME_URL="https://www.chinauos.com/"
BUG_REPORT_URL="https://bbs.chinauos.com/"
VERSION_CODENAME=fuyu
mensylisir
changed the title
Hello, UOS Server 20 is based on CentOS. However, during the execution of Kubespray, it attempts to use apt-get update, which causes the execution to fail.
UOS Server 20 during the execution of Kubespray, it attempts to use apt-get update, which causes the execution to fail.
Jul 4, 2024
mensylisir
changed the title
UOS Server 20 during the execution of Kubespray, it attempts to use apt-get update, which causes the execution to fail.
"ansible_pkg_mgr is set to 'dnf', but the software package is being installed using 'apt'."
Jul 4, 2024
What happened?
I am executing the following command on UOS Server 20.
![image](https://private-user-images.githubusercontent.com/11365685/345352449-31293874-5489-4bdb-b540-d01f340f97bd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAzNDg4MTgsIm5iZiI6MTcyMDM0ODUxOCwicGF0aCI6Ii8xMTM2NTY4NS8zNDUzNTI0NDktMzEyOTM4NzQtNTQ4OS00YmRiLWI1NDAtZDAxZjM0MGY5N2JkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA3VDEwMzUxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI1MTdkZDZmZmI5OGMwYzRlNjY4OWRiNDA1MTJjOTEzNmJlMzlhNzM4MGU0OWU0OWVmOTAyODEzYTQ0YTJhYjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.XJ1WK-95uAy7O2hhpBSFCewMRCR6mp30X0EpJgMwlm4)
ansible-playbook -i inventory/mycluster/hosts.yaml --become --become-user=root cluster.yml
The error message is:
UOS Server 20 is based on OpenEuler and OpenAnolis, both of which use yum or dnf, not apt.
What did you expect to happen?
Successfully completed the entire execution, Kubernetes installed successfully.
How can we reproduce it (as minimally and precisely as possible)?
OS
Version of Ansible
Version of Python
Version of Kubespray (commit)
Network plugin used
calico
Full inventory with variables
Command used to invoke ansible
ansible-playbook -i inventory/mycluster/hosts.yaml --become --become-user=root cluster.yml
Output of ansible run
Anything else we need to know
No response
The text was updated successfully, but these errors were encountered: