-
Notifications
You must be signed in to change notification settings - Fork 200
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
flanneld 无法启动 #4
Comments
加我微信我远程teamview 13看看 |
明天的哈
发自我的华为手机
…-------- 原始邮件 --------
主题:Re: [zhangguanzhang/Kubernetes-ansible] flanneld 无法启动 (#4)
发件人:zhangguanzhang
收件人:zhangguanzhang/Kubernetes-ansible
抄送:YHF ,Author
加我微信我远程teamview 13看看
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#4?email_source=notifications&email_token=AHZNXONEFBRZRXGTQP2HKALP6MDFNA5CNFSM4H6ZIKPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZMRKXI#issuecomment-509154653>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AHZNXOKCCBCZ6SBIERHNJ6TP6MDFNANCNFSM4H6ZIKPA>.
|
周二到周四我出差参加培训 |
多谢,我这两天也有事,周五再约
提前感谢!
发自我的华为手机
…-------- 原始邮件 --------
主题:Re: [zhangguanzhang/Kubernetes-ansible] flanneld 无法启动 (#4)
发件人:zhangguanzhang
收件人:zhangguanzhang/Kubernetes-ansible
抄送:YHF ,Author
周二到周四我出差参加培训
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#4?email_source=notifications&email_token=AHZNXOMR7SUCXS7AXB2KLMLP6PTZJA5CNFSM4H6ZIKPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZO2CVI#issuecomment-509452629>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AHZNXOJTCMGR3IOQCXOAIC3P6PTZJANCNFSM4H6ZIKPA>.
|
遇到同样的问题:TASK [KubernetesCoreAddons : 开机并启动flanneld] *************************************************************************************************************************************************** PLAY RECAP ************************************************************************************************************************************************************************************ [root@k8s-m1 Kubernetes-ansible]# systemctl status flanneld.service -l Jul 11 15:38:53 k8s-m1 flanneld[16325]: E0711 15:38:53.388530 16325 reflector.go:201] github.com/coreos/flannel/subnet/kube/kube.go:310: Failed to list *v1.Node: nodes is forbidden: User "system:anonymous" cannot list resource "nodes" in API group "" at the cluster scope
|
提示了匿名用户,systemctl cat flanneld复制启动参数 |
先看flanneld的kubeconfig内容正常不,
上面这样启动看信息 |
环境(5台):
========
=========
========= 博主回复真快啊[爱心] 我不懂其中原理,所以看不懂,帮我看看 |
flanneld的kubeconfig有问题,加我微信我远程看看吧,我微信我博客有 |
加了,通过下 |
按照你的guide, 试了几次都是到flannel 失败。
TASK [KubernetesCoreAddons : 开机并启动flanneld] *********************************************************************
fatal: [192.168.1.17]: FAILED! => {"changed": false, "msg": "Unable to restart service flanneld: Job for flanneld.service failed because a timeout was exceeded. See "systemctl status flanneld.service" and "journalctl -xe" for details.\n"}
fatal: [192.168.1.18]: FAILED! => {"changed": false, "msg": "Unable to restart service flanneld: Job for flanneld.service failed because a timeout was exceeded. See "systemctl status flanneld.service" and "journalctl -xe" for details.\n"}
fatal: [192.168.1.38]: FAILED! => {"changed": false, "msg": "Unable to restart service flanneld: Job for flanneld.service failed because a timeout was exceeded. See "systemctl status flanneld.service" and "journalctl -xe" for details.\n"}
fatal: [192.168.1.28]: FAILED! => {"changed": false, "msg": "Unable to restart service flanneld: Job for flanneld.service failed because a timeout was exceeded. See "systemctl status flanneld.service" and "journalctl -xe" for details.\n"}
fatal: [192.168.1.27]: FAILED! => {"changed": false, "msg": "Unable to restart service flanneld: Job for flanneld.service failed because a timeout was exceeded. See "systemctl status flanneld.service" and "journalctl -xe" for details.\n"}
[root@vm17 CoreAddons]# journalctl -xe |grep flanneld
Jul 08 16:36:05 vm17.suibian.int flanneld[32209]: E0708 16:36:05.632948 32209 reflector.go:201] github.com/coreos/flannel/subnet/kube/kube.go:310: Failed to list *v1.Node: Unauthorized
ifconfig
[root@vm17 CoreAddons]# ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:8d:03:72:29 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.17 netmask 255.255.255.0 broadcast 192.168.1.255
ether 52:54:00:4c:eb:28 txqueuelen 1000 (Ethernet)
RX packets 4056110 bytes 543595368 (518.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3506639 bytes 782355415 (746.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 809083 bytes 110526361 (105.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 809083 bytes 110526361 (105.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The text was updated successfully, but these errors were encountered: