Adds stop and disable for libvirtd on upgrade to containers
authormarios <marios@redhat.com>
Tue, 1 Aug 2017 14:24:18 +0000 (17:24 +0300)
committermarios <marios@redhat.com>
Tue, 1 Aug 2017 14:24:18 +0000 (17:24 +0300)
Adds this into the tripleo_upgrade_node.sh executed by the
operator for the major upgrade see the bug for more info

Change-Id: Ic54b48b149594e8ea08e95152111bcdaf7b252b7
Closes-Bug: 1707926

extraconfig/tasks/tripleo_upgrade_node.sh

index 1114897..af49d49 100644 (file)
@@ -51,6 +51,10 @@ if [[ -n \$NOVA_COMPUTE ]]; then
     log_debug "Restarting openstack ceilometer agent compute"
     systemctl restart openstack-ceilometer-compute
     yum install -y openstack-nova-migration
+    # https://bugs.launchpad.net/tripleo/+bug/1707926 stop&disable libvirtd
+    log_debug "Stop and disable libvirtd service for upgrade to containers"
+    systemctl stop libvirtd
+    systemctl disable libvirtd
 fi
 
 # Apply puppet manifest to converge just right after the ${ROLE} upgrade