8033 Commits

Author SHA1 Message Date
Mark Goddard
4058c8e298 Pin sensu mailer and slack plugins
The 4.0.0 release of the mailer plugin requires Ruby 2.3+, which is not
avaiable in CentOS/RHEL7. Pin it to the 3.0.0 release, which is
supported. While we're here, also pin the slack plugin.

Both use the pessimistic version operator, as used in the sensu-client
image.

Change-Id: Idac8cb696c81c7413a3da79b4868f556ef36fc8d
Closes-Bug: #1820594
2019-03-18 15:29:11 +00:00
Zuul
debe417982 Merge "Move to Debian 'buster'" 2019-03-15 19:16:54 +00:00
Zuul
c25f67e9d9 Merge "helm-repository: drop unused os_client_config variable" 2019-03-15 18:06:44 +00:00
Zuul
b1017c3592 Merge "base: more strict pin of Ceph/Luminous for Ubuntu" 2019-03-15 16:15:39 +00:00
Zuul
6afb55a34d Merge "Drop tcp_wrappers package requirement" 2019-03-15 16:12:26 +00:00
Zuul
760fffacad Merge "Separate placement DB sync and data migrations" 2019-03-15 15:31:38 +00:00
Mark Goddard
cdcd5610e9 Fix lower-constraints and kolla CI jobs
Multiple fixes to fix multiple problems.

1. Bump setuptools requirement to 21.0.0

The 16.0.0 requirement breaks the lower-constraints job on Ubuntu
bionic. We see the following error:

AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

2. ubuntu-binary horizon image needs to use python3 for django
manage.py

3. ubuntu-binary nova-placement-api image needs to use python3 for
apache mod wsgi.

4. nova-libvirt needs exact qemu dependencies due to packaging change

5. OracleLinux repos definition was changed in official image.

6. Fetch InfluxDB gpg key for Ubuntu base image from influx server.

Change-Id: Ic797d41f53a5f146d112619f1683cbfbf3a85dc2
2019-03-15 12:01:25 +01:00
Marcin Juszkiewicz
4d31ca695b Move to Debian 'buster'
Buster is at freeze phase so safe to update and use. Will give us
Python 3 based OpenStack packages (usually release delayed).

Change-Id: I48c2d252a834716f1bcf10b18f2d32fe541e8137
2019-03-14 10:20:27 +00:00
Zuul
c8bbd0b102 Merge "Fix the permission issue of placement-api log" 2019-03-13 21:33:51 +00:00
Marcin Juszkiewicz
3f2b3187f5 base: more strict pin of Ceph/Luminous for Ubuntu
Change-Id: I5edc46c3b93f93bdb7fa97b08072a773b8296e02
2019-03-13 17:04:16 +01:00
Zuul
7d8eafaee8 Merge "Remove distro_python3 release note" 2019-03-13 10:38:07 +00:00
Zuul
765bfc6fba Merge "Copy placement database migration script" 2019-03-13 10:29:16 +00:00
Mark Goddard
c8f8b30124 Separate placement DB sync and data migrations
For an online upgrade, these commands should be executed separately.

Change-Id: I8d40a4d66c18022e73b48ecdfd299d9ed459777f
2019-03-13 09:37:03 +00:00
chenxing
ba730c029e Fix the permission issue of placement-api log
This patch is committed according to patch[0] of the kolla-ansible.

[0]https://review.openstack.org/#/c/613629/28

Change-Id: Id138802b320ae0a0f01db51a0b5a784c83a72485
2019-03-13 09:25:19 +00:00
Zuul
c46bac8c95 Merge "Run jobs on bionic instead of xenial" 2019-03-13 07:48:56 +00:00
Bernard Cafarelli
33d45a0342 Drop tcp_wrappers package requirement
Originally added in [1] when improving the base image, nothing appears
to require this package currently.

Also, this legacy package is not maintained and has been dropped from
Fedora (and upcoming RHEL 8) [2]

[1] https://review.openstack.org/#/c/295048/
[2] https://fedoraproject.org//wiki/Changes/Deprecate_TCP_wrappers

Change-Id: I2983932898f877da2e31a5a968f6c91e5a9d760b
2019-03-13 01:55:43 +00:00
Alex Schultz
78c819d623 Add distro_package_manager configuration
Add configuration to allow the switch between dnf/yum or provide an
alternative package manager.

