calico: calico-node logs spammed with "bird: KIF: Ignore kube-ipvs0 that is not UP"

Expected Behavior

calico-node pods logs are not spammed with useless messages.

Current Behavior

calico-node pods logs are spammed with a lot (~40 lines every 2 seconds) of “bird: KIF: Ignore kube-ipvs0 that is not UP”:

$ date && kubectl -n kube-system logs -c calico-node --tail 20 --timestamps calico-n
ode-6vjmw
Tue Dec 26 07:55:13 PM UTC 2023
2023-12-26T19:55:12.277185490Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277185490Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277185490Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277185490Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277185490Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277185490Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277185490Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277185490Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277210778Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277210778Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277210778Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277210778Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277210778Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277210778Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277210778Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277210778Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277210778Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277210778Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277210778Z bird: KIF: Ignore kube-ipvs0 that is not UP
2023-12-26T19:55:12.277210778Z bird: KIF: Ignore kube-ipvs0 that is not UP

Possible Solution

Steps to Reproduce (for bugs)

  1. Install calico into a 1.28.5 Kubernetes cluster using the manifest:
curl https://raw.githubusercontent.com/projectcalico/calico/v3.27.0/manifests/calico.yaml -O

Note that kube-proxy is configured into ipvs mode, and is the component that creates the kube-ipvs0 interface in the first place, interface which is supposed to be down, as per this comment:

kube-ipvs0 should be down and noarp.

  1. Look at any of the calico-node pods logs.

Context

Massively spamming logs with useless messages is bad for obvious reasons.

Your Environment

  • Calico version: 3.27.0 (docker.io/calico/node:v3.27.0 image)
  • Orchestrator version (e.g. kubernetes, mesos, rkt): kubernetes 1.28.5
  • Operating System and version: Ubuntu 22.04.3 LTS, kernel version 6.2.0-39-generic
  • Link to your project (optional): N/A

Looking at the bird configuration file /etc/calico/confd/config/bird.cfg inside a calico-node pod, it looks like the kube-ipvs0 interface should be ignored, specifically mentioning kube-proxy in ipvs mode

# cat /etc/calico/confd/config/bird.cfg
[...]
protocol direct {
  debug { states };
  interface -"cali*", -"kube-ipvs*", "*"; # Exclude cali* and kube-ipvs* but
                                          # include everything else.  In
                                          # IPVS-mode, kube-proxy creates a
                                          # kube-ipvs0 interface. We exclude
                                          # kube-ipvs0 because this interface
                                          # gets an address for every in use
                                          # cluster IP. We use static routes
                                          # for when we legitimately want to
                                          # export cluster IPs.
}
[...]

so it’s quite weird that bird still complains about that interface.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (15 by maintainers)

Most upvoted comments

@caseydavenport This should be reopened until bird version is updated in calico/metadata.mk.

@lbogdan thanks!

The BIRD_IMAGE is overridden by the build process using the version taken from metadata.mk here: https://github.com/projectcalico/calico/blob/master/metadata.mk#L28-L29

I think we stopped cutting formal releases of our BIRD fork and instead pin to commit builds instead.