Restart neutron on grenade client update
During a grenade upgrade the Designate grenade plugin updates the python-designateclient. This can cause the installation location to change to under the /opt/stack/new path. This patch makes sure we restart neutron q-svc after this update to make sure it can still find the client. Change-Id: I5ce96268cb39ae4a4a8d82a75ac192b2310455a1
This commit is contained in:
@@ -70,6 +70,12 @@ setup_develop $DESIGNATE_DIR
|
|||||||
|
|
||||||
install_designateclient
|
install_designateclient
|
||||||
|
|
||||||
|
# The designateclient may have changed location
|
||||||
|
# (/opt/stack/new/python-designateclient) so we need to restart neutron
|
||||||
|
if is_service_enabled q-svc; then
|
||||||
|
restart_service devstack@q-svc.service
|
||||||
|
fi
|
||||||
|
|
||||||
# calls upgrade-designate for specific release
|
# calls upgrade-designate for specific release
|
||||||
upgrade_project designate $RUN_DIR $BASE_DEVSTACK_BRANCH $TARGET_DEVSTACK_BRANCH
|
upgrade_project designate $RUN_DIR $BASE_DEVSTACK_BRANCH $TARGET_DEVSTACK_BRANCH
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user