docker sdk 5.0.0 fails due to missing six
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Critical
|
Michal Nasiadka | ||
Train |
Fix Committed
|
Critical
|
Unassigned | ||
Ussuri |
Fix Committed
|
Critical
|
Unassigned | ||
Victoria |
Fix Committed
|
Critical
|
Unassigned | ||
Wallaby |
Fix Committed
|
Critical
|
Unassigned | ||
Xena |
Fix Released
|
Critical
|
Michal Nasiadka |
Bug Description
docker python SDK 5.0.0 has removed dependency for six, but still imports that in code
Example of failure in prechecks:
TASK [prechecks : Checking docker SDK version] *******
task path: /home/zuul/
Using module file /home/zuul/
Pipelining is enabled.
<158.69.70.206> ESTABLISH SSH CONNECTION FOR USER: kolla
<158.69.70.206> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyCh
<158.69.70.206> (1, b'\n{"msg": "non-zero return code", "cmd": ["/usr/
<158.69.70.206> Failed to connect to the host via ssh:
fatal: [primary]: FAILED! => {
"changed": false,
"cmd": [
"-c",
"import docker; print(docker.
],
"delta": "0:00:00.157379",
"end": "2021-05-18 11:42:52.365473",
"failed_
"invocation": {
"argv": null,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2021-05-18 11:42:52.208094",
"stderr": "Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/usr/
"stderr_lines": [
"Traceback (most recent call last):",
" File \"<string>\", line 1, in <module>",
" File \"/usr/
" from .api import APIClient",
" File \"/usr/
" from .client import APIClient",
" File \"/usr/
" from .. import auth",
" File \"/usr/
" import six",
],
"stdout": "",
"stdout_lines": []
}
Issue in GitHub: https:/
Changed in kolla-ansible: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Michal Nasiadka (mnasiadka) |
Changed in kolla-ansible: | |
status: | Confirmed → In Progress |
Reviewed: https:/ /review. opendev. org/c/openstack /kolla- ansible/ +/792071 /opendev. org/openstack/ kolla-ansible/ commit/ b053bd8ecf2cdbb df83aeb6777e950 2e5db70256
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b053bd8ecf2cdbb df83aeb6777e950 2e5db70256
Author: Michał Nasiadka <email address hidden>
Date: Wed May 19 08:08:42 2021 +0200
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 57387a44c6a2153 593a10bf282
Change-Id: I726541f4b3fdc3