From 97a6cf464eca5ba5b4e7a0ae56c8b633596a77e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Andr=C3=A9?= Date: Wed, 10 Jun 2026 12:12:41 +0200 Subject: [PATCH] floatingip: fix flaky floatingip-create-full E2E test Add allocationPools to the external subnet to prevent the router gateway port from grabbing the IP address requested by the FloatingIP. Without allocationPools, Neutron auto-allocates from the full subnet range and can non-deterministically assign 192.168.155.5 to the router gateway port, causing the FloatingIP creation to fail with a 409 Conflict. Fixes #812 --- .../tests/floatingip-create-full/00-create-resource.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/controllers/floatingip/tests/floatingip-create-full/00-create-resource.yaml b/internal/controllers/floatingip/tests/floatingip-create-full/00-create-resource.yaml index a8cc7ff44..d81053c9a 100644 --- a/internal/controllers/floatingip/tests/floatingip-create-full/00-create-resource.yaml +++ b/internal/controllers/floatingip/tests/floatingip-create-full/00-create-resource.yaml @@ -35,6 +35,9 @@ spec: networkRef: floatingip-create-full-external ipVersion: 4 cidr: 192.168.155.0/24 + allocationPools: + - start: 192.168.155.100 + end: 192.168.155.200 --- apiVersion: openstack.k-orc.cloud/v1alpha1 kind: Router