Stop and disable openstack-nova-compute service on compute nodes

This change stops and disables the openstack-nova-compute service
on the compute nodes during the upgrade to the containers architecture.

Closes-bug: 1708371

Change-Id: I9ca909d4e91d0a0e4de15572f727f959d9185c64
This commit is contained in:
Marius Cornea 2017-08-02 23:44:17 +02:00
parent 303a5be491
commit 0be476483b
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ if [[ -n \$NOVA_COMPUTE ]]; then
log_debug "Stop and disable libvirtd service for upgrade to containers"
systemctl stop libvirtd
systemctl disable libvirtd
log_debug "Stop and disable openstack-nova-compute for upgrade to containers"
systemctl stop openstack-nova-compute
systemctl disable openstack-nova-compute
fi
# Apply puppet manifest to converge just right after the ${ROLE} upgrade