tencentcloud-cloud-controller-manager icon indicating copy to clipboard operation
tencentcloud-cloud-controller-manager copied to clipboard

新增节点时NetworkUnavailable的Status一会是true,一会是false

Open farmerluo opened this issue 5 years ago • 0 comments

我们是自建k8s集群+tencentcloud-cloud-controller-manager

现有3个节点,在新增2个节点时,发现新节点的NetworkUnavailable的Status一会是true,一会是false。

发现日志有如下报错: [root@sh-saas-k8scs1-master-online-01 ~]# kubectl logs -f -n kube-system tencentcloud-cloud-controller-manager-6858dc97dd-rswkb | grep 10.10.84.104 | grep E06 E0628 06:26:12.616286 1 node_controller.go:399] Operation cannot be fulfilled on nodes "10.10.84.104": the object has been modified; please apply your changes to the latest version and try again E0628 06:29:59.527233 1 node_controller.go:399] Operation cannot be fulfilled on nodes "10.10.84.104": the object has been modified; please apply your changes to the latest version and try again E0628 06:41:06.157017 1 node_controller.go:399] Operation cannot be fulfilled on nodes "10.10.84.104": the object has been modified; please apply your changes to the latest version and try again E0628 06:48:26.796166 1 node_controller.go:399] Operation cannot be fulfilled on nodes "10.10.84.104": the object has been modified; please apply your changes to the latest version and try again E0628 06:52:08.430913 1 node_controller.go:399] Operation cannot be fulfilled on nodes "10.10.84.104": the object has been modified; please apply your changes to the latest version and try again time="2019-06-28T06:52:56Z" level=info msg="GET https://ccs.api.qcloud.com/v2/index.php?Action=DescribeClusterRoute&Nonce=1056294762903389301&Region=ap-shanghai&RouteTableName=route-table-k8s1-online&SecretId=xxxxxxxxxxxxx&Signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx%3D&SignatureMethod=HmacSHA256&Timestamp=1561704770 200 {"code":0,"message":"","codeDesc":"Success","data":{"TotalCount":8,"RouteSet":[{"RouteTableName":"route-table-k8s1-online","DestinationCidrBlock":"10.20.1.128\/25","GatewayIp":"10.10.84.101"},{"RouteTableName":"route-table-k8s1-online","DestinationCidrBlock":"10.20.0.0\/25","GatewayIp":"10.10.84.31"},{"RouteTableName":"route-table-k8s1-online","DestinationCidrBlock":"10.20.0.128\/25","GatewayIp":"10.10.84.33"},{"RouteTableName":"route-table-k8s1-online","DestinationCidrBlock":"10.20.2.128\/25","GatewayIp":"10.10.84.103"},{"RouteTableName":"route-table-k8s1-online","DestinationCidrBlock":"10.20.2.0\/25","GatewayIp":"10.10.84.102"},{"RouteTableName":"route-table-k8s1-online","DestinationCidrBlock":"10.20.1.0\/25","GatewayIp":"10.10.84.32"},{"RouteTableName":"route-table-k8s1-online","DestinationCidrBlock":"10.20.3.0\/25","GatewayIp":"10.10.84.104"},{"RouteTableName":"route-table-k8s1-online","DestinationCidrBlock":"10.20.3.128\/25","GatewayIp":"10.10.84.105"}]}}" Action=DescribeClusterRoute E0628 07:02:59.985416 1 node_controller.go:399] Operation cannot be fulfilled on nodes "10.10.84.104": the object has been modified; please apply your changes to the latest version and try again E0628 07:06:43.020506 1 node_controller.go:399] Operation cannot be fulfilled on nodes "10.10.84.104": the object has been modified; please apply your changes to the latest version and try again E0628 07:10:19.118051 1 node_controller.go:399] Operation cannot be fulfilled on nodes "10.10.84.104": the object has been modified; please apply your changes to the latest version and try again E0628 07:14:02.097567 1 node_controller.go:399] Operation cannot be fulfilled on nodes "10.10.84.104": the object has been modified; please apply your changes to the latest version and try again E0628 07:21:22.838869 1 node_controller.go:399] Operation cannot be fulfilled on nodes "10.10.84.104": the object has been modified; please apply your changes to the latest version and try again E0628 07:24:55.952505 1 node_controller.go:399] Operation cannot be fulfilled on nodes "10.10.84.104": the object has been modified; please apply your changes to the latest version and try again

重启tencentcloud-cloud-controller-manager后,问题暂时解决。

farmerluo avatar Jun 28 '19 07:06 farmerluo