Change-Id: I913769fcf5875a12b4561958cf7c90b74cd116ea
2019-03-12 18:24:29 +00:00
Alex Schultz
3e5d8e2653 Add python3 packages for RHEL systems
RDO is currently working on python3 support for the next version of
CentOS/RHEL based systems.  This package uses the distro_python3 flag
that was added as part of I4028991bad92c0e8e21066cc4173c06ce5eba393 to
use the python3 specific package names.  This change only adds python3
package names for RHEL systems.

Conflicts-With: https://review.openstack.org/#/c/636457/
Change-Id: Iad6b70b433a0dd1b0f8ae6790fd280594517661a
Related-Blueprint: python3-support
2019-03-12 17:48:18 +00:00
Mark Goddard
71148046f0 Remove distro_python3 release note
This variable was never in released code, and was removed in
https://review.openstack.org/#/c/642014.

Change-Id: Iec8c1dc717bc8c3cfae4538b1846db4610b83ff6
2019-03-12 17:47:21 +00:00
Marcin Juszkiewicz
8df6eb0118 replace 'distro_python3' variable with 'distro_python_version'
RHEL7 derived distros use Python 2.7
RHEL8 uses Python 3.6
Ubuntu 18.04 uses Python 3.6, but we haven't enabled it yet.
Debian:buster uses Python 3.7, but we haven't enabled it yet.

We have several places in code where "/lib/pythonX.Y/site-packages"
is used so we need to know value of X.Y rather than py2/py3 switch.

How to check for Python 2:

{% if distro_python_version == '2.7' %}

Breaks: Iad6b70b433a0dd1b0f8ae6790fd280594517661a
Change-Id: Ie24f109af19ae0438c21e0d43cb3cc947812b4ce
2019-03-12 17:13:46 +00:00
confi-surya
5eec015caf Run jobs on bionic instead of xenial
We want to migrate to the latest Ubuntu LTS release 18.04 aka Bionic.
This is just a patch to find possible issues before the real migration
starts. See [0] for the big picture.

Also test running tox jobs on Bionic.

[0] https://etherpad.openstack.org/p/devstack-bionic

Depends-On: https://review.openstack.org/610977
Change-Id: I748f26faf6f98e9693b5cd803577df1118121b41
2019-03-12 12:44:44 +00:00
Zuul
8ae32bb172 Merge "Move project templates from ubuntu.yaml to project.yaml" 2019-03-12 11:05:25 +00:00
Zuul
c2804ca14f Merge "Introduce 'get_pip' macro" 2019-03-12 08:46:15 +00:00
Marcin Juszkiewicz
ef83ff13fe Introduce 'get_pip' macro
We have code for it in four places so it is a good candidate for macro.

Change-Id: Icadcbbe5b386bdf688fd67e8160b40974f047377
2019-03-11 16:52:09 +01:00
Jon Schlueter
1545fa6944 Drop python2-pika_pool rpm
As a follow up to I7204aab66a252e0fdc3c0eebf5232903340a7e5d
also drop the rpm for pika_pool

Change-Id: I3db311cfa5310d26b672b17928cdbd72ea655f8b
2019-03-11 10:57:49 -04:00
Marcin Juszkiewicz
13d930701c helm-repository: drop unused os_client_config variable
Change-Id: I3694ba72733cb5cb391af62b609272cb4461431f
2019-03-11 15:08:53 +01:00
Zuul
fc8b5fa89d Merge "openstack-base: drop pika-pool" 2019-03-11 07:27:50 +00:00
Marcin Juszkiewicz
e13abc3476 openstack-base: drop pika-pool
Last release of pika-pool was in 2015 and targetted pika 0.10 release:

INFO:kolla.common.utils.openstack-base:pika-pool 0.1.3 has requirement pika<0.11,>=0.9, but you'll have pika 0.13.0 which is incompatible.

None of our images requires pika-pool (tested by dropping it and then
building all images).

Change-Id: I7204aab66a252e0fdc3c0eebf5232903340a7e5d
2019-03-08 09:57:18 +01:00
Eduardo Gonzalez
8c99d5300e Copy placement database migration script
mysql-migrate-db.sh script is not bundled in packages
nor installed with pip. So will need to copy over some
path in the host to run the db migration.

Change-Id: I116277c5e11b484748784134be50c18675b28103
2019-03-08 08:06:07 +00:00
Mark Goddard
f96433b030 Move project templates from ubuntu.yaml to project.yaml
These templates are not specific to Ubuntu, so should not be in that
file.

Change-Id: I4df08599a9075852d3fbf1187ca0b89d59893520
2019-03-07 09:32:17 +00:00
Zuul
30e1e8d8a3 Merge "Fix Octavia-API extend_start.sh" 2019-03-07 09:00:35 +00:00
Zuul
588da16457 Merge "debian/ubuntu: make use of Python3 based packages" 2019-03-06 16:28:00 +00:00
Anant V Patil
041fb7b877 Fix Octavia-API extend_start.sh
The '~' in the end of script is failing octavia-api.

Change-Id: I53610f1c9e3d10bb6b532dd7d43139854c0861b7
2019-03-06 19:07:23 +05:30
Zuul
ac5103ee1a Merge "nova: Remove bridge_utils from base package" 2019-03-06 11:17:37 +00:00
Zuul
673df91266 Merge "drop some of the xll related packages" 2019-03-06 09:16:41 +00:00
Zuul
f2d88a4196 Merge "Added elasticsearch exporter image for prometheus" 2019-03-06 06:06:02 +00:00
Zuul
06107e22a7 Merge "Drop py35 jobs" 2019-03-06 05:03:27 +00:00
Zuul
6fe20c9651 Merge "add python 3.7 unit test job in Kolla deliverable" 2019-03-05 07:33:16 +00:00
Zuul
22282a8568 Merge "Bump up Prometheus and components versions" 2019-03-04 13:59:11 +00:00
Jon Schlueter
5e1ac34c68 drop some of the xll related packages
these are containers, we should not have X11 display libraries
installed in base containers.  If they are being pulled in via
packages those chains of dependencies should be looked at closely
and pruned as they have no real use on container images.

Change-Id: I19000564445254ba4d168f24deef6a901391d2e2
2019-02-28 19:13:01 -05:00
Marcin Juszkiewicz
43b74ccc15 debian/ubuntu: make use of Python3 based packages
Both Ubuntu Stein UCA and Debian 'buster' migrated their OpenStack
packages to Python 3.

Note that Debian 'buster' is not released yet and contains Rocky
packages. Stein ones will be available later.

Co-Authored-By: Lee Yarwood <lyarwood@redhat.com>
Co-Authored-By: Eduardo Gonzalez <dabarren@gmail.com>

Change-Id: I160f79cc57f54ec3eac857c5babd1a6e2656d228
2019-02-28 13:06:24 +01:00
Lee Yarwood
4991607b29 nova: Remove bridge_utils from base package
The dependency on bridge_utils has now been removed from os-vif and so
the package is no longer required in the base container.

Depends-On: https://review.openstack.org/#/c/636822/
Change-Id: I0924f6bc11558366d6d49472cdd338e43b744030
2019-02-27 09:31:27 +00:00
confi-surya
f3568a1ba3 Drop py35 jobs
Python 3.5 was the target runtime for the Rocky release. The current
target py3 runtime for Stein is Python 3.6, so there is no reason to
keep testing against the older version.

https://governance.openstack.org/tc/reference/runtimes/stein.html#python-runtime-for-stein

Change-Id: Ib7804441fb3608b955c642014620fcab39d911ef
2019-02-27 08:57:46 +00:00
confi-surya
1558875ee2 add python 3.7 unit test job in Kolla deliverable
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html
Story: #2004073
Task: #27423

Change-Id: Iecc87e88b06b27aa845030406ec4da18e6c23bee
2019-02-26 11:46:25 +00:00
Zuul
8fcd7ea912 Merge "Switch to stestr" 2019-02-25 13:11:23 +00:00
Zuul
a76eca18a8 Merge "base: update to dumb-init 1.2.2" 2019-02-25 12:28:03 +00:00
Zuul
9d9e402fc8 Merge "gnocchi rpm naming cleanup" 2019-02-25 10:57:51 +00:00
Zuul
1a549abf4d Merge "Change some repos from xenial to bionic" 2019-02-25 10:30:47 +00:00
Zuul
17d23d9b8a Merge "Simplify package list from openstack-base image" 2019-02-25 10:30:46 +00:00
Marcin Juszkiewicz
f8fd560561 base: update to dumb-init 1.2.2
This version allows us to use Debian binaries for non-x86 architectures
instead of building 'dumb-init'.

'base_compiler_packages' are installed as they will be needed anyway to
build other Python packages (no binary wheels for !x86). We also need
'binutils' to be installed for 'ar' command.

Change-Id: I53ad946ead4f0b485d8c7e8a91ac2ef5d7735c5a
2019-02-25 10:20:29 +01:00