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
This commit is contained in:
parent
e3def058ca
commit
b3bd897cc3
@ -84,7 +84,7 @@ fi
|
||||
upgrade_project heat $RUN_DIR $BASE_DEVSTACK_BRANCH $TARGET_DEVSTACK_BRANCH
|
||||
|
||||
# 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"
|
||||
|
||||
# Start Heat
|
||||
|
Loading…
Reference in New Issue
Block a user