Stop and disable openstack-nova-compute service on compute nodes
authorMarius Cornea <mcornea@redhat.com>
Wed, 2 Aug 2017 21:44:17 +0000 (23:44 +0200)
committerMarius Cornea <mcornea@redhat.com>
Thu, 3 Aug 2017 07:06:04 +0000 (09:06 +0200)
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

extraconfig/tasks/tripleo_upgrade_node.sh

index af49d49..baf838e 100644 (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