From 0026801eb245e3f549af9a2d378d13a28421595d Mon Sep 17 00:00:00 2001 From: Yufan Su Date: Wed, 29 Jul 2026 14:08:41 -0700 Subject: [PATCH] fix master-host address in locust-python-worker --- benchmarking/locust/manifests/locust.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/benchmarking/locust/manifests/locust.yaml b/benchmarking/locust/manifests/locust.yaml index eb7cf6c34..6351efb5d 100644 --- a/benchmarking/locust/manifests/locust.yaml +++ b/benchmarking/locust/manifests/locust.yaml @@ -90,7 +90,12 @@ spec: - "-f" - "/app/tests" - "--worker" - - "--master-host=localhost" + # Literal IPv4, not "localhost". The master binds 0.0.0.0:5557, which + # is IPv4-only; locust sets ZMQ_IPV6 on the worker socket whenever the + # master host resolves to anything AF_INET6, and the pod's /etc/hosts + # maps localhost to ::1 as well as 127.0.0.1. The worker would then + # dial [::1]:5557 and retry forever against a silent master. + - "--master-host=127.0.0.1" env: - name: OTEL_EXPORTER_OTLP_ENDPOINT value: http://opentelemetry-collector.gke-managed-otel.svc.cluster.local:4317