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

单独部署kube-master时提示cni plugins相关插件安装失败 #524

Closed
zhoufwind opened this issue Apr 22, 2019 · 1 comment · Fixed by #525
Closed

单独部署kube-master时提示cni plugins相关插件安装失败 #524

zhoufwind opened this issue Apr 22, 2019 · 1 comment · Fixed by #525

Comments

@zhoufwind
Copy link
Contributor

zhoufwind commented Apr 22, 2019

现象

单独部署kube-master时提示cni plugins相关插件安装失败。

# ansible-playbook 04.kube-master.yml 
...
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AnsibleFileNotFound: Could not find or access '/etc/ansible/bin/bridge'
failed: [192.168.x.x] (item=bridge) => {"changed": false, "item": "bridge", "msg": "Could not find or access '/etc/ansible/bin/bridge'"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AnsibleFileNotFound: Could not find or access '/etc/ansible/bin/host-local'
failed: [192.168.x.x] (item=host-local) => {"changed": false, "item": "host-local", "msg": "Could not find or access '/etc/ansible/bin/host-local'"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AnsibleFileNotFound: Could not find or access '/etc/ansible/bin/loopback'
failed: [192.168.x.x] (item=loopback) => {"changed": false, "item": "loopback", "msg": "Could not find or access '/etc/ansible/bin/loopback'"}

PLAY RECAP *************************************************************************************************************************************************************************************************
192.168.x.x             : ok=15   changed=14   unreachable=0    failed=1   

原因

down/download.sh脚本负责下载各二进制文件,其中cni plugins解压失败,导致kube-master部署时抛异常。

根据CNI plugins github链接所示,其二进制文件名格式为:cni-plugins-amd64-${CNI_VER}.tgz,而非:cni-${CNI_VER}.tgz,需对其进行更正。

zhoufwind added a commit to zhoufwind/kubeasz that referenced this issue Apr 22, 2019
根据CNI plugins github[链接][1]所示,其二进制文件名格式为:`cni-plugins-amd64-${CNI_VER}.tgz`,而非:`cni-${CNI_VER}.tgz`,因此进行更正。

[1]: https://github.com/containernetworking/plugins/releases

Issue easzlab#524
Close easzlab#524
gjmzj pushed a commit that referenced this issue Apr 22, 2019
根据CNI plugins github[链接][1]所示,其二进制文件名格式为:`cni-plugins-amd64-${CNI_VER}.tgz`,而非:`cni-${CNI_VER}.tgz`,因此进行更正。

[1]: https://github.com/containernetworking/plugins/releases

Issue #524
Close #524
@gjmzj
Copy link
Collaborator

gjmzj commented Apr 22, 2019

感谢PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants