Skip to content

Messages generated inside controllers are not logged #29215

@aanm

Description

@aanm
  1. Install Cilium
  2. Check kubectl logs -n kube-system ds/cilium | grep endpointsynchronizer and the result is empty. The logs should contain at least one message similar to:
level=debug msg="Skipping CiliumEndpoint update because it has no k8s cep name" containerID= containerInterface= controller="sync-to-k8s-ciliumendpoint (3394)" datapathPolicyRevision=1 desiredPolicyRevision=1 endpointID=3394 identity=4 ipv4=10.244.0.118 ipv6= k8sPodName=/ subsys=endpointsynchronizer

Did a bisect which resulted on 52c06e1 to be the first bad commit.

/cc @learnitall

Metadata

Metadata

Assignees

Labels

area/agentCilium agent related.kind/bugThis is a bug in the Cilium logic.kind/regressionThis functionality worked fine before, but was broken in a newer release of Cilium.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions