From e0f8b23116d4b1bb52e0a6a7a994711ac9a44c13 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Tue, 24 Jan 2017 15:45:29 +0100 Subject: [PATCH] Make grenade actually upgrade our source code stack_install_service is a no-op for us due to naming mismatch. Change-Id: I46424bcf4f197a2a283529ceec231fdabd2c6693 --- devstack/upgrade/upgrade.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/devstack/upgrade/upgrade.sh b/devstack/upgrade/upgrade.sh index 1309f7eb6..dbdae179a 100755 --- a/devstack/upgrade/upgrade.sh +++ b/devstack/upgrade/upgrade.sh @@ -71,10 +71,12 @@ if [[ -d $IRONIC_INSPECTOR_CONF_DIR ]] && [[ ! -d $SAVE_DIR/etc.inspector ]] ; cp -pr $IRONIC_INSPECTOR_CONF_DIR $SAVE_DIR/etc.inspector fi -stack_install_service ironic-inspector +# This call looks for install_, which is install_inspector in our case: +# https://github.com/openstack-dev/devstack/blob/dec121114c3ea6f9e515a452700e5015d1e34704/lib/stack#L32 +stack_install_service inspector if [[ "$IRONIC_INSPECTOR_MANAGE_FIREWALL" == "True" ]]; then - stack_install_service ironic-inspector-dhcp + stack_install_service inspector_dhcp fi $IRONIC_INSPECTOR_DBSYNC_BIN_FILE --config-file $IRONIC_INSPECTOR_CONF_FILE upgrade