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

Conflicts:
	manifests/tempest.pp

Resolved conflict caused by 4f09ea96df .

(yoga to xena)
Conflicts:
	manifests/tempest.pp

Resolved conflict caused by 8f2bc1aa61 .

Change-Id: I0c1fa9c4f7e00aa0c90b996d22dec8c5adef6c48
(cherry picked from commit 0ad3004b80)
(cherry picked from commit 1463bfa427)
(cherry picked from commit b605d489cd)
(cherry picked from commit 660982b330)
This commit is contained in:
Alfredo Moralejo
2022-10-28 16:47:07 +02:00
committed by Takashi Kajinami
parent a231f0f185
commit 9f2ed752ff

View File

@@ -282,6 +282,7 @@ class openstack_integration::tempest (
baremetal_driver => 'fake-hardware',
baremetal_enabled_hardware_types => 'ipmi,fake-hardware',
ec2api_tester_roles => ['member'],
designate_nameservers => "${::openstack_integration::config::ip_for_url}:5322",
}
if $magnum {