From 244b7bf10712ec478240ee2172bfaf506d65b8c3 Mon Sep 17 00:00:00 2001 From: Bob Fournier Date: Thu, 20 Sep 2018 17:00:14 -0400 Subject: [PATCH] Ping default gateways before controllers It may be necessary, in certain situations when using IPv6, to ping the default gateways first before attempting to ping other hosts in the validation script. This swaps the order of the pings between the controllers and default gateways. Change-Id: I14b7fcffb0609aee3f0f53150496461396348322 Closes-Bug: 1793598 (cherry picked from commit ae3379e07011813feee2621a21f8ea66c6d0e059) --- .../ping-gateway-before-controllers-e029e81961dbaee8.yaml | 6 ++++++ validation-scripts/all-nodes.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/ping-gateway-before-controllers-e029e81961dbaee8.yaml diff --git a/releasenotes/notes/ping-gateway-before-controllers-e029e81961dbaee8.yaml b/releasenotes/notes/ping-gateway-before-controllers-e029e81961dbaee8.yaml new file mode 100644 index 0000000000..09b64cee8a --- /dev/null +++ b/releasenotes/notes/ping-gateway-before-controllers-e029e81961dbaee8.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - Ping the default gateways before controllers in + validation script. In certain situations when using + IPv6 its necessary to establish connectivity to the + router before other hosts. diff --git a/validation-scripts/all-nodes.sh b/validation-scripts/all-nodes.sh index 624559b22f..d099587f6b 100644 --- a/validation-scripts/all-nodes.sh +++ b/validation-scripts/all-nodes.sh @@ -110,8 +110,8 @@ function ntp_check() { fi } -ping_controller_ips "$ping_test_ips" ping_default_gateways +ping_controller_ips "$ping_test_ips" if [[ $validate_fqdn == "True" ]];then fqdn_check fi