From de400ffc2d0aa59390d487b96bacc42ab32a51c3 Mon Sep 17 00:00:00 2001 From: Michael Vollman Date: Mon, 11 Feb 2019 15:00:27 -0500 Subject: [PATCH] Add option to disable router ping In some of the os_neutron gates there is no route to ping the tempest router ip from localhost. The router is validated by the neutron tempest tests so there is no need to ping it in this scenario. Change-Id: I698f76a00c626cdf4fc01f3b3ad09be6ed1006be --- defaults/main.yml | 1 + tasks/tempest_resources.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 1722d6e2..ab55c2e0 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -164,6 +164,7 @@ tempest_compute_snapshot_enabled: True tempest_compute_change_password: False tempest_network_tenant_network_cidr: "192.168.74.0/24" tempest_network_tenant_network_mask_bits: 28 +tempest_network_ping_gateway: True tempest_dashboard_url: "https://{{ external_lb_vip_address | default('127.0.0.1') }}/" diff --git a/tasks/tempest_resources.yml b/tasks/tempest_resources.yml index 2fedddc7..d099e3bf 100644 --- a/tasks/tempest_resources.yml +++ b/tasks/tempest_resources.yml @@ -257,6 +257,7 @@ when: - tempest_service_available_neutron | bool - router_admin_state|bool == true + - tempest_network_ping_gateway | bool - name: Create tempest flavors os_nova_flavor: