From 3a36efe1176f9382345bbd075b732a3a91bae3fd Mon Sep 17 00:00:00 2001 From: Hirotaka Wakabayashi Date: Mon, 20 Jun 2022 17:25:51 +0900 Subject: [PATCH] Uses ML2/OVN as network backend driver This PR updates the Trove install instruction page using devstack to use OVN as network backend driver. Devstack has changed the default value of Q_AGENT to "ovn"[1] a few month ago, but The current Trove installation docs uses old network backend driver. [1]: https://opendev.org/openstack/devstack/commit/e38a39ad404637ca1649cea072883aa0a4592c4f Story: 2009925 Task: 44793 Change-Id: I10c7bf08324a2422fba8fcfa4aa238ac8d006030 --- doc/source/install/install-devstack.rst | 37 ++++++++++++++++++------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/doc/source/install/install-devstack.rst b/doc/source/install/install-devstack.rst index d5b53f9044..bc42f36ae4 100644 --- a/doc/source/install/install-devstack.rst +++ b/doc/source/install/install-devstack.rst @@ -94,19 +94,36 @@ configuration, change the ``HOST_IP`` to your own devstack host IP address: enable_service c-vol enable_service c-sch + Q_AGENT=ovn + Q_ML2_PLUGIN_MECHANISM_DRIVERS=ovn,logger + Q_ML2_PLUGIN_TYPE_DRIVERS=local,flat,vlan,geneve + Q_ML2_TENANT_NETWORK_TYPE="geneve" + enable_service ovn-northd + enable_service ovn-controller + enable_service q-ovn-metadata-agent + # Neutron enable_service q-svc - enable_service q-agt - enable_service q-dhcp - enable_service q-l3 - enable_service q-meta - # enable DVR - Q_AGENT=openvswitch - Q_DVR_MODE=legacy - Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch - Q_ML2_TENANT_NETWORK_TYPE=vxlan - Q_PLUGIN=ml2 + # Disable Neutron agents not used with OVN. + disable_service q-agt + disable_service q-l3 + disable_service q-dhcp + disable_service q-meta + + # Enable services, these services depend on neutron plugin. + enable_plugin neutron https://opendev.org/openstack/neutron + enable_service q-trunk + enable_service q-dns + enable_service q-port-forwarding + enable_service q-qos + enable_service neutron-segments + enable_service q-log + + # Enable neutron tempest plugin tests + enable_plugin neutron-tempest-plugin https://opendev.org/openstack/neutron-tempest-plugin + OVN_BUILD_MODULES=True + ENABLE_CHASSIS_AS_GW=True # Swift ENABLED_SERVICES+=,swift