when ipip=CrossSubnet, ipip is always used, even on the same subnet

Bug #1897617 reported by George Kraft
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Calico Charm
Triaged
Medium
Unassigned

Bug Description

When the calico charm is configured with ipip=CrossSubnet, ipip encapsulation is always used, even between workers that are on the same subnet.

Expected behavior is for ipip encapsulation to be used only between workers that are on different subnets.

Observed with Charmed Kubernetes 1.18+ck2 and cs:~containers/calico-741.

==================
Reproduction steps
==================

1. Deploy cs:~containers/kubernetes-calico. Ensure that at least two kubernetes-worker units are placed on the same subnet.

2. Configure the calico charm with ipip=CrossSubnet

Once the deployment has settled, run `ip route` on worker units to see where IPIP encapsulation is being used. If a route between workers on the same subnet goes through tunl0, then it is using IPIP encapsulation for that route, and that is a bug.

George Kraft (cynerva)
Changed in charm-calico:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Narinder Gupta (narindergupta) wrote :

We observed the similar issue on 1.17 version as well with calico cs:~containers/calico-741 on bionic.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.