Merge "Do ping test from tempest host and disable it by default"

This commit is contained in:
Zuul 2019-02-27 23:27:11 +00:00 committed by Gerrit Code Review
commit d333065635
2 changed files with 13 additions and 14 deletions

View File

@ -164,7 +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_network_ping_gateway: False
tempest_dashboard_url: "https://{{ external_lb_vip_address | default('127.0.0.1') }}/"

View File

@ -246,19 +246,6 @@
when:
- tempest_service_available_neutron | bool
- name: Ping router ip address
shell: |
set -e
ping -c2 "{{ router_ip }}"
register: _ping_router
until: _ping_router is success
retries: 5
delay: 10
when:
- tempest_service_available_neutron | bool
- router_admin_state|bool == true
- tempest_network_ping_gateway | bool
- name: Create tempest flavors
os_nova_flavor:
cloud: "{{ tempest_cloud_name }}"
@ -292,3 +279,15 @@
set_fact:
tempest_admin_tenant_id: "{{ ansible_facts.openstack_projects[0].id }}"
- name: Ping router ip address
shell: |
set -e
ping -c2 "{{ router_ip }}"
register: _ping_router
until: _ping_router is success
retries: 5
delay: 10
when:
- tempest_service_available_neutron | bool
- router_admin_state | bool
- tempest_network_ping_gateway | bool