docker sdk gets installed broken on centos 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Invalid
|
Undecided
|
Unassigned | ||
Train |
Triaged
|
Critical
|
Unassigned |
Bug Description
Kolla Ansible version: Train
Distro: CentOS 7
have pip from epel
run host bootstrap
run prechecks
and get:
TASK [prechecks : Checking docker SDK version] *******
fatal: [primary]: FAILED! => {
"changed": false,
"cmd": [
"-c",
"import docker; print(docker.
],
"delta": "0:00:00.154198",
"end": "2021-06-27 15:36:06.905852",
"failed_
"invocation": {
"argv": null,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2021-06-27 15:36:06.751654",
"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/
" import websocket",
" File \"/usr/
" from ._app import WebSocketApp",
" File \"/usr/
" import selectors",
],
"stdout": "",
"stdout_lines": []
}
The reason is pip on CentOS 7 is too old to choose py2-compatible versions of docker sdk deps.
Changed in kolla-ansible: | |
status: | New → Invalid |
description: | updated |