From b22f8f63a33b5a7c0ee43fc8ee346d636bb2a896 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Mon, 24 Jan 2022 10:17:17 +0100 Subject: CI: make it work again Python changes: - limit pip to 20.x as this is last version working on both Python 2 and 3. - cap 'setuptools' to be older than 58 to have use_2to3 functionality (fixes 'anyjson' installation) - upgrade pip in 'elasticsearch-curator' image to get it built on CentOS 7 Unbuildable images: - 'bifrost-base' under CentOS 8 (Error: Cannot find a valid baseurl for repo: epel) - 'monasca-grafana' under CentOS 7/8 - 'sensu-client' under CentOS 7 (aws-eventstream requires Ruby version >= 2.3) - dropped *-upgrade CI jobs as Stein is EOL - pin 'qpid-proton-c' package for CentOS 7 to not install EPEL one (cinder-volume, openstack-base and tripleoclient) - bump 'libvirt-python' in 'masakari-monitors' to 7.10.0 (newer branches install package from distribution but CentOS 7 lacks it) - pin 'unf_ext' gem in Sensu images as CentOS 7 lacks Ruby 2.2+ (fixed sensu-server) - install 'ca-certificates' for newer Let's Encrypt certificates support (so we can fetch upper-constraints) - make Zuul fetch openstack/requirements project files (make 'openstack-base' pass) (like 2nd fix) Co-Authored-by: Pierre Riteau Closes-Bug: #1943617 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/826464 Change-Id: I8ee32e53cda581493b2a4bb73ca72ab05014b9d4 --- docker/cinder/cinder-volume/Dockerfile.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docker/cinder') diff --git a/docker/cinder/cinder-volume/Dockerfile.j2 b/docker/cinder/cinder-volume/Dockerfile.j2 index a5f3af756..a06432475 100644 --- a/docker/cinder/cinder-volume/Dockerfile.j2 +++ b/docker/cinder/cinder-volume/Dockerfile.j2 @@ -18,9 +18,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'python3-cinderlib', ] %} {% else %} + {# NOTE(hrw): qpid-proton-c 0.26 from centos-openstack-train repo instead of epel #} {% set cinder_volume_packages = cinder_volume_packages + [ 'python-rtslib', 'python2-cinderlib', + 'qpid-proton-c-0.26.*', ] %} {% endif %} {{ macros.install_packages(cinder_volume_packages | customizable("packages")) }} -- cgit v1.2.3