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
I created a cluster with IPv4 and IPv6 dual-stack using kubeadm.
Kubernetes version: v1.29.5
Pod CIDR: 172.99.0.0/16, 2001:db8:42::/64
Calico version: Client Version: v3.28.0
os version: ubuntu22.04
After enabling the IPv4 and IPv6 dual-stack network, only the IPv4 routing rules were created. The IPv6 routing rules were created but immediately deleted.
The routing results are as follows:
ip -4 r | grep calid2c5b465b5c
172.99.1.5 dev calid2c5b465b5c scope link
ip -6 r | grep calid2c5b465b5c
fe80::/64 dev calid2c5b465b5c proto kernel metric 256 pref medium
Calico-node logs show that initially an IPv6 IP (2001:db8:42:0:208b:133f:7967:ee05) was created, but it was later removed:
2025-02-26 08:32:55.422 [INFO][82] felix/int_dataplane.go 1891: Received *proto.ServiceRemove update from calculation graph msg=name:"chenby" namespace:"default"
2025-02-26 08:33:10.944 [INFO][82] felix/summary.go 100: Summarising 11 dataplane reconciliation loops over 1m3.3s: avg=18ms longest=40ms (resync-filter-v6,resync-mangle-v6,resync-nat-v6,resync-raw-v6)
2025-02-26 08:33:14.679 [INFO][82] felix/int_dataplane.go 1891: Received *proto.ServiceUpdate update from calculation graph msg=name:"chenby" namespace:"default" type:"NodePort" cluster_ip:"2002:db8:42:1::a8f3" ports:<Protocol:"TCP" Port:80 NodePort:30128 >
2025-02-26 08:33:15.705 [INFO][82] felix/calc_graph.go 507: Local endpoint updated id=WorkloadEndpoint(node=gtai01, orchestrator=k8s, workload=default/chenby-7975959574-n52d8, name=eth0)
2025-02-26 08:33:15.706 [INFO][82] felix/int_dataplane.go 1891: Received *proto.WorkloadEndpointUpdate update from calculation graph msg=id:<orchestrator_id:"k8s" workload_id:"default/chenby-7975959574-n52d8" endpoint_id:"eth0"> endpoint:<state:"active" name:"calid2c5b465b5c" profile_ids:"kns.default" profile_ids:"ksa.default.default" ipv4_nets:"172.99.1.5/32" ipv6_nets:"2001:db8:42:0:208b:133f:7967:ee05/128">
2025-02-26 08:33:15.706 [INFO][82] felix/endpoint_mgr.go 700: Updating per-endpoint chains. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:15.707 [INFO][82] felix/endpoint_mgr.go 737: Updating endpoint routes. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:15.707 [INFO][82] felix/table.go 611: Chain became referenced, marking it for programming chainName="cali-fw-calid2c5b465b5c" ipVersion=0x4 table="filter"
2025-02-26 08:33:15.707 [INFO][82] felix/table.go 611: Chain became referenced, marking it for programming chainName="cali-tw-calid2c5b465b5c" ipVersion=0x4 table="filter"
2025-02-26 08:33:15.708 [INFO][82] felix/endpoint_mgr.go 1430: Skipping configuration of interface because it is oper down. ifaceName="calid2c5b465b5c"
2025-02-26 08:33:15.708 [INFO][82] felix/table.go 611: Chain became referenced, marking it for programming chainName="cali-sm-calid2c5b465b5c" ipVersion=0x4 table="filter"
2025-02-26 08:33:15.708 [INFO][82] felix/endpoint_mgr.go 586: Re-evaluated workload endpoint status adminUp=true failed=false known=true operUp=false status="down" workloadEndpointID=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:15.708 [INFO][82] felix/status_combiner.go 58: Storing endpoint status update ipVersion=0x4 status="down" workload=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:15.709 [INFO][82] felix/endpoint_mgr.go 700: Updating per-endpoint chains. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:15.709 [INFO][82] felix/endpoint_mgr.go 737: Updating endpoint routes. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:15.709 [INFO][82] felix/table.go 611: Chain became referenced, marking it for programming chainName="cali-fw-calid2c5b465b5c" ipVersion=0x6 table="filter"
2025-02-26 08:33:15.709 [INFO][82] felix/table.go 611: Chain became referenced, marking it for programming chainName="cali-tw-calid2c5b465b5c" ipVersion=0x6 table="filter"
2025-02-26 08:33:15.710 [INFO][82] felix/endpoint_mgr.go 1430: Skipping configuration of interface because it is oper down. ifaceName="calid2c5b465b5c"
2025-02-26 08:33:15.710 [INFO][82] felix/table.go 611: Chain became referenced, marking it for programming chainName="cali-sm-calid2c5b465b5c" ipVersion=0x6 table="filter"
2025-02-26 08:33:15.710 [INFO][82] felix/endpoint_mgr.go 586: Re-evaluated workload endpoint status adminUp=true failed=false known=true operUp=false status="down" workloadEndpointID=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:15.710 [INFO][82] felix/status_combiner.go 58: Storing endpoint status update ipVersion=0x6 status="down" workload=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:15.755 [INFO][82] felix/status_combiner.go 78: Endpoint down for at least one IP version id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"} ipVersion=0x6 status="down"
2025-02-26 08:33:15.755 [INFO][82] felix/status_combiner.go 78: Endpoint down for at least one IP version id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"} ipVersion=0x4 status="down"
2025-02-26 08:33:15.756 [INFO][82] felix/status_combiner.go 98: Reporting combined status. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"} status="down"
2025-02-26 08:33:15.791 [INFO][82] felix/int_dataplane.go 1314: Linux interface state changed. ifIndex=16132 ifaceName="calid2c5b465b5c" state="down"
2025-02-26 08:33:15.791 [INFO][82] felix/int_dataplane.go 1948: Received interface update msg=&intdataplane.ifaceStateUpdate{Name:"calid2c5b465b5c", State:"down", Index:16132}
2025-02-26 08:33:15.792 [INFO][82] felix/int_dataplane.go 1358: Linux interface addrs changed. addrs=set.Set{fe80::ecee:eeff:feee:eeee} ifaceName="calid2c5b465b5c"
2025-02-26 08:33:15.792 [INFO][82] felix/endpoint_mgr.go 527: Workload interface state changed; marking for status update. ifaceName="calid2c5b465b5c"
2025-02-26 08:33:15.792 [INFO][82] felix/endpoint_mgr.go 527: Workload interface state changed; marking for status update. ifaceName="calid2c5b465b5c"
2025-02-26 08:33:15.792 [INFO][82] felix/iface_monitor.go 238: Netlink address update for known interface. addr="fe80::ecee:eeff:feee:eeee" exists=true ifIndex=16132
2025-02-26 08:33:15.792 [INFO][82] felix/endpoint_mgr.go 586: Re-evaluated workload endpoint status adminUp=true failed=false known=true operUp=false status="down" workloadEndpointID=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:15.793 [INFO][82] felix/int_dataplane.go 1314: Linux interface state changed. ifIndex=16132 ifaceName="calid2c5b465b5c" state="up"
2025-02-26 08:33:15.793 [INFO][82] felix/status_combiner.go 58: Storing endpoint status update ipVersion=0x4 status="down" workload=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:15.793 [INFO][82] felix/endpoint_mgr.go 586: Re-evaluated workload endpoint status adminUp=true failed=false known=true operUp=false status="down" workloadEndpointID=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:15.793 [INFO][82] felix/status_combiner.go 58: Storing endpoint status update ipVersion=0x6 status="down" workload=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:15.794 [INFO][82] felix/status_combiner.go 78: Endpoint down for at least one IP version id=proto.WorkloadEndpointID{
...
2025-02-26 08:33:15.798 [INFO][82] felix/status_combiner.go 58: Storing endpoint status update ipVersion=0x6 status="up" workload=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:15.800 [INFO][82] felix/status_combiner.go 81: Endpoint up for at least one IP version id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"} ipVersion=0x4 status="up"
2025-02-26 08:33:15.800 [INFO][82] felix/status_combiner.go 98: Reporting combined status. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"} status="up"
2025-02-26 08:33:16.448 [INFO][82] felix/calc_graph.go 507: Local endpoint updated id=WorkloadEndpoint(node=gtai01, orchestrator=k8s, workload=default/chenby-7975959574-n52d8, name=eth0)
2025-02-26 08:33:16.449 [INFO][82] felix/int_dataplane.go 1891: Received *proto.WorkloadEndpointUpdate update from calculation graph msg=id:<orchestrator_id:"k8s" workload_id:"default/chenby-7975959574-n52d8" endpoint_id:"eth0"> endpoint:<state:"active" name:"calid2c5b465b5c" profile_ids:"kns.default" profile_ids:"ksa.default.default" ipv4_nets:"172.99.1.5/32">
2025-02-26 08:33:16.449 [INFO][82] felix/endpoint_mgr.go 700: Updating per-endpoint chains. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:16.449 [INFO][82] felix/endpoint_mgr.go 737: Updating endpoint routes. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:16.450 [INFO][82] felix/endpoint_mgr.go 1362: Applying /proc/sys configuration to interface. ifaceName="calid2c5b465b5c"
2025-02-26 08:33:16.451 [INFO][82] felix/endpoint_mgr.go 586: Re-evaluated workload endpoint status adminUp=true failed=false known=true operUp=true status="up" workloadEndpointID=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:16.451 [INFO][82] felix/status_combiner.go 58: Storing endpoint status update ipVersion=0x4 status="up" workload=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:16.451 [INFO][82] felix/endpoint_mgr.go 700: Updating per-endpoint chains. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:16.451 [INFO][82] felix/endpoint_mgr.go 737: Updating endpoint routes. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:16.452 [INFO][82] felix/endpoint_mgr.go 1362: Applying /proc/sys configuration to interface. ifaceName="calid2c5b465b5c"
2025-02-26 08:33:16.452 [INFO][82] felix/endpoint_mgr.go 586: Re-evaluated workload endpoint status adminUp=true failed=false known=true operUp=true status="up" workloadEndpointID=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:16.453 [INFO][82] felix/status_combiner.go 58: Storing endpoint status update ipVersion=0x6 status="up" workload=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"}
2025-02-26 08:33:16.454 [INFO][82] felix/conntrack.go 90: Removing conntrack flows ip=2001:db8:42:0:208b:133f:7967:ee05
2025-02-26 08:33:16.482 [INFO][82] felix/status_combiner.go 81: Endpoint up for at least one IP version id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"} ipVersion=0x4 status="up"
2025-02-26 08:33:16.483 [INFO][82] felix/status_combiner.go 98: Reporting combined status. id=proto.WorkloadEndpointID{OrchestratorId:"k8s", WorkloadId:"default/chenby-7975959574-n52d8", EndpointId:"eth0"} status="up"
Expected Behavior
Current Behavior
Description:
I created a cluster with IPv4 and IPv6 dual-stack using kubeadm.
After enabling the IPv4 and IPv6 dual-stack network, only the IPv4 routing rules were created. The IPv6 routing rules were created but immediately deleted.
The routing results are as follows:
Calico-node logs show that initially an IPv6 IP (2001:db8:42:0:208b:133f:7967:ee05) was created, but it was later removed:
log debug
ipvsadm rule
The text was updated successfully, but these errors were encountered: