From a755304795eb7bd43a26b7380aa2686151295c64 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Thu, 5 Mar 2020 14:34:18 +0000 Subject: Multiple fixes to unblock CI This change includes a number of fixes to make CI functional. * Blacklist ansible 2.8.9 in kolla-toolbox Ansible 2.8.9 broke the OpenStack modules, see https://bugs.launchpad.net/kolla/+bug/1866181 for details. This causes us to fail with the following error: /usr/lib64/python2.7/distutils/version.py\", line 40, in __init__ self.parse(vstring) File "/usr/lib64/python2.7/distutils/version.py", line 105, in parse match = self.version_re.match(vstring)\nTypeError: expected string or buffer This change works around the issue by blacklisting ansible 2.8.9 in the kolla-toolbox image. * Drop CentOS 7 CI jobs. There are multiple issues with CentOS 7 now, and we have CentOS 8 jobs in place so it's time to move on * pin requirements to commit ea42244642c3c091cb4f70917ae8d79af217b6af. This is required to avoid oslo.cache 2.1.0, which breaks us. See https://bugs.launchpad.net/kolla-ansible/+bug/1866008. Change-Id: Iebc39bd804d2c4f553d42c285549f50f4c8bc8be Closes-Bug: #1866181 Related-Bug: #1866008 --- docker/kolla-toolbox/Dockerfile.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/kolla-toolbox/Dockerfile.j2 b/docker/kolla-toolbox/Dockerfile.j2 index c826f0692..44ebaf329 100644 --- a/docker/kolla-toolbox/Dockerfile.j2 +++ b/docker/kolla-toolbox/Dockerfile.j2 @@ -79,8 +79,10 @@ RUN {{ macros.install_pip(kolla_toolbox_pip_virtualenv_packages | customizable(" ENV PATH {{ virtualenv_path }}/bin:$PATH +# NOTE(mgoddard): Ansible 2.8.9 broke OpenStack modules. +# https://bugs.launchpad.net/kolla/+bug/1866181 {% set kolla_toolbox_pip_packages = [ - 'ansible==2.8.*', + 'ansible==2.8.*,!=2.8.9', 'cmd2', 'influxdb', 'mysqlclient', -- cgit v1.2.3