Add tempest_{private_net_create, router_create} vars in os_tempest

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

Earlier private network and routers were created when network
related vars are set. Due to above patch, we are no longer creating
that.

That's why tempest_neutron_public_network_id is not getting
set and leading to failure of tempestconf generation via os_tempest.

Setting above vars fixes the issue.

Closes-Bug: #1970710

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: If7318f501c72ea5fb012e2935a316eb7c3d15e5e
This commit is contained in:
Chandan Kumar (raukadah) 2022-04-28 13:00:56 +05:30
parent a8dc75abe8
commit bedde96ad9
1 changed files with 2 additions and 0 deletions

View File

@ -189,6 +189,8 @@
tempest_private_net_seg_id: "{{ (release in ['queens']) | ternary('', omit) }}"
tempest_network_ping_gateway: true
tempest_private_net_provider_type: "{{ (release in ['queens']) | ternary('vlan', 'geneve') }}"
tempest_private_net_create: true
tempest_router_create: true
when: tempest_cidr is defined
- name: Handle migration of br-ex network