fix neutron grenade due to kilo rename of lib/neutron
Now that we are upgrading from kilo -> liberty, we need to reference the correct filename in the shutdown portion. Also fix import order so that we pick up TARGET devstack dir early. There is I think *a lot* of this file that can actually be deleted, but that's for another day. Depends-On: I02a7af995dc7de857c4efcf2cef2f95d357c007a Change-Id: Ib14321fc59969e720db289c44ca297dd88a94146
This commit is contained in:
@@ -11,7 +11,7 @@ source $GRENADE_DIR/functions
|
||||
source $BASE_DEVSTACK_DIR/functions
|
||||
source $BASE_DEVSTACK_DIR/stackrc # needed for status directory
|
||||
source $BASE_DEVSTACK_DIR/lib/tls
|
||||
source $BASE_DEVSTACK_DIR/lib/neutron
|
||||
source $BASE_DEVSTACK_DIR/lib/neutron-legacy
|
||||
|
||||
set -o xtrace
|
||||
|
||||
|
||||
@@ -23,6 +23,9 @@ trap cleanup SIGHUP SIGINT SIGTERM
|
||||
# Keep track of the grenade directory
|
||||
RUN_DIR=$(cd $(dirname "$0") && pwd)
|
||||
|
||||
# Source params
|
||||
source $GRENADE_DIR/grenaderc
|
||||
|
||||
# Import common functions
|
||||
source $GRENADE_DIR/functions
|
||||
|
||||
@@ -31,8 +34,6 @@ source $GRENADE_DIR/functions
|
||||
# and ``DISTRO``
|
||||
GetDistro
|
||||
|
||||
# Source params
|
||||
source $GRENADE_DIR/grenaderc
|
||||
|
||||
# This script exits on an error so that errors don't compound and you see
|
||||
# only the first error that occured.
|
||||
@@ -78,12 +79,6 @@ SYSLOG=`trueorfalse False $SYSLOG`
|
||||
SYSLOG_HOST=${SYSLOG_HOST:-$HOST_IP}
|
||||
SYSLOG_PORT=${SYSLOG_PORT:-516}
|
||||
|
||||
TOP_DIR=$BASE_DEVSTACK_DIR
|
||||
source $BASE_DEVSTACK_DIR/lib/neutron
|
||||
|
||||
# Save current config files for posterity
|
||||
[[ -d $SAVE_DIR/etc.neutron ]] || cp -pr $NEUTRON_CONF_DIR $SAVE_DIR/etc.neutron
|
||||
|
||||
# Set for DevStack compatibility
|
||||
TOP_DIR=$TARGET_DEVSTACK_DIR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user