diff options
| author | Bartosz Bezak <bartosz@stackhpc.com> | 2024-06-03 15:42:45 +0200 |
|---|---|---|
| committer | Bartosz Bezak <bartosz@stackhpc.com> | 2024-06-11 11:07:42 +0000 |
| commit | 428f37124986019bedc897469f9b1f3470b62082 (patch) | |
| tree | 5bc4bcaceb3e7fcd15b14fb9d936dbf2d67f72af /tests | |
| parent | 968711579fbe73316227bd2b1993c5656adad9f4 (diff) | |
| download | kolla-428f37124986019bedc897469f9b1f3470b62082.tar.gz kolla-428f37124986019bedc897469f9b1f3470b62082.zip | |
CI: Pin requests to <2.32 for publish jobs
Periodic jobs are failing because Zuul Ansible executor runs with
Ansible 8 which uses community.docker collection that needs requests<2.32.
Revert this patch when Zuul supports Ansible 10, and/or Ansible 9 gets
fixed community.docker collection. [1]
[1] https://github.com/ansible-collections/community.docker/issues/868
Related-Bug: #2066364
Change-Id: I1dda73b0bc9a9f57ec8fda3f2234449b04906410
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/playbooks/publish.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/playbooks/publish.yml b/tests/playbooks/publish.yml index 76352d299..cd9656069 100644 --- a/tests/playbooks/publish.yml +++ b/tests/playbooks/publish.yml @@ -4,6 +4,15 @@ # NOTE(yoctozepto): We need Docker SDK, the best source is Kolla venv. ansible_python_interpreter: "{{ virtualenv_path }}/bin/python" tasks: + # TODO(bbezak): Currently Zuul supports Ansible 8 or 9, which + # uses community.docker collection that needs requests<2.32. + # Remove this when Zuul supports Ansible 10, + # and/or Ansible 9 gets fixed community.docker collection. + # https://github.com/ansible-collections/community.docker/issues/868 + - name: Downgrade requests for community.docker collection + command: + cmd: "{{ virtualenv_path }}/bin/python -m pip install -v 'requests<2.32'" + - name: List all containers docker_host_info: images: yes |
