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 <jed@stackhpc.com>
This commit is contained in:
Jed Preist
2026-10-20 10:00:11 +01:00
parent da4a211b2d
commit ad7205503e
+4
View File
@@ -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: