新建一组k8s集群,在启动keepalived时报错
在k8s集群,在启动keepalived服务时报错
·
##启动keepalived时日志中出现“ip address associated with VRID 51 not present in MASTER advert”
Mar 7 13:32:24 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:24 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:24 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:25 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:25 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:25 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:26 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:26 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:26 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:27 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:27 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:27 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:28 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:28 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:28 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:29 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:29 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:29 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:30 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:30 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:30 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:31 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:31 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:31 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:32 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:32 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:32 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:33 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:33 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:33 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:34 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:34 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:34 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:35 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:35 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:35 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:36 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:36 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:36 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:37 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
Mar 7 13:32:37 k8s-master02 Keepalived_vrrp[1482]: bogus VRRP packet received on ens192 !!!
Mar 7 13:32:37 k8s-master02 Keepalived_vrrp[1482]: VRRP_Instance(VI_1) ignoring received advertisment...
Mar 7 13:32:38 k8s-master02 Keepalived_vrrp[1482]: (VI_1): ip address associated with VRID 51 not present in MASTER advert : 192.168.10.70
#问题分析
在同一网段中,keepalived服务中的【virtual_router_id】,不能有重复,所以这个要特别注意,不然到时候启动keepalived就会报错。
#解决方案
规划好方案,不同集群组中的keepalived的【virtual_router_id】,配置成不一样,避免冲突
更多推荐
已为社区贡献10条内容
所有评论(0)