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

安装1.24版本失败,CNI插件Cilium,安装页面中显示集群状态为未知 #37

Open
hyong-mirrors opened this issue Jun 16, 2022 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@hyong-mirrors
Copy link

hyong-mirrors commented Jun 16, 2022

你好!使用V0.8.0版本安装失败。CNI插件Cilium;系统CentOS Linux release 7.9.2009 (Core);内核:4.19.12-1.el7.elrepo.x86_64。
具体错误日志:
TASK [/opt/app/kube-install/data/output/k8s-anoncloud/sys/0x0000000000base/all : service] ***
fatal: [192.168.0.33]: FAILED! => {"changed": false, "msg": "Could not find the requested service ufw: host"}
...ignoring
fatal: [192.168.0.32]: FAILED! => {"changed": false, "msg": "Could not find the requested service ufw: host"}
...ignoring
fatal: [192.168.0.31]: FAILED! => {"changed": false, "msg": "Could not find the requested service ufw: host"}
...ignoring
fatal: [192.168.0.30]: FAILED! => {"changed": false, "msg": "Could not find the requested service ufw: host"}
...ignoring

TASK [/opt/app/kube-install/data/output/k8s-anoncloud/sys/0x0000000000base/all : service] ***
fatal: [192.168.0.33]: FAILED! => {"changed": false, "msg": "Could not find the requested service SuSEfirewall2: host"}
...ignoring
fatal: [192.168.0.31]: FAILED! => {"changed": false, "msg": "Could not find the requested service SuSEfirewall2: host"}
...ignoring
fatal: [192.168.0.32]: FAILED! => {"changed": false, "msg": "Could not find the requested service SuSEfirewall2: host"}
...ignoring
fatal: [192.168.0.30]: FAILED! => {"changed": false, "msg": "Could not find the requested service SuSEfirewall2: host"}
...ignoring

TASK [/opt/app/kube-install/data/output/k8s-anoncloud/sys/0x0000000000base/runtime : 1.Cleaning up garbage files left in history.] ***
fatal: [192.168.0.33]: FAILED! => {"changed": false, "msg": "Could not find the requested service kubelet: host"}
...ignoring
fatal: [192.168.0.32]: FAILED! => {"changed": false, "msg": "Could not find the requested service kubelet: host"}
...ignoring
fatal: [192.168.0.31]: FAILED! => {"changed": false, "msg": "Could not find the requested service kubelet: host"}
...ignoring
fatal: [192.168.0.30]: FAILED! => {"changed": false, "msg": "Could not find the requested service kubelet: host"}
...ignoring

TASK [/opt/app/kube-install/data/output/k8s-anoncloud/sys/0x0000000000base/runtime : service] ***
fatal: [192.168.0.33]: FAILED! => {"changed": false, "msg": "Could not find the requested service kube-proxy: host"}
...ignoring
fatal: [192.168.0.31]: FAILED! => {"changed": false, "msg": "Could not find the requested service kube-proxy: host"}
...ignoring
fatal: [192.168.0.32]: FAILED! => {"changed": false, "msg": "Could not find the requested service kube-proxy: host"}
...ignoring
fatal: [192.168.0.30]: FAILED! => {"changed": false, "msg": "Could not find the requested service kube-proxy: host"}
...ignoring

TASK [/opt/app/kube-install/data/output/k8s-anoncloud/sys/0x0000000000base/runtime : service] ***
fatal: [192.168.0.33]: FAILED! => {"changed": false, "msg": "Could not find the requested service containerd: host"}
...ignoring
fatal: [192.168.0.32]: FAILED! => {"changed": false, "msg": "Could not find the requested service containerd: host"}
...ignoring
fatal: [192.168.0.31]: FAILED! => {"changed": false, "msg": "Could not find the requested service containerd: host"}
...ignoring
fatal: [192.168.0.30]: FAILED! => {"changed": false, "msg": "Could not find the requested service containerd: host"}
...ignoring
安装页面中显示集群状态为未知,kubectl get node看不到node节点,只有master节点

@cloudnativer
Copy link
Owner

