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
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
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
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
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
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
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
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
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
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
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
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