Do not restart n-cpu during upgrade
As we do not upgrade nova on multinode grenade, there is no need to restart it. This way we avoid breaking n-cpu service, as new dependencies are installed and they may not work with old code. Change-Id: Id0c13704654d43a663458b9c099a1a0477c746a6
This commit is contained in:
parent
6f69fe7631
commit
6128bce5d7
@ -100,11 +100,14 @@ fi
|
||||
|
||||
start_ironic
|
||||
|
||||
# NOTE(vsaienko) do not restart n-cpu on multinode as we didn't upgrade nova.
|
||||
if [[ "${HOST_TOPOLOGY}" != "multinode" ]]; then
|
||||
# NOTE(vsaienko) installing ironic service triggers apache restart, that
|
||||
# may cause nova-compute failure due to LP1537076
|
||||
stop_nova_compute || true
|
||||
wait_for_keystone
|
||||
start_nova_compute
|
||||
fi
|
||||
|
||||
if [[ -n "$ensure_stopped" ]]; then
|
||||
ensure_services_stopped $ensure_stopped
|
||||
|
Loading…
Reference in New Issue
Block a user