Browse code

Fixing the problem in loading plugins

This patch fixes the problem in loading the plugins in devstack
by defining the "plugins" variable in "run_plugins" function of
devstack/functions-common file.

Change-Id: I9fb0e24bf1fd282931a8489e0a8ec0c9ea078520
Closes-Bug: 1408571

Bharat Kumar Kobagana authored on 2015/01/08 15:56:26
Showing 1 changed files
... ...
@@ -1803,6 +1803,9 @@ function load_plugin_settings {
1803 1803
 function run_plugins {
1804 1804
     local mode=$1
1805 1805
     local phase=$2
1806
+
1807
+    local plugins="${DEVSTACK_PLUGINS}"
1808
+    local plugin
1806 1809
     for plugin in ${plugins//,/ }; do
1807 1810
         local dir=${GITDIR[$plugin]}
1808 1811
         if [[ -f $dir/devstack/plugin.sh ]]; then