Merge "grenade: Fix detection of ceilometer-upgrade"

This commit is contained in:
Zuul 2024-11-17 15:56:36 +00:00 committed by Gerrit Code Review
commit 3ad5960780

View File

@ -60,7 +60,7 @@ upgrade_project ceilometer $RUN_DIR $BASE_DEVSTACK_BRANCH $TARGET_DEVSTACK_BRANC
# Migrate the database
# NOTE(chdent): As we evolve BIN_DIR is likely to be defined, but
# currently it is not.
CEILOMETER_BIN_DIR=$(dirname $(which ceilometer-upgrade))
CEILOMETER_BIN_DIR=$(get_python_exec_prefix)
$CEILOMETER_BIN_DIR/ceilometer-upgrade --skip-gnocchi-resource-types || die $LINENO "ceilometer-upgrade error"
# Start Ceilometer