你好!使用V0.8.0版本安装失败。CNI插件Cilium;系统CentOS Linux release 7.9.2009 (Core);内核:4.19.12-1.el7.elrepo.x86_64。 具体错误日志: TASK [/opt/app/kube-install/data/output/k8s-anoncloud/sys/0x0000000000base/all : service] *** fatal: [192.168.0.33]: FAILED! => {"changed": false, "msg": "Could not find the requested service ufw: host"} ...ignoring fatal: [192.168.0.32]: FAILED! => {"changed": false, "msg": "Could not find the requested service ufw: host"} ...ignoring fatal: [192.168.0.31]: FAILED! => {"changed": false, "msg": "Could not find the requested service ufw: host"} ...ignoring fatal: [192.168.0.30]: FAILED! => {"changed": false, "msg": "Could not find the requested service ufw: host"} ...ignoring

TASK [/opt/app/kube-install/data/output/k8s-anoncloud/sys/0x0000000000base/all : service] *** fatal: [192.168.0.33]: FAILED! => {"changed": false, "msg": "Could not find the requested service SuSEfirewall2: host"} ...ignoring fatal: [192.168.0.31]: FAILED! => {"changed": false, "msg": "Could not find the requested service SuSEfirewall2: host"} ...ignoring fatal: [192.168.0.32]: FAILED! => {"changed": false, "msg": "Could not find the requested service SuSEfirewall2: host"} ...ignoring fatal: [192.168.0.30]: FAILED! => {"changed": false, "msg": "Could not find the requested service SuSEfirewall2: host"} ...ignoring

TASK [/opt/app/kube-install/data/output/k8s-anoncloud/sys/0x0000000000base/runtime : 1.Cleaning up garbage files left in history.] *** fatal: [192.168.0.33]: FAILED! => {"changed": false, "msg": "Could not find the requested service kubelet: host"} ...ignoring fatal: [192.168.0.32]: FAILED! => {"changed": false, "msg": "Could not find the requested service kubelet: host"} ...ignoring fatal: [192.168.0.31]: FAILED! => {"changed": false, "msg": "Could not find the requested service kubelet: host"} ...ignoring fatal: [192.168.0.30]: FAILED! => {"changed": false, "msg": "Could not find the requested service kubelet: host"} ...ignoring

TASK [/opt/app/kube-install/data/output/k8s-anoncloud/sys/0x0000000000base/runtime : service] *** fatal: [192.168.0.33]: FAILED! => {"changed": false, "msg": "Could not find the requested service kube-proxy: host"} ...ignoring fatal: [192.168.0.31]: FAILED! => {"changed": false, "msg": "Could not find the requested service kube-proxy: host"} ...ignoring fatal: [192.168.0.32]: FAILED! => {"changed": false, "msg": "Could not find the requested service kube-proxy: host"} ...ignoring fatal: [192.168.0.30]: FAILED! => {"changed": false, "msg": "Could not find the requested service kube-proxy: host"} ...ignoring

TASK [/opt/app/kube-install/data/output/k8s-anoncloud/sys/0x0000000000base/runtime : service] *** fatal: [192.168.0.33]: FAILED! => {"changed": false, "msg": "Could not find the requested service containerd: host"} ...ignoring fatal: [192.168.0.32]: FAILED! => {"changed": false, "msg": "Could not find the requested service containerd: host"} ...ignoring fatal: [192.168.0.31]: FAILED! => {"changed": false, "msg": "Could not find the requested service containerd: host"} ...ignoring fatal: [192.168.0.30]: FAILED! => {"changed": false, "msg": "Could not find the requested service containerd: host"} ...ignoring

凡是log左下角顯示“ignoring”的話,都是屬於可以忽略的正常日誌。 你截取的均為正常日誌。 如果集羣安裝失敗的話,你可以看看是否有非“ignoring”的錯誤日誌。

@cloudnativer
Copy link
Owner

cloudnativer commented Jun 18, 2022

kubectl get node看不到node节点,只有master节点

由於kube-install使用的是二進位安裝,所以kubectl get看不到master,你可以使用kubectl get cs來查看master的健康狀態。

kubectl get node看到的就是所有node節點。

@cloudnativer cloudnativer changed the title 安装1.24版本失败,Could not find the requested service ufw: host;Could not find the requested service SuSEfirewall2: host 安装1.24版本失败,安装页面中显示集群状态为未知 Jun 18, 2022
@cloudnativer cloudnativer changed the title 安装1.24版本失败,安装页面中显示集群状态为未知 安装1.24版本失败,CNI插件Cilium,安装页面中显示集群状态为未知 Jun 18, 2022
@houseonline houseonline added the question Further information is requested label Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants