From 53b85f3c117de174abce917648bf2d153bab80ff Mon Sep 17 00:00:00 2001 From: Thuan Vo Date: Tue, 19 May 2026 17:06:01 -0700 Subject: [PATCH] OCPBUGS-86225: fix PDB AlwaysAllow test failure on IPv6-primary dualstack clusters The nginx config in the PDB test only had `listen 8080` which binds to IPv4 only. On dualstack clusters where IPv6 is the primary family, the kubelet probes readiness using the pod's IPv6 address. Since nginx was not listening on IPv6, the probe got connection refused and pods never became Ready, causing the test to time out. Add `listen [::]:8080` so nginx accepts connections on both IPv4 and IPv6. Co-Authored-By: Claude Opus 4.6 --- test/extended/testdata/bindata.go | 1 + .../nginx-with-delayed-ready-deployment.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/test/extended/testdata/bindata.go b/test/extended/testdata/bindata.go index 5cd2d843f5e8..f6f43f6e262e 100644 --- a/test/extended/testdata/bindata.go +++ b/test/extended/testdata/bindata.go @@ -51081,6 +51081,7 @@ data: default.conf: | server { listen 8080; + listen [::]:8080; server_name localhost; location / { root /usr/share/nginx/html; diff --git a/test/extended/testdata/poddisruptionbudgets/nginx-with-delayed-ready-deployment.yaml b/test/extended/testdata/poddisruptionbudgets/nginx-with-delayed-ready-deployment.yaml index 5293a3994d68..4d84baa179ba 100644 --- a/test/extended/testdata/poddisruptionbudgets/nginx-with-delayed-ready-deployment.yaml +++ b/test/extended/testdata/poddisruptionbudgets/nginx-with-delayed-ready-deployment.yaml @@ -68,6 +68,7 @@ data: default.conf: | server { listen 8080; + listen [::]:8080; server_name localhost; location / { root /usr/share/nginx/html;