Andrew Bogott has uploaded a new change for review.

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

Change subject: Exclude yet more kernels that break nova-compute.
......................................................................

Exclude yet more kernels that break nova-compute.

Bug T99738

Change-Id: Ib4ac90101a31f6bf358b9a0774b8f71b5a041288
---
M modules/openstack/manifests/nova/compute.pp
1 file changed, 7 insertions(+), 11 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/24/232524/1

diff --git a/modules/openstack/manifests/nova/compute.pp 
b/modules/openstack/manifests/nova/compute.pp
index 6b0789d..56dcd03 100644
--- a/modules/openstack/manifests/nova/compute.pp
+++ b/modules/openstack/manifests/nova/compute.pp
@@ -92,23 +92,19 @@
         require => Package['nova-common'],
     }
 
-    # Fail hard and loud if the kernel is not recent enough to have a
-    # fix for the KSM bug in Trusty and refuse to install nova-compute
-    # entirely.
-    #
-    # see: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1346917
-
+    # Check for buggy kernels.  There are a lot of them!
     if os_version('ubuntu >= trusty') and (versioncmp($::kernelrelease, 
'3.13.0-46') < 0) {
-
-        fail('nova-compute not installed on buggy kernels')
-
+        # see: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1346917
+        fail('nova-compute not installed on buggy kernels.  Old versions of 
3.13 have a KSM bug.')
+    } elseif ($::kernelrelease =~ '3.13.*') {
+        fail('nova-compute not installed on buggy kernels.  On 3.13 series 
kernels, instance suspension causes complete system lockup.')
+    } elseif ($::kernelrelease =~ '3.19.*') {
+        fail('nova-compute not installed on buggy kernels.  On 3.19 series 
kernels, instances lose network access when resuming from suspension.')
     } else {
-
         package { [ 'nova-compute', 'nova-compute-kvm' ]:
             ensure  => present,
             require => [Class['openstack::repo'], Package['qemu-system']],
         }
-
     }
 
     # Without qemu-system, apt will install qemu-kvm by default,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib4ac90101a31f6bf358b9a0774b8f71b5a041288
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to