Add dns/nameservers parameter to tempest config

After [1], designate-tempest-plugin requires parameter dns.nameservers
in tempest config or it fails some jobs. This patch is setting this
parameter always to <host ip>:5322 as that is what is used when
designate is deployed in p-o-i [2].

I am not doing this parameter conditional as it will just not be used when
designate is not deployed so I guess we do not need to manage that case
separatedly.

[1] https://review.opendev.org/c/openstack/designate-tempest-plugin/+/860116
[2] https://github.com/openstack/puppet-openstack-integration/blob/master/manifests/designate.pp#L92-L97

Change-Id: I0c1fa9c4f7e00aa0c90b996d22dec8c5adef6c48
This commit is contained in:
Alfredo Moralejo 2022-10-28 16:47:07 +02:00
parent 3e5e33d101
commit 0ad3004b80
1 changed files with 1 additions and 0 deletions

View File

@ -355,6 +355,7 @@ class openstack_integration::tempest (
share_multitenancy_enabled => false,
share_enable_protocols => [downcase($share_protocol)],
share_capability_storage_protocol => $share_protocol,
designate_nameservers => "${::openstack_integration::config::ip_for_url}:5322",
}
if $magnum {