Calico version mismatch in sylva-core 1.3.5

Summary

In Sylva 1.3.5 on a Kubernetes 1.30 management cluster on OpenStack, calicoctl fails with an error Failed to get resources: Version mismatch

related references

Details

Trying to use calicoctl to get a node configuration to check whether wireguard was enabled or not, I got this:

ubuntu@bootstrap25-vm:~/my-deployment/sylva-core$ calicoctl get node vdr3-mgmt-cluster-cp-253e07da26-6gkqz -o yaml
Failed to get resources: Version mismatch.
Client Version:   v3.28.2
Cluster Version:  3.29.1
Use --allow-version-mismatch to override.

Remark: the cluster nodes are:

ubuntu@bootstrap25-vm:~/my-deployment/sylva-core$ kubectl get nodes
NAME                                    STATUS   ROLES                       AGE   VERSION
vdr3-mgmt-cluster-cp-253e07da26-6gkqz   Ready    control-plane,etcd,master   19h   v1.30.9+rke2r1
vdr3-mgmt-cluster-cp-253e07da26-7hgzm   Ready    control-plane,etcd,master   19h   v1.30.9+rke2r1
vdr3-mgmt-cluster-cp-253e07da26-dmm8z   Ready    control-plane,etcd,master   19h   v1.30.9+rke2r1

It works fine with the --allow-version-mismatch option:

ubuntu@bootstrap25-vm:~/my-deployment/sylva-core$ calicoctl get node vdr3-mgmt-cluster-cp-253e07da26-6gkqz -o yaml --allow-version-mismatch
apiVersion: projectcalico.org/v3
kind: Node
metadata:
...
spec:
...
  wireguard:
    interfaceIPv4Address: 100.72.112.100
status:
  podCIDRs:
  - 100.72.5.0/24
  wireguardPublicKey: Ae5AgF71IW1sBEOl9PoVllv1SyOdLxpddNNSDyfubF0=

But it would be nice to have a proper version alignment between the sylva-core image and the calico version in the cluster.

Edited Aug 19, 2025 by Thomas Morin
Assignee Loading
Time tracking Loading