Install HWE kernels for zuul-exectors

We have been trialing HWE kernels on ze02 for some time with success.
Add in our custom ppa for updated AFS packages (currently 1.6.22.2
which supports up to 4.14 kernels) and the HWE kernel package
(currently 4.13).

Change-Id: I20ec3a73f7c7915b2b64bf008dd0afb2492fc5db
This commit is contained in:
Ian Wienand 2018-02-14 15:43:43 +11:00
parent d903b03ebf
commit 50fa979b08
1 changed files with 12 additions and 0 deletions

View File

@ -1173,6 +1173,18 @@ node /^ze\d+\.openstack\.org$/ {
url => 'https://git.openstack.org/openstack-infra/project-config',
}
# We use later HWE kernels for better memory managment, requiring an
# updated AFS version which we install from our custom ppa.
include ::apt
apt::ppa { 'ppa:openstack-ci-core/openafs-amd64-hwe': }
package { 'linux-generic-hwe-16.04':
ensure => present,
require => [
Apt::Ppa['ppa:openstack-ci-core/openafs-amd64-hwe'],
Class['apt::update'],
],
}
# NOTE(pabelanger): We call ::zuul directly, so we can override all in one
# settings.
class { '::zuul':