You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a hcloud k8s vm is bootstrapped with multiple nodeIPs (like in dualstack setups) the ccm fails to initialize the node since it can not validate it against the cloud api and skips it. Error: [node_controller.go:229] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
Expected behavior
The ccm can handle node with multiple internal IPs and initialize the node
Observed behavior
I created a talos cluster and was trying to setup dualstack. I tried both native ipv6 routing and overlay snat ipv6. The error is the same that the ccm can not handle multiple internal IPs. I'm not sure if the ccm uses the node annotation alpha.kubernetes.io/provided-node-ip: 10.0.1.8,2a01:4f8:c013:3467::1 or the nodes status.addresses info for its IPs. Anyway it cant find the IPv6 address in the Hetzner-HCloud API and fails to initialize the node.
I found a similar bug in harvester but am not sure if it is the same. Just link it as it might add extra info: harvester/harvester#3219
I1124 12:20:53.825109 1 route_controller.go:216] action for Node "talos-controlplane-amd64-ken9c1" with CIDR "2a01:4f8:c013:2::/64": "add"
I1124 12:20:53.825136 1 route_controller.go:216] action for Node "talos-worker-arm64-85hy2x" with CIDR "10.244.0.0/24": "keep"
I1124 12:20:53.825157 1 route_controller.go:216] action for Node "talos-worker-arm64-85hy2x" with CIDR "2a01:4f8:c013::/64": "add"
I1124 12:20:53.825203 1 route_controller.go:290] route spec to be created: &{ talos-controlplane-amd64-ken9c1 false [{InternalIP 10.0.1.8} {InternalIP 2a01:4f8:c013:3467::1} {Hostname talos-controlplane-amd64-ken9c1}] 2a01:4f8:c013:2::/64 false}
I1124 12:20:53.825353 1 route_controller.go:290] route spec to be created: &{ talos-worker-arm64-85hy2x false [{InternalIP 10.0.2.8} {InternalIP 2a01:4f8:c013:725b::1} {Hostname talos-worker-arm64-85hy2x}] 2a01:4f8:c013::/64 false}
I1124 12:20:53.825515 1 route_controller.go:304] Creating route for node talos-worker-arm64-85hy2x 2a01:4f8:c013::/64 with hint 469cd710-99b5-4e42-9cda-65781a4a0566, throttled 106.748µs
I1124 12:20:53.825552 1 route_controller.go:304] Creating route for node talos-controlplane-amd64-ken9c1 2a01:4f8:c013:2::/64 with hint 91fff55a-6cc4-48c0-9d05-f22fef7c2126, throttled 67.833µs
E1124 12:20:53.885136 1 route_controller.go:329] Could not create route 469cd710-99b5-4e42-9cda-65781a4a0566 2a01:4f8:c013::/64 for node talos-worker-arm64-85hy2x: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)
I1124 12:20:53.885508 1 event.go:389] "Event occurred" object="talos-worker-arm64-85hy2x" fieldPath="" kind="Node" apiVersion="" type="Warning" reason="FailedToCreateRoute" message="Could not create route 469cd710-99b5-4e42-9cda-65781a4a0566 2a01:4f8:c013::/64 for node talos-worker-arm64-85hy2x after 59.515898ms: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)"
E1124 12:20:53.888430 1 route_controller.go:329] Could not create route 91fff55a-6cc4-48c0-9d05-f22fef7c2126 2a01:4f8:c013:2::/64 for node talos-controlplane-amd64-ken9c1: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)
I1124 12:20:53.888592 1 event.go:389] "Event occurred" object="talos-controlplane-amd64-ken9c1" fieldPath="" kind="Node" apiVersion="" type="Warning" reason="FailedToCreateRoute" message="Could not create route 91fff55a-6cc4-48c0-9d05-f22fef7c2126 2a01:4f8:c013:2::/64 for node talos-controlplane-amd64-ken9c1 after 62.87689ms: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)"
I1124 12:20:53.888578 1 route_controller.go:387] Patching node status talos-worker-arm64-85hy2x with false previous condition was:&NodeCondition{Type:NetworkUnavailable,Status:False,LastHeartbeatTime:2024-11-24 12:20:24 +0000 UTC,LastTransitionTime:2024-11-24 12:20:24 +0000 UTC,Reason:CiliumIsUp,Message:Cilium is running on this node,}
I1124 12:20:53.888704 1 route_controller.go:387] Patching node status talos-controlplane-amd64-ken9c1 with false previous condition was:&NodeCondition{Type:NetworkUnavailable,Status:False,LastHeartbeatTime:2024-11-24 12:20:24 +0000 UTC,LastTransitionTime:2024-11-24 12:20:24 +0000 UTC,Reason:CiliumIsUp,Message:Cilium is running on this node,}
I1124 12:20:53.910559 1 node_controller.go:425] Initializing node talos-worker-arm64-85hy2x with cloud provider
I1124 12:20:54.140210 1 node_controller.go:229] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
E1124 12:20:54.140276 1 node_controller.go:240] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
I1124 12:20:54.140301 1 node_controller.go:425] Initializing node talos-controlplane-amd64-ken9c1 with cloud provider
I1124 12:20:54.314338 1 node_controller.go:229] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
E1124 12:20:54.314403 1 node_controller.go:240] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
I1124 12:20:54.314454 1 node_controller.go:425] Initializing node talos-worker-arm64-85hy2x with cloud provider
I1124 12:20:54.489319 1 node_controller.go:229] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
E1124 12:20:54.489377 1 node_controller.go:240] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
I1124 12:20:54.489425 1 node_controller.go:425] Initializing node talos-controlplane-amd64-ken9c1 with cloud provider
I1124 12:20:54.646587 1 node_controller.go:229] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
E1124 12:20:54.646647 1 node_controller.go:240] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
I1124 12:21:23.818459 1 route_controller.go:216] action for Node "talos-controlplane-amd64-ken9c1" with CIDR "10.244.1.0/24": "keep"
I1124 12:21:23.818561 1 route_controller.go:216] action for Node "talos-controlplane-amd64-ken9c1" with CIDR "2a01:4f8:c013:2::/64": "add"
I1124 12:21:23.818573 1 route_controller.go:216] action for Node "talos-worker-arm64-85hy2x" with CIDR "10.244.0.0/24": "keep"
I1124 12:21:23.818581 1 route_controller.go:216] action for Node "talos-worker-arm64-85hy2x" with CIDR "2a01:4f8:c013::/64": "add"
I1124 12:21:23.818609 1 route_controller.go:290] route spec to be created: &{ talos-controlplane-amd64-ken9c1 false [{InternalIP 10.0.1.8} {InternalIP 2a01:4f8:c013:3467::1} {Hostname talos-controlplane-amd64-ken9c1}] 2a01:4f8:c013:2::/64 false}
I1124 12:21:23.818686 1 route_controller.go:290] route spec to be created: &{ talos-worker-arm64-85hy2x false [{InternalIP 10.0.2.8} {InternalIP 2a01:4f8:c013:725b::1} {Hostname talos-worker-arm64-85hy2x}] 2a01:4f8:c013::/64 false}
I1124 12:21:23.818797 1 route_controller.go:304] Creating route for node talos-worker-arm64-85hy2x 2a01:4f8:c013::/64 with hint 469cd710-99b5-4e42-9cda-65781a4a0566, throttled 72.48µs
I1124 12:21:23.818839 1 route_controller.go:304] Creating route for node talos-controlplane-amd64-ken9c1 2a01:4f8:c013:2::/64 with hint 91fff55a-6cc4-48c0-9d05-f22fef7c2126, throttled 23.328µs
E1124 12:21:23.868153 1 route_controller.go:329] Could not create route 469cd710-99b5-4e42-9cda-65781a4a0566 2a01:4f8:c013::/64 for node talos-worker-arm64-85hy2x: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)
I1124 12:21:23.868373 1 event.go:389] "Event occurred" object="talos-worker-arm64-85hy2x" fieldPath="" kind="Node" apiVersion="" type="Warning" reason="FailedToCreateRoute" message="Could not create route 469cd710-99b5-4e42-9cda-65781a4a0566 2a01:4f8:c013::/64 for node talos-worker-arm64-85hy2x after 49.245615ms: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)"
E1124 12:21:23.879637 1 route_controller.go:329] Could not create route 91fff55a-6cc4-48c0-9d05-f22fef7c2126 2a01:4f8:c013:2::/64 for node talos-controlplane-amd64-ken9c1: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)
I1124 12:21:23.879844 1 event.go:389] "Event occurred" object="talos-controlplane-amd64-ken9c1" fieldPath="" kind="Node" apiVersion="" type="Warning" reason="FailedToCreateRoute" message="Could not create route 91fff55a-6cc4-48c0-9d05-f22fef7c2126 2a01:4f8:c013:2::/64 for node talos-controlplane-amd64-ken9c1 after 60.751573ms: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)"
I1124 12:21:23.879802 1 route_controller.go:387] Patching node status talos-controlplane-amd64-ken9c1 with false previous condition was:&NodeCondition{Type:NetworkUnavailable,Status:False,LastHeartbeatTime:2024-11-24 12:20:53 +0000 UTC,LastTransitionTime:2024-11-24 12:20:53 +0000 UTC,Reason:CiliumIsUp,Message:Cilium is running on this node,}
I1124 12:21:23.879807 1 route_controller.go:387] Patching node status talos-worker-arm64-85hy2x with false previous condition was:&NodeCondition{Type:NetworkUnavailable,Status:False,LastHeartbeatTime:2024-11-24 12:20:53 +0000 UTC,LastTransitionTime:2024-11-24 12:20:53 +0000 UTC,Reason:CiliumIsUp,Message:Cilium is running on this node,}
I1124 12:21:23.895312 1 node_controller.go:425] Initializing node talos-worker-arm64-85hy2x with cloud provider
I1124 12:21:24.074614 1 node_controller.go:229] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
E1124 12:21:24.074727 1 node_controller.go:240] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
I1124 12:21:24.074775 1 node_controller.go:425] Initializing node talos-controlplane-amd64-ken9c1 with cloud provider
I1124 12:21:24.238729 1 node_controller.go:229] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
E1124 12:21:24.238801 1 node_controller.go:240] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
I1124 12:21:24.238851 1 node_controller.go:425] Initializing node talos-worker-arm64-85hy2x with cloud provider
I1124 12:21:24.415497 1 node_controller.go:229] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
E1124 12:21:24.415559 1 node_controller.go:240] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
I1124 12:21:24.415599 1 node_controller.go:425] Initializing node talos-controlplane-amd64-ken9c1 with cloud provider
I1124 12:21:24.611524 1 node_controller.go:229] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
E1124 12:21:24.611570 1 node_controller.go:240] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
I1124 12:21:46.730846 1 node_controller.go:425] Initializing node talos-worker-arm64-85hy2x with cloud provider
I1124 12:21:46.920086 1 node_controller.go:229] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
E1124 12:21:46.920170 1 node_controller.go:240] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
I1124 12:21:53.823485 1 route_controller.go:216] action for Node "talos-controlplane-amd64-ken9c1" with CIDR "10.244.1.0/24": "keep"
I1124 12:21:53.823642 1 route_controller.go:216] action for Node "talos-controlplane-amd64-ken9c1" with CIDR "2a01:4f8:c013:2::/64": "add"
I1124 12:21:53.823659 1 route_controller.go:216] action for Node "talos-worker-arm64-85hy2x" with CIDR "10.244.0.0/24": "keep"
I1124 12:21:53.823672 1 route_controller.go:216] action for Node "talos-worker-arm64-85hy2x" with CIDR "2a01:4f8:c013::/64": "add"
I1124 12:21:53.823723 1 route_controller.go:290] route spec to be created: &{ talos-controlplane-amd64-ken9c1 false [{InternalIP 10.0.1.8} {InternalIP 2a01:4f8:c013:3467::1} {Hostname talos-controlplane-amd64-ken9c1}] 2a01:4f8:c013:2::/64 false}
I1124 12:21:53.823878 1 route_controller.go:290] route spec to be created: &{ talos-worker-arm64-85hy2x false [{InternalIP 10.0.2.8} {InternalIP 2a01:4f8:c013:725b::1} {Hostname talos-worker-arm64-85hy2x}] 2a01:4f8:c013::/64 false}
I1124 12:21:53.824105 1 route_controller.go:304] Creating route for node talos-worker-arm64-85hy2x 2a01:4f8:c013::/64 with hint 469cd710-99b5-4e42-9cda-65781a4a0566, throttled 150.219µs
I1124 12:21:53.824399 1 route_controller.go:304] Creating route for node talos-controlplane-amd64-ken9c1 2a01:4f8:c013:2::/64 with hint 91fff55a-6cc4-48c0-9d05-f22fef7c2126, throttled 29.385µs
E1124 12:21:53.869283 1 route_controller.go:329] Could not create route 469cd710-99b5-4e42-9cda-65781a4a0566 2a01:4f8:c013::/64 for node talos-worker-arm64-85hy2x: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)
I1124 12:21:53.871412 1 event.go:389] "Event occurred" object="talos-worker-arm64-85hy2x" fieldPath="" kind="Node" apiVersion="" type="Warning" reason="FailedToCreateRoute" message="Could not create route 469cd710-99b5-4e42-9cda-65781a4a0566 2a01:4f8:c013::/64 for node talos-worker-arm64-85hy2x after 45.116429ms: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)"
E1124 12:21:53.883632 1 route_controller.go:329] Could not create route 91fff55a-6cc4-48c0-9d05-f22fef7c2126 2a01:4f8:c013:2::/64 for node talos-controlplane-amd64-ken9c1: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)
I1124 12:21:53.883767 1 route_controller.go:387] Patching node status talos-worker-arm64-85hy2x with false previous condition was:&NodeCondition{Type:NetworkUnavailable,Status:False,LastHeartbeatTime:2024-11-24 12:21:23 +0000 UTC,LastTransitionTime:2024-11-24 12:21:23 +0000 UTC,Reason:CiliumIsUp,Message:Cilium is running on this node,}
I1124 12:21:53.884227 1 route_controller.go:387] Patching node status talos-controlplane-amd64-ken9c1 with false previous condition was:&NodeCondition{Type:NetworkUnavailable,Status:False,LastHeartbeatTime:2024-11-24 12:21:23 +0000 UTC,LastTransitionTime:2024-11-24 12:21:23 +0000 UTC,Reason:CiliumIsUp,Message:Cilium is running on this node,}
I1124 12:21:53.884578 1 event.go:389] "Event occurred" object="talos-controlplane-amd64-ken9c1" fieldPath="" kind="Node" apiVersion="" type="Warning" reason="FailedToCreateRoute" message="Could not create route 91fff55a-6cc4-48c0-9d05-f22fef7c2126 2a01:4f8:c013:2::/64 for node talos-controlplane-amd64-ken9c1 after 59.23593ms: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)"
I1124 12:21:53.907779 1 node_controller.go:425] Initializing node talos-worker-arm64-85hy2x with cloud provider
I1124 12:21:54.071761 1 node_controller.go:229] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
E1124 12:21:54.071849 1 node_controller.go:240] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
I1124 12:21:54.071902 1 node_controller.go:425] Initializing node talos-controlplane-amd64-ken9c1 with cloud provider
I1124 12:21:54.701341 1 node_controller.go:229] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
E1124 12:21:54.701411 1 node_controller.go:240] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
I1124 12:21:54.701449 1 node_controller.go:425] Initializing node talos-worker-arm64-85hy2x with cloud provider
I1124 12:21:54.936501 1 node_controller.go:229] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
E1124 12:21:54.936560 1 node_controller.go:240] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
I1124 12:22:23.828162 1 route_controller.go:216] action for Node "talos-controlplane-amd64-ken9c1" with CIDR "10.244.1.0/24": "keep"
I1124 12:22:23.828353 1 route_controller.go:216] action for Node "talos-controlplane-amd64-ken9c1" with CIDR "2a01:4f8:c013:2::/64": "add"
I1124 12:22:23.828386 1 route_controller.go:216] action for Node "talos-worker-arm64-85hy2x" with CIDR "10.244.0.0/24": "keep"
I1124 12:22:23.828409 1 route_controller.go:216] action for Node "talos-worker-arm64-85hy2x" with CIDR "2a01:4f8:c013::/64": "add"
I1124 12:22:23.828476 1 route_controller.go:290] route spec to be created: &{ talos-controlplane-amd64-ken9c1 false [{InternalIP 10.0.1.8} {InternalIP 2a01:4f8:c013:3467::1} {Hostname talos-controlplane-amd64-ken9c1}] 2a01:4f8:c013:2::/64 false}
I1124 12:22:23.828704 1 route_controller.go:290] route spec to be created: &{ talos-worker-arm64-85hy2x false [{InternalIP 10.0.2.8} {InternalIP 2a01:4f8:c013:725b::1} {Hostname talos-worker-arm64-85hy2x}] 2a01:4f8:c013::/64 false}
I1124 12:22:23.828984 1 route_controller.go:304] Creating route for node talos-worker-arm64-85hy2x 2a01:4f8:c013::/64 with hint 469cd710-99b5-4e42-9cda-65781a4a0566, throttled 154.768µs
I1124 12:22:23.829482 1 route_controller.go:304] Creating route for node talos-controlplane-amd64-ken9c1 2a01:4f8:c013:2::/64 with hint 91fff55a-6cc4-48c0-9d05-f22fef7c2126, throttled 13.973µs
E1124 12:22:23.881666 1 route_controller.go:329] Could not create route 91fff55a-6cc4-48c0-9d05-f22fef7c2126 2a01:4f8:c013:2::/64 for node talos-controlplane-amd64-ken9c1: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)
I1124 12:22:23.882207 1 event.go:389] "Event occurred" object="talos-controlplane-amd64-ken9c1" fieldPath="" kind="Node" apiVersion="" type="Warning" reason="FailedToCreateRoute" message="Could not create route 91fff55a-6cc4-48c0-9d05-f22fef7c2126 2a01:4f8:c013:2::/64 for node talos-controlplane-amd64-ken9c1 after 51.932862ms: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)"
E1124 12:22:23.882912 1 route_controller.go:329] Could not create route 469cd710-99b5-4e42-9cda-65781a4a0566 2a01:4f8:c013::/64 for node talos-worker-arm64-85hy2x: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)
I1124 12:22:23.883263 1 event.go:389] "Event occurred" object="talos-worker-arm64-85hy2x" fieldPath="" kind="Node" apiVersion="" type="Warning" reason="FailedToCreateRoute" message="Could not create route 469cd710-99b5-4e42-9cda-65781a4a0566 2a01:4f8:c013::/64 for node talos-worker-arm64-85hy2x after 54.032449ms: hcloud/CreateRoute: invalid input in field 'destination' (invalid_input)"
I1124 12:22:23.883116 1 route_controller.go:387] Patching node status talos-worker-arm64-85hy2x with false previous condition was:&NodeCondition{Type:NetworkUnavailable,Status:False,LastHeartbeatTime:2024-11-24 12:21:53 +0000 UTC,LastTransitionTime:2024-11-24 12:21:53 +0000 UTC,Reason:CiliumIsUp,Message:Cilium is running on this node,}
I1124 12:22:23.883376 1 route_controller.go:387] Patching node status talos-controlplane-amd64-ken9c1 with false previous condition was:&NodeCondition{Type:NetworkUnavailable,Status:False,LastHeartbeatTime:2024-11-24 12:21:53 +0000 UTC,LastTransitionTime:2024-11-24 12:21:53 +0000 UTC,Reason:CiliumIsUp,Message:Cilium is running on this node,}
I1124 12:22:23.904804 1 node_controller.go:425] Initializing node talos-worker-arm64-85hy2x with cloud provider
I1124 12:22:24.130596 1 node_controller.go:229] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
E1124 12:22:24.130639 1 node_controller.go:240] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
I1124 12:22:24.130665 1 node_controller.go:425] Initializing node talos-controlplane-amd64-ken9c1 with cloud provider
I1124 12:22:24.293191 1 node_controller.go:229] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
E1124 12:22:24.293248 1 node_controller.go:240] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
I1124 12:22:24.293294 1 node_controller.go:425] Initializing node talos-worker-arm64-85hy2x with cloud provider
I1124 12:22:24.453142 1 node_controller.go:229] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
E1124 12:22:24.453200 1 node_controller.go:240] error syncing 'talos-worker-arm64-85hy2x': failed to get node modifiers from cloud provider: provided node ip for node "talos-worker-arm64-85hy2x" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013::ce55, requeuing
Additional information
> kubectl version
Client Version: v1.30.5
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.31.3
Kubecolor Version: 0.4.0
TL;DR
When a hcloud k8s vm is bootstrapped with multiple nodeIPs (like in dualstack setups) the ccm fails to initialize the node since it can not validate it against the cloud api and skips it. Error:
[node_controller.go:229] error syncing 'talos-controlplane-amd64-ken9c1': failed to get node modifiers from cloud provider: provided node ip for node "talos-controlplane-amd64-ken9c1" is not valid: failed to get node address from cloud provider that matches ip: 2a01:4f8:c013:3467::1, requeuing
Expected behavior
The ccm can handle node with multiple internal IPs and initialize the node
Observed behavior
I created a talos cluster and was trying to setup dualstack. I tried both native ipv6 routing and overlay snat ipv6. The error is the same that the ccm can not handle multiple internal IPs. I'm not sure if the ccm uses the node annotation
alpha.kubernetes.io/provided-node-ip: 10.0.1.8,2a01:4f8:c013:3467::1
or the nodesstatus.addresses
info for its IPs. Anyway it cant find the IPv6 address in the Hetzner-HCloud API and fails to initialize the node.I found a similar bug in harvester but am not sure if it is the same. Just link it as it might add extra info: harvester/harvester#3219
Minimal working example
Talos Machine Config
Kubernetes Node Object
Log output
Cloud-Controller Logs
Additional information
The text was updated successfully, but these errors were encountered: