From 51360b5a08230716a237317c4493ddcd9172cde0 Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Wed, 15 Jun 2022 20:12:51 +0530 Subject: [PATCH] Set nslookup_target in FIPS jobs FIPS jobs reboot nodes after enabling FIPS, but unbound service takes some time to be ready and until then DNS resolution fails. [1] added support to check DNS is ready after reboot, in order to utilize it we need to set "nslookup_target" job var. [1] https://review.opendev.org/c/zuul/zuul-jobs/+/844704 Closes-Bug: #1978938 Change-Id: Ia39753f7cc533ba9959136b95bc3401d2f34cad4 --- zuul.d/base.yaml | 2 ++ zuul.d/tempest-singlenode.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/zuul.d/base.yaml b/zuul.d/base.yaml index b38322f49dd..f17248ce466 100644 --- a/zuul.d/base.yaml +++ b/zuul.d/base.yaml @@ -140,6 +140,7 @@ description: | Functional testing for a FIPS enabled Centos 8 system vars: + nslookup_target: 'opendev.org' enable_fips: True # NOTE(ykarel) Remove MYSQL_GATHER_PERFORMANCE and # tox_environment when this job switches to centos-9-stream @@ -157,6 +158,7 @@ description: | Functional testing for a FIPS enabled Centos 8 system vars: + nslookup_target: 'opendev.org' enable_fips: True # NOTE(ykarel) Remove MYSQL_GATHER_PERFORMANCE and # tox_environment when this job switches to centos-9-stream diff --git a/zuul.d/tempest-singlenode.yaml b/zuul.d/tempest-singlenode.yaml index 3209f5aa6d1..57f833526b0 100644 --- a/zuul.d/tempest-singlenode.yaml +++ b/zuul.d/tempest-singlenode.yaml @@ -609,6 +609,7 @@ Scenario testing for a FIPS enabled Centos 9 system pre-run: playbooks/enable-fips.yaml vars: + nslookup_target: 'opendev.org' configure_swap_size: 4096 devstack_services: br-ex-tcpdump: true @@ -628,6 +629,7 @@ Scenario testing for a FIPS enabled Centos 9 system pre-run: playbooks/enable-fips.yaml vars: + nslookup_target: 'opendev.org' configure_swap_size: 4096 devstack_local_conf: test-config: