ovn: Collect OVN logs

Collect OVS and OVN logs on the jobs that compile OVS and OVN from
source. The directories containing the logs are different if packages
are used instead. The Neutron change [1] collects logs only for packaged
versions because OVS and OVN are never compiled in Neutron jobs.

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

Change-Id: I90d9a37a31c1c455ae47e3c0f4bd9b3c98241d34
diff --git a/zuul.d/master_jobs.yaml b/zuul.d/master_jobs.yaml
index 0b0f174..24fe2ff 100644
--- a/zuul.d/master_jobs.yaml
+++ b/zuul.d/master_jobs.yaml
@@ -411,6 +411,11 @@
               available_type_drivers: local,flat,vlan,geneve
               is_igmp_snooping_enabled: True
               firewall_driver: ovn
+      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'
     irrelevant-files:
       - ^(test-|)requirements.txt$
       - ^releasenotes/.*$