Enable neutron service for creating public network

https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/803477
modifies the os_tempest role to create only specific tempest
resources.

Earlier neutron public network id is setted when public
network exists but due to above patch, we need to make
sure neutron service is enabled and tempest_public_net_create
is set to true (default to true).

It fixes the same and also avoids creating private network on
undercloud.

Closes-Bug: #1970710

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I73e0dcb86de532cb2a0454b1940cdf330ba276c0
This commit is contained in:
Chandan Kumar (raukadah) 2022-04-28 17:22:01 +05:30 committed by Douglas Viroel
parent 4a7f126382
commit a8c10578d2
1 changed files with 5 additions and 2 deletions

View File

@ -79,8 +79,11 @@ ephemeral_heat: "{{ (release not in ['train','ussuri','victoria']) | bool }}"
tempest_install_method: distro
tempest_cloud_name: 'undercloud'
# There is no external network used for so disabling neutron
tempest_service_available_neutron: false
# Enable neutron service to create public network
tempest_service_available_neutron: true
# Do not create private network and router on undercloud
tempest_private_net_create: false
tempest_router_create: false
tempest_test_whitelist: "{{ tempest_whitelist }}"
tempest_test_blacklist: "{{ test_black_regex }}"