[OVN] Set OVN_BUILD_FROM_SOURCE=True for ovs-master jobs

The OVN_BUILD_FROM_SOURCE was introduced by a patch in DevStack [0]
which allows for stacking OVN using packages instead of compiling it
from source (by default that flag is False). Now the jobs compiling OVN
(master ones) should include this flag.

Also since the logs are on different paths depending on how OVN is
installed, we are telling zuul to collect it properly for the compiled
version (this inconsistency is something that perhaps we should fix in
DevStack itself).

[0] https://review.opendev.org/c/openstack/devstack/+/763402

Change-Id: I46654762921aeec7603800005681239cdf202632
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
This commit is contained in:
Lucas Alvares Gomes 2021-02-09 14:58:54 +00:00 committed by Slawek Kaplonski
parent 1740524999
commit 2478dab841
2 changed files with 13 additions and 0 deletions

View File

@ -386,11 +386,18 @@
((^neutron_tempest_plugin.api)|\
(^neutron_tempest_plugin.scenario)|\
(tempest.(api|scenario|thirdparty))).*$"
zuul_copy_output:
'{{ devstack_base_dir }}/data/ovs': 'logs'
'{{ devstack_base_dir }}/data/ovn': 'logs'
'{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
'{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
devstack_localrc:
OVN_BUILD_FROM_SOURCE: True
OVN_BRANCH: master
OVS_BRANCH: master
group-vars:
subnode:
devstack_localrc:
OVN_BUILD_FROM_SOURCE: True
OVN_BRANCH: master
OVS_BRANCH: master

View File

@ -473,7 +473,13 @@
parent: neutron-ovn-base
nodeset: devstack-single-node-fedora-latest
vars:
zuul_copy_output:
'{{ devstack_base_dir }}/data/ovs': 'logs'
'{{ devstack_base_dir }}/data/ovn': 'logs'
'{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
'{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
devstack_localrc:
OVN_BUILD_FROM_SOURCE: True
OVN_BRANCH: master
OVS_BRANCH: master
devstack_services: