From ad7205503e43caea2acb145c191de9bf8b45a471 Mon Sep 17 00:00:00 2001 From: Jed Preist Date: Mon, 19 Oct 2026 18:03:47 +0100 Subject: [PATCH] Fix dns zone update issues in CI Stop CI failing due to DNS zone update timing out. Designate currently has a bug where an update that only changes the description of a DNS zone gets stuck in pending. Update the TTL as well to work around this. https://bugs.launchpad.net/designate/+bug/2171489 Change-Id: I47ec220f0db00dde996962077a15b2a8b2f072ee Signed-off-by: Jed Preist --- ci/roles/dns_zone/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/roles/dns_zone/tasks/main.yml b/ci/roles/dns_zone/tasks/main.yml index 77efb9d3..870e6c4f 100644 --- a/ci/roles/dns_zone/tasks/main.yml +++ b/ci/roles/dns_zone/tasks/main.yml @@ -16,17 +16,21 @@ # allow new fields to be introduced but prevent fields from being removed - expected_fields|difference(dns_zone.zone.keys())|length == 0 +# NOTE(jed-preist): Update ttl as well, to work around +# https://bugs.launchpad.net/designate/+bug/2171489 - name: Update dns zone openstack.cloud.dns_zone: cloud: "{{ cloud }}" name: ansible.test.zone. description: "Another description" + ttl: 1800 register: dns_zone - name: Assert return values of dns_zone module assert: that: - dns_zone.zone.description == "Another description" + - dns_zone.zone.ttl == 1800 - name: Fetch all dns zones openstack.cloud.dns_zone_info: