From 7718cc0a6f6f20bd9b40ef2565cb7a5be37eb8d8 Mon Sep 17 00:00:00 2001 From: elajkat Date: Tue, 14 Apr 2020 15:38:21 +0200 Subject: [PATCH] Start ovs if ovn-northd is enabled There are usecases where ovn-northd is running standalone with ovs, the suggested local.conf is among the sample files (see: [0]). The service however doesn't start as it needs OVS to run. This patch makes OVS installed and started by ovn devstack plugin if ovn-northd is enabled in local.conf. [0]: https://opendev.org/openstack/neutron/src/branch/master/devstack/ovn-db-local.conf.sample Change-Id: Ib12a076e50f010464735c6779d0e67bb218b66be Closes-Bug: #1871730 --- devstack/lib/ovn_agent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/lib/ovn_agent b/devstack/lib/ovn_agent index 42bd05257bf..49dd6163219 100644 --- a/devstack/lib/ovn_agent +++ b/devstack/lib/ovn_agent @@ -600,7 +600,7 @@ function init_ovn { function _start_ovs { echo "Starting OVS" - if is_service_enabled ovn-controller || is_service_enabled ovn-controller-vtep ; then + if is_service_enabled ovn-controller ovn-controller-vtep ovn-northd; then # ovsdb-server and ovs-vswitchd are used privately in OVN as openvswitch service names. enable_service ovsdb-server enable_service ovs-vswitchd