Andrew Bogott has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/181077

Change subject: Remove qemu-kvm in favor of qemu-system.
......................................................................

Remove qemu-kvm in favor of qemu-system.

The former is the default on new servers but causes some
weird issues that prevent live migration.  qemu-kvm
seems to assume that spice is installed and running
even if it's not installed.

Change-Id: I104f239f1d8dce5c14a91a7a83b215e331270019
---
M modules/openstack/manifests/nova/compute.pp
1 file changed, 10 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/77/181077/1

diff --git a/modules/openstack/manifests/nova/compute.pp 
b/modules/openstack/manifests/nova/compute.pp
index ddeb1ab..0e27278 100644
--- a/modules/openstack/manifests/nova/compute.pp
+++ b/modules/openstack/manifests/nova/compute.pp
@@ -67,11 +67,20 @@
         require => Package["nova-common"];
     }
 
-    package { [ 'nova-compute', "nova-compute-kvm" ]:
+    package { [ 'nova-compute', 'nova-compute-kvm', 'qemu-system' ]:
         ensure  => present,
         require => Class["openstack::repo"];
     }
 
+    # qemu-kvm and qemu-system are alternative packages to meet the needs of 
libvirt.
+    #  Lately, Precise has been installing qemu-kvm by default.  That's 
different
+    #  from our old, existing servers, and it also defaults to use spice for 
vms
+    #  even though spice is not installed.  Messy.
+    package { [ 'qemu-kvm' ]:
+        ensure  => absent,
+        require => Package['qemu-system'];
+    }
+
     # nova-compute adds the user with /bin/false, but resize, live migration, 
etc.
     # need the nova use to have a real shell, as it uses ssh.
     user { 'nova':

-- 
To view, visit https://gerrit.wikimedia.org/r/181077
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I104f239f1d8dce5c14a91a7a83b215e331270019
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <abog...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to