Fix multinode ovn/ovs with source deploy jobs

Since in these jobs ovs/ovn built/installed from
source during devstack installation, infra bridge
i.e br-infra prepared during pre-run get's lost.

After devstack setup rerunning the multinode setup
roles with install_ovs=false(role var added in depends-on
patch) to fix it.

It's alternative approach to [1].

[1] https://review.opendev.org/c/openstack/neutron/+/762654

Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/832497
Closes-Bug: #1904117
Change-Id: Ie2cd53881cb043bc72f201b6aac9eacd0c0c7c88
This commit is contained in:
yatinkarel 2022-03-21 14:12:46 +05:30
parent f962fff7f9
commit 1a2da88b90
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,27 @@
- hosts: all
vars:
install_ovs: false
roles:
- orchestrate-devstack
# For ovs from source jobs we need to reconfigure bridges after devstack setup
- multi-node-bridge
- multi-node-setup
# We run tests only on one node, regardless how many nodes are in the system
- hosts: tempest
tasks:
- name: Setup Tempest Run Directory
include_role:
name: setup-tempest-run-dir
- name: Setup Tempest Data Directory
include_role:
name: setup-tempest-data-dir
- name: ACL devstack files
include_role:
name: acl-devstack-files
- name: Run Tempest
include_role:
name: run-tempest

View File

@ -475,6 +475,7 @@
# experimental queue
name: neutron-ovn-tempest-full-multinode-ovs-master
parent: neutron-ovn-multinode-base
run: playbooks/multinode-devstack-custom.yaml
vars:
tox_envlist: all
tempest_test_regex: "^(?!.*\