calico: calico-node fail to run on Kubernetes 1.29 (calico-typha error)
Expected Behavior
calico-node should run after fresh tigera-operator on-prem deployment on Kubernetes 1.29
Current Behavior
calico-node fails to run due to readiness probe error:
calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/calico/bird.ctl: connect: connection refused
I can’t perform kubectl logs but looking through crictl logs on the container I see the following:
2024-01-29 10:50:22.296 [INFO][199362] tunnel-ip-allocator/discovery.go 179: Creating Kubernetes client for Typha discovery...
2024-01-29 10:50:22.296 [INFO][199362] tunnel-ip-allocator/discovery.go 195: (Re)discovering Typha endpoints using the Kubernetes API...
2024-01-29 10:50:22.303 [ERROR][199362] tunnel-ip-allocator/discovery.go 235: Didn't find any ready Typha instances.
2024-01-29 10:50:22.303 [FATAL][199362] tunnel-ip-allocator/startsyncerclient.go 49: Typha discovery enabled but discovery failed. error=Kubernetes service missing IP or port
Inside calico-typha logs I see the below warnings after the readiness heathcheck:
2024-01-29 08:26:17.901 [INFO][8] health.go 336: Overall health status changed: live=true ready=true
+----------------------------+---------+----------------+-----------------+--------+
| COMPONENT | TIMEOUT | LIVENESS | READINESS | DETAIL |
+----------------------------+---------+----------------+-----------------+--------+
| SyncServer | 20s | reporting live | - | |
| bgp-cache | 20s | reporting live | reporting ready | |
| felix-cache | 20s | reporting live | reporting ready | |
| node-status-cache | 20s | reporting live | reporting ready | |
| tunnel-ip-allocation-cache | 20s | reporting live | reporting ready | |
+----------------------------+---------+----------------+-----------------+--------+
2024-01-29 08:26:48.559 [WARNING][8] rebalance.go 54: Failed to get number of Typhas error=<nil> numTyphas=0 thread="k8s-poll"
2024-01-29 08:27:18.599 [WARNING][8] rebalance.go 54: Failed to get number of Typhas error=<nil> numTyphas=0 thread="k8s-poll"
While normally I would expect to see something like sync_server.go 430: Accepted from 192.168.3.156:47314 port=5473
Possible Solution
N/A
Steps to Reproduce (for bugs)
- Deploy on-prem EKS-D 1.29-3 (basically kubeadm-based Kubernetes 1.29.0)
- Deploy the tigera-operator
- Use the below installation spec to deploy calico
Context
Trying to deploy Calico on on-prem kubeadm-based deployment of EKS-D 1.29 using the tigera-operator per the documentation.
Same configuration works fine on EKS-D 1.28, and also when adding an 1.29 worker node to an exiting 1.28 control-plane which is already running Calico…
Worth mentioning while the official documentation does not state Calico supports Kubernetes 1.29, it seems like people are using it in practice and the documentation even reference an issue with the nftables alpha feature of 1.29 (off by default).
Your Environment
- Calico version 3.27.0
- Orchestrator version (e.g. kubernetes, mesos, rkt): EKS-D 1.29-3 (Kubernetes 1.29.0)
- Operating System and version: Ubuntu 22.04.3 LTS (kernel 5.15.0-92-generic)
- Tigera operator installation resource used:
apiVersion: operator.tigera.io/v1 kind: Installation metadata: name: default spec: # Configures Calico networking. calicoNetwork: bgp: Enabled # Note: The ipPools section cannot be modified post-install. ipPools: - blockSize: 26 cidr: 10.244.0.0/16 encapsulation: IPIP natOutgoing: Enabled nodeSelector: all()
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (10 by maintainers)
@rrsela I am closing it now, but feel free to reopen if you have any new information
Actually
kubectl get nodes -owidedoes not show any IP:Although I do see the node’s IP as a calico annotation:
While on an 1.28 node I would get the node status’ address attributes like these:
On the 1.29 node I don’t see it at all…
BTW nothing much on kubelet log regarding typha itself:
Regarding the csi-node-driver, the kubelet log shows this for
csi-node-driver-8d89t(plus some other pod’s entries):Trying to run Typha in debug mode and failing to do so in operator-mode… But it made me think, could this be a Tigera issue? All I can see inside its log is repeating info & error messages regarding installation reconciliation: