From 7a2f99baccc38c3a81cee6ab519aa38834ea8046 Mon Sep 17 00:00:00 2001 From: Vasyl Saienko Date: Tue, 25 Apr 2017 10:51:09 +0300 Subject: [PATCH] Run db_sync after upgrade It may confuse that we running dbsync before upgrade project. Fix dbsync position. Change-Id: Icaee1fd1f0d4ccbdef2f391b581894c92d80b58e --- devstack/upgrade/upgrade.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/devstack/upgrade/upgrade.sh b/devstack/upgrade/upgrade.sh index 8bc8076898..a40f645982 100755 --- a/devstack/upgrade/upgrade.sh +++ b/devstack/upgrade/upgrade.sh @@ -68,11 +68,12 @@ fi stack_install_service ironic -$IRONIC_BIN_DIR/ironic-dbsync --config-file=$IRONIC_CONF_FILE - # calls upgrade-ironic for specific release upgrade_project ironic $RUN_DIR $BASE_DEVSTACK_BRANCH $TARGET_DEVSTACK_BRANCH + +$IRONIC_BIN_DIR/ironic-dbsync --config-file=$IRONIC_CONF_FILE + start_ironic # NOTE(vsaienko) installing ironic service triggers apache restart, that