Skip to content
Snippets Groups Projects
Commit b053bd8e authored by Michał Nasiadka's avatar Michał Nasiadka Committed by Michal Nasiadka
Browse files

baremetal: Install Docker SDK less than 5.0.0

Docker 5.0.0 [1] dropped requirement for six, but still imports it.

[1]: https://github.com/docker/docker-py/issues/2807

Closes-Bug: #1928915
Change-Id: I726541f4b3fdc357387a44c6a2153593a10bf282
parent 66e9a646
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,8 @@
- name: Install docker SDK for python
pip:
# NOTE(hrw) docker 2.4.2 is in kolla-ansible requirements
name: docker>=2.4.2
# NOTE(mnasiadka): docker 5.0.0 lacks six in deps but requires it
name: docker>=2.4.2,<5.0.0
executable: "{{ virtualenv is none | ternary('pip3', omit) }}"
virtualenv: "{{ virtualenv is none | ternary(omit, virtualenv) }}"
virtualenv_site_packages: "{{ virtualenv is none | ternary(omit, virtualenv_site_packages) }}"
......
---
fixes:
- |
Fixed an issue where docker python SDK 5.0.0 was failing due to missing
six - introduced a constraint to install version lower than 5.x.
`LP#1928915 <https://launchpad.net/bugs/1928915>`__
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment