Fix python executable file for heat: greande GLOBAL_VENV
Grenade is going to install and run everything from virtual env - https://review.opendev.org/c/openstack/grenade/+/930507 Heat grenade job needs to install and run from venv. This fixes the heat bin directory locaiton otherwise it will fail with below error - https://zuul.opendev.org/t/openstack/build/9b20c32fe9594d8b963c17c9f02aa76e Needed-By: https://review.opendev.org/c/openstack/grenade/+/930507/12 Change-Id: I3a670795593da81078bb3709eedda0804871ad63 (cherry picked from commitb3bd897cc3
) (cherry picked from commit3e4da430b0
)
This commit is contained in:
parent
33a9f546dd
commit
30d8fb37ed
@ -84,7 +84,7 @@ fi
|
|||||||
upgrade_project heat $RUN_DIR $BASE_DEVSTACK_BRANCH $TARGET_DEVSTACK_BRANCH
|
upgrade_project heat $RUN_DIR $BASE_DEVSTACK_BRANCH $TARGET_DEVSTACK_BRANCH
|
||||||
|
|
||||||
# Simulate init_heat()
|
# Simulate init_heat()
|
||||||
HEAT_BIN_DIR=$(dirname $(which heat-manage))
|
HEAT_BIN_DIR=$(get_python_exec_prefix)
|
||||||
$HEAT_BIN_DIR/heat-manage --config-file $HEAT_CONF db_sync || die $LINENO "DB sync error"
|
$HEAT_BIN_DIR/heat-manage --config-file $HEAT_CONF db_sync || die $LINENO "DB sync error"
|
||||||
|
|
||||||
# Start Heat
|
# Start Heat
|
||||||
|
Loading…
Reference in New Issue
Block a user