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
This commit is contained in:
Bharat Kumar Kobagana 2015-01-08 12:26:26 +05:30
parent 29e34f7c9f
commit 441ff07b97

View File

@ -1803,6 +1803,9 @@ function load_plugin_settings {
function run_plugins {
local mode=$1
local phase=$2
local plugins="${DEVSTACK_PLUGINS}"
local plugin
for plugin in ${plugins//,/ }; do
local dir=${GITDIR[$plugin]}
if [[ -f $dir/devstack/plugin.sh ]]; then