From 0dd1e186b5e27f589c10272ff163dea4fe154faa Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Mon, 24 Oct 2022 11:36:25 +0200 Subject: [PATCH] Use default neutron backend in the base grenade job When devstack was switching to ML2/OVN as default backend, in the base grenade job it was explicitly configured to use old default ML2/OVS backend. It was done like that to avoid problems with upgrade and change backend in the same job. Now, as ML2/OVN is default backend in Devstack since at least couple of cycles it's fine to switch grenade jobs to use default backend. Depends-On: https://review.opendev.org/c/openstack/ironic/+/866993 Depends-On: https://review.opendev.org/c/openstack/devstack/+/867065 Change-Id: Iede9fe71d81fc86a92122800d5a16f45442dd79e --- .zuul.yaml | 52 +++++++++++++++++------------------- playbooks/multinode-pre.yaml | 4 +++ 2 files changed, 29 insertions(+), 27 deletions(-) create mode 100644 playbooks/multinode-pre.yaml diff --git a/.zuul.yaml b/.zuul.yaml index a3158cf9..75c6b264 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -40,6 +40,7 @@ - zuul: opendev.org/openstack/openstack-zuul-jobs - zuul: opendev.org/openstack/devstack - zuul: opendev.org/openstack/tempest + - zuul: opendev.org/openstack/neutron-tempest-plugin vars: devstack_bases: shared: /opt/stack @@ -78,13 +79,6 @@ ERROR_ON_CLONE: true # Gate jobs can't deal with nested virt. Disable it. LIBVIRT_TYPE: qemu - # TODO(jlibosva): Devstack defaults to OVN but OVN Grenade - # as of early Victoria does not work. We can - # remove setting explicitly ML2/OVS mech - # driver for Grenade once OVN works with Grenade. - Q_AGENT: openvswitch - Q_ML2_TENANT_NETWORK_TYPE: vxlan - Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch # TODO(slaweq): It can be removed when devstack patch # https://review.opendev.org/c/openstack/devstack/+/849145 will be # merged in master and last stable branch @@ -234,25 +228,18 @@ # Neutron services # We need to keep using the neutron-legacy based services for # now until all issues with the new lib/neutron code are solved - # TODO(jlibosva): Devstack defaults to OVN but OVN Grenade - # as of early Victoria does not work. We can - # remove setting explicitly ML2/OVS mech - # driver for Grenade once OVN works with Grenade. - q-agt: true - q-dhcp: true - q-l3: true - q-meta: true - q-metering: true q-svc: true - ovn-controller: false - ovn-northd: false - q-ovn-metadata-agent: false - # neutron-api: true - # neutron-agent: true - # neutron-dhcp: true - # neutron-l3: true - # neutron-metadata-agent: true - # neutron-metering: true + q-agt: false + q-dhcp: false + q-l3: false + q-meta: false + q-metering: false + q-dns: true + q-ovn-metadata-agent: true + ovn-controller: true + ovn-northd: true + ovs-vswitchd: true + ovsdb-server: true neutron-trunk: true # Swift services s-account: true @@ -290,8 +277,18 @@ # Neutron services # We need to keep using the neutron-legacy based services for # now until all issues with the new lib/neutron code are solved - q-agt: true - # neutron-agent: true + ovn-controller: true + ovn-northd: false + ovs-vswitchd: true + ovsdb-server: true + q-fake: true + q-svc: false + q-agt: false + q-dhcp: false + q-l3: false + q-meta: false + q-metering: false + q-ovn-metadata-agent: true # Cinder services c-bak: true c-vol: true @@ -373,6 +370,7 @@ Basic multinode grenade job parent: grenade nodeset: openstack-two-node-focal + pre-run: playbooks/multinode-pre.yaml - job: name: grenade-skip-level diff --git a/playbooks/multinode-pre.yaml b/playbooks/multinode-pre.yaml new file mode 100644 index 00000000..a653a6cd --- /dev/null +++ b/playbooks/multinode-pre.yaml @@ -0,0 +1,4 @@ +- hosts: all + roles: + - multi-node-bridge + - multi-node-setup