From 5507bba744165657cbfddd75a9f304b0bbb78be0 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Thu, 5 Mar 2020 15:33:32 +0000 Subject: [PATCH] Blacklist Ansible 2.8.9 Backport: train OpenStack Ansible modules were broken in Ansible 2.8.9. This affects kolla-toolbox, and kayobe's ansible install for tasks that interact with APIs. See https://github.com/ansible/ansible/issues/68042 and https://bugs.launchpad.net/kolla/+bug/1866181. This change blacklists ansible 2.8.9 for Kayobe and Kolla Ansible. A separate change will be made to kolla to blacklist ansible 2.8.9 from the kolla-toolbox image. Depends-On: https://review.opendev.org/711485 Change-Id: I535ab240b7ab8f3ab104b49170e4a9ee01fc482b Story: 2007383 Task: 38959 --- ansible/roles/kolla-ansible/templates/requirements.txt.j2 | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/kolla-ansible/templates/requirements.txt.j2 b/ansible/roles/kolla-ansible/templates/requirements.txt.j2 index 95605ff30..1917f0556 100644 --- a/ansible/roles/kolla-ansible/templates/requirements.txt.j2 +++ b/ansible/roles/kolla-ansible/templates/requirements.txt.j2 @@ -7,7 +7,7 @@ kolla-ansible=={{ kolla_openstack_release }} {% endif %} # Limit the version of ansible used by kolla-ansible to avoid new releases from # breaking tested code. Changes to this limit should be tested. -ansible>=2.8,<2.10 +ansible>=2.8,<2.10,!=2.8.9 {% if ansible_os_family == 'RedHat' and ansible_distribution_major_version | int >= 8 %} selinux {% endif %} diff --git a/requirements.txt b/requirements.txt index d31972453..79e4c41b7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ # process, which may cause wedges in the gate later. pbr>=2.0 # Apache-2.0 -ansible>=2.8.0,<2.10.0 # GPLv3 +ansible>=2.8.0,<2.10.0,!=2.8.9 # GPLv3 cliff>=2.5.0,<2.15.0 # Apache netaddr!=0.7.16,>=0.7.13 # BSD PyYAML>=3.10.0 # MIT