From 5b5bc483aeadecd12e7f7ef81eae523910ff5716 Mon Sep 17 00:00:00 2001 From: Gregory Thiemonge Date: Fri, 18 Jun 2021 16:57:56 +0200 Subject: [PATCH] Fix devstack path in plugin.sh devstack is not necessarily cloned to "$DEST/devstack" ("/opt/stack/devstack"), it can be run from any other directory. $TOP_DIR [1] should be used when referring to the devstack working dir. [1] https://opendev.org/openstack/devstack/src/commit/\ 6af3cb9eb273c127c20bc07f65c9a5d7f8ba95cd/stack.sh#L73 Change-Id: Ibf4890985b6d07077d04f989eab833ae5b057200 --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index ed4e1f51518..21f87e30312 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -20,7 +20,7 @@ source $LIBDIR/octavia source $LIBDIR/loki # source the OVS/OVN compilation helper methods -source $DEST/devstack/lib/neutron_plugins/ovs_source +source $TOP_DIR/lib/neutron_plugins/ovs_source Q_BUILD_OVS_FROM_GIT=$(trueorfalse False Q_BUILD_OVS_FROM_GIT)