
1) Add 2GB swap by default Add some swap when running CI jobs, so we can reduce the number of failures in CI related to missing memory. By default 2GB, can be disabled or increased/decreased with parameters. 2) Promote RDO repository to have Oslo DB from master python-oslo-db 4.13.x releases are known to break Gnocchi. https://review.openstack.org/367221 will fix it, but it is not yet in any release, so RDO unpinned oslo.db until that happens. 3) Disable Ironic testing on Ubuntu. Packages are broken in recent Newton upgrade. They are working on it. 4) Enable br_netfilter kernel module on Ubuntu. See https://bugs.launchpad.net/cloud-archive/+bug/1621651 Even if it's not critical, it's a nice-to-have because it removed the ERROR that we had in neutron logs. We'll see how the bug report evolve and maybe remove this workaround. 5) Export lsmod in logs, easier for us to debug later. 6) Disable linuxbridge on scenario003 for Ubuntu Also see https://bugs.launchpad.net/cloud-archive/+bug/1621651 7) Pin Puppetlabs release package. Context: https://tickets.puppetlabs.com/browse/CPR-378 Change-Id: I732ef375a681f03af751ebb6ebd5b12df55a0ecc
70 lines
2.1 KiB
Puppet
70 lines
2.1 KiB
Puppet
class openstack_integration::repos {
|
|
|
|
case $::osfamily {
|
|
'Debian': {
|
|
include ::apt
|
|
# Mitaka is already packaged in 16.04, so we don't need UCA.
|
|
if ($::operatingsystem == 'Ubuntu') and ! (versioncmp($::operatingsystemmajrelease, '16') >= 0) {
|
|
class { '::openstack_extras::repo::debian::ubuntu':
|
|
release => 'mitaka',
|
|
package_require => true,
|
|
}
|
|
} else {
|
|
class { '::openstack_extras::repo::debian::ubuntu':
|
|
release => 'newton',
|
|
repo => 'updates',
|
|
package_require => true,
|
|
uca_location => $::uca_mirror_host,
|
|
}
|
|
}
|
|
# Ceph is both packaged on UCA & ceph.com
|
|
# Official packages are on ceph.com so we want to make sure
|
|
# Ceph will be installed from there.
|
|
apt::pin { 'ceph':
|
|
priority => 1001,
|
|
origin => 'download.ceph.com',
|
|
}
|
|
}
|
|
'RedHat': {
|
|
class { '::openstack_extras::repo::redhat::redhat':
|
|
manage_rdo => false,
|
|
manage_epel => false,
|
|
repo_hash => {
|
|
'newton-current' => {
|
|
'baseurl' => 'https://trunk.rdoproject.org/centos7-master/13/22/13223e459babddd74792699b20b52843a0ff9576_466d3f91/',
|
|
'descr' => 'Newton current',
|
|
'gpgcheck' => 'no',
|
|
'priority' => 1,
|
|
},
|
|
'newton-delorean-deps' => {
|
|
'baseurl' => 'http://buildlogs.centos.org/centos/7/cloud/x86_64/openstack-newton',
|
|
'descr' => 'Newton delorean-deps',
|
|
'gpgcheck' => 'no',
|
|
'priority' => 1,
|
|
},
|
|
}
|
|
}
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily (${::osfamily})")
|
|
}
|
|
}
|
|
|
|
# On CentOS, deploy Ceph using SIG repository and get rid of EPEL.
|
|
# https://wiki.centos.org/SpecialInterestGroup/Storage/
|
|
if $::operatingsystem == 'CentOS' {
|
|
$enable_sig = true
|
|
$enable_epel = false
|
|
} else {
|
|
$enable_sig = false
|
|
$enable_epel = true
|
|
}
|
|
|
|
class { '::ceph::repo':
|
|
enable_sig => $enable_sig,
|
|
enable_epel => $enable_epel,
|
|
ceph_mirror => $::ceph_mirror_host,
|
|
}
|
|
|
|
}
|