From 9596377d687c2083dcc1bd4f895dbd2f983f8fb1 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 4c95268379d9..d1590a79c4f6 100644 --- a/test/extended/testdata/bindata.go +++ b/test/extended/testdata/bindata.go @@ -51170,6 +51170,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;