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
|
start_ironic
|
||||||
|
|
||||||
# NOTE(vsaienko) installing ironic service triggers apache restart, that
|
# NOTE(vsaienko) do not restart n-cpu on multinode as we didn't upgrade nova.
|
||||||
# may cause nova-compute failure due to LP1537076
|
if [[ "${HOST_TOPOLOGY}" != "multinode" ]]; then
|
||||||
stop_nova_compute || true
|
# NOTE(vsaienko) installing ironic service triggers apache restart, that
|
||||||
wait_for_keystone
|
# may cause nova-compute failure due to LP1537076
|
||||||
start_nova_compute
|
stop_nova_compute || true
|
||||||
|
wait_for_keystone
|
||||||
|
start_nova_compute
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -n "$ensure_stopped" ]]; then
|
if [[ -n "$ensure_stopped" ]]; then
|
||||||
ensure_services_stopped $ensure_stopped
|
ensure_services_stopped $ensure_stopped
|
||||||
|
Loading…
Reference in New Issue
Block a user