kubeasz icon indicating copy to clipboard operation
kubeasz copied to clipboard

python3环境安装执行ezctl setup k8s-01 all ansible报错

Open caihy05 opened this issue 3 years ago • 1 comments

image

问题:脚本roles/kube-node/tasks/node_lb.yml在线安装haproxy报错,fatal: [172.17.166.12]: FAILED! => {"changed": false, "msg": "The Python 2 yum module is needed for this module. If you require Python 3 support use the dnf Ansible module instead."}

解决:修改oles/kube-node/tasks/node_lb.yml中package为dnf安装成功

建议:请针对python3做一个兼容

caihy05 avatar Jan 10 '22 08:01 caihy05

OK,不过新版本里面node_lb不需要haproxy了

gjmzj avatar Jan 17 '22 04:01 gjmzj

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Nov 10 '22 21:11 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Nov 18 '22 21:11 github-actions[bot]