trove-integration looks uses the $USE_DEVSTACK_TROVE_PLUGIN var to tell it if enable_plugin should be used, and USE_DEVSTACK_TROVE_PLUGIN is set based on the path structure in devstack, that happens in the redstack file.
TROVE_SETUP_CMD_FILE="$PATH_DEVSTACK_SRC/lib/trove"
if [ -f "$TROVE_SETUP_CMD_FILE" ]; then USE_DEVSTACK_TROVE_PLUGIN=false
else TROVE_SETUP_CMD_FILE="$DEST/trove/devstack/plugin.sh" USE_DEVSTACK_TROVE_PLUGIN=true
fi
PATH_DEVSTACK_SRC is set in the job config in project-config repo for trove:
function post_test_hook {{ export BRIDGE_IP=10.1.0.1 export DEST=$BASE/new export PATH_DEVSTACK_SRC=$DEST/devstack
cd /opt/stack/new/trove-integration/scripts ./redstack dsvm-gate-tests {datastore}
}}
export -f post_test_hook
The /opt/stack/new/devstack/lib/trove path does exist but there is a problem:
trove-integration looks uses the $USE_DEVSTACK_ TROVE_PLUGIN var to tell it if enable_plugin should be used, and USE_DEVSTACK_ TROVE_PLUGIN is set based on the path structure in devstack, that happens in the redstack file.
TROVE_ SETUP_CMD_ FILE="$ PATH_DEVSTACK_ SRC/lib/ trove" SETUP_CMD_ FILE" ]; then
USE_DEVSTACK_ TROVE_PLUGIN= false
TROVE_ SETUP_CMD_ FILE="$ DEST/trove/ devstack/ plugin. sh"
USE_DEVSTACK_ TROVE_PLUGIN= true
if [ -f "$TROVE_
else
fi
PATH_DEVSTACK_SRC is set in the job config in project-config repo for trove:
function post_test_hook {{
export BRIDGE_IP=10.1.0.1
export DEST=$BASE/new
export PATH_DEVSTACK_ SRC=$DEST/ devstack new/trove- integration/ scripts
./redstack dsvm-gate-tests {datastore}
cd /opt/stack/
}}
export -f post_test_hook
The /opt/stack/ new/devstack/ lib/trove path does exist but there is a problem:
http:// logs.openstack. org/29/ 173129/ 2/check/ gate-trove- functional- dsvm-mysql/ 2c72a27/ logs/devstacklo g.txt.gz# _2015-06- 05_09_03_ 26_474
2015-06-05 09:03:26.474 | /opt/stack/ new/devstack/ lib/trove: line 204: [: missing `]'
The path still exists though so I'm not sure why trove-integration isn't finding that and setting USE_DEVSTACK_ TROVE_PLUGIN properly.