cilium: Cilium egress gateway drops returning traffic with INVALID IDENTITY (171)
Is there an existing issue for this?
- I have searched the existing issues
What happened?
Egress Gateway (using the NAT policy CRD) drops traffic on the way back on the initial source node.
What happens:
node1 (FORWARD) -> egress gateway (FORWARD) -> destination
node1 (DROP) <- egress gateway (FORWARD) <- destination
where the pod that originates traffic resides on node1.
Cilium Version
1.11.6
Kernel Version
5.15.48-flatcar
Kubernetes Version
1.23
Sysdump
No response
Relevant log output
{"time":"2022-07-21T11:07:33.540030606Z","verdict":"FORWARDED","ethernet":{"source":"aa:08:f6:94:af:ea","destination":"c6:b7:d8:63:8f:07"},"IP":{"source":"10.0.6.113","destination":"10.140.14.106","ipVersion":"IPv4"},"l4":{"TCP":{"source_port":47434,"destination_port":80,"flags":{"SYN":true}}},"source":{"ID":3553,"identity":375,"namespace":"infra","labels":["k8s:app=minio","k8s:io.cilium.k8s.namespace.labels.argocd.argoproj.io/instance=argocd","k8s:io.cilium.k8s.namespace.labels.kubernetes.io/metadata.name=infra","k8s:io.cilium.k8s.namespace.labels.tanka.dev/environment=efcd11957e5ae2299d24b4b536353399e5414fd5f269fc18","k8s:io.cilium.k8s.policy.cluster=default","k8s:io.cilium.k8s.policy.serviceaccount=minio-sa","k8s:io.kompose.service=minio","k8s:io.kubernetes.pod.namespace=infra","k8s:release=minio","k8s:statefulset.kubernetes.io/pod-name=minio-0"],"pod_name":"minio-0","workloads":[{"name":"minio","kind":"StatefulSet"}]},"destination":{"identity":16777217,"labels":["cidr:0.0.0.0/1","reserved:world"]},"Type":"L3_L4","node_name":"minio1","event_type":{"type":4,"sub_type":4},"trace_observation_point":"TO_OVERLAY","interface":{"index":7,"name":"cilium_vxlan"},"Summary":"TCP Flags: SYN"}
{"time":"2022-07-21T11:07:33.541186788Z","verdict":"DROPPED","drop_reason":171,"ethernet":{"source":"32:ad:11:cb:0e:c1","destination":"16:47:a4:64:b5:4c"},"IP":{"source":"10.140.14.106","destination":"10.0.6.113","ipVersion":"IPv4"},"l4":{"TCP":{"source_port":80,"destination_port":47434,"flags":{"SYN":true,"ACK":true}}},"source":{"identity":1,"labels":["reserved:host"]},"destination":{"ID":3553,"identity":375,"namespace":"infra","labels":["k8s:app=minio","k8s:io.cilium.k8s.namespace.labels.argocd.argoproj.io/instance=argocd","k8s:io.cilium.k8s.namespace.labels.kubernetes.io/metadata.name=infra","k8s:io.cilium.k8s.namespace.labels.tanka.dev/environment=efcd11957e5ae2299d24b4b536353399e5414fd5f269fc18","k8s:io.cilium.k8s.policy.cluster=default","k8s:io.cilium.k8s.policy.serviceaccount=minio-sa","k8s:io.kompose.service=minio","k8s:io.kubernetes.pod.namespace=infra","k8s:release=minio","k8s:statefulset.kubernetes.io/pod-name=minio-0"],"pod_name":"minio-0","workloads":[{"name":"minio","kind":"StatefulSet"}]},"Type":"L3_L4","node_name":"minio1","event_type":{"type":1,"sub_type":171},"drop_reason_desc":"INVALID_IDENTITY","Summary":"TCP Flags: SYN, ACK"}
Anything else?
No response
Code of Conduct
- I agree to follow this project’s Code of Conduct
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 20 (2 by maintainers)
Hi, I have the same issue here on cilium 1.12.4.
Relevant tcpdump on the host running the pod:
And the relevant
cilium monitor -t droplogs:Here’s the cilium config:
I’m at your disposal if you need more information Thanks !
try to change this:
to this:
for us works.
I will try to follow up with somebody on Slack.
It’s not stale. Still an acute issue.