Activity log for bug #1933763

Date Who What changed Old value New value Message
2021-06-27 15:52:42 Radosław Piliszek bug added bug
2021-06-27 15:53:17 Radosław Piliszek nominated for series kolla-ansible/train
2021-06-27 15:53:17 Radosław Piliszek bug task added kolla-ansible/train
2021-06-27 15:53:25 Radosław Piliszek kolla-ansible/train: status New Triaged
2021-06-27 15:53:27 Radosław Piliszek kolla-ansible/train: importance Undecided Critical
2021-06-27 15:53:32 Radosław Piliszek kolla-ansible: status New Invalid
2021-06-27 18:19:40 Radosław Piliszek description Kolla Ansible version: Train Distro: CentOS 7 run host bootstrap run prechecks and get: TASK [prechecks : Checking docker SDK version] ********************************* fatal: [primary]: FAILED! => { "changed": false, "cmd": [ "/usr/bin/python2", "-c", "import docker; print(docker.__version__)" ], "delta": "0:00:00.154198", "end": "2021-06-27 15:36:06.905852", "failed_when_result": true, "invocation": { "module_args": { "_raw_params": "/usr/bin/python2 -c \"import docker; print(docker.__version__)\"", "_uses_shell": false, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": 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/lib/python2.7/site-packages/docker/__init__.py\", line 2, in <module>\n from .api import APIClient\n File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in <module>\n from .client import APIClient\n File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 8, in <module>\n import websocket\n File \"/usr/lib/python2.7/site-packages/websocket/__init__.py\", line 22, in <module>\n from ._app import WebSocketApp\n File \"/usr/lib/python2.7/site-packages/websocket/_app.py\", line 25, in <module>\n import selectors\nImportError: No module named selectors", "stderr_lines": [ "Traceback (most recent call last):", " File \"<string>\", line 1, in <module>", " File \"/usr/lib/python2.7/site-packages/docker/__init__.py\", line 2, in <module>", " from .api import APIClient", " File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in <module>", " from .client import APIClient", " File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 8, in <module>", " import websocket", " File \"/usr/lib/python2.7/site-packages/websocket/__init__.py\", line 22, in <module>", " from ._app import WebSocketApp", " File \"/usr/lib/python2.7/site-packages/websocket/_app.py\", line 25, in <module>", " import selectors", "ImportError: No module named selectors" ], "stdout": "", "stdout_lines": [] } The reason is pip on CentOS 7 is too old to choose py2-compatible versions of docker sdk deps. 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": [         "/usr/bin/python2",         "-c",         "import docker; print(docker.__version__)"     ],     "delta": "0:00:00.154198",     "end": "2021-06-27 15:36:06.905852",     "failed_when_result": true,     "invocation": {         "module_args": {             "_raw_params": "/usr/bin/python2 -c \"import docker; print(docker.__version__)\"",             "_uses_shell": false,             "argv": null,             "chdir": null,             "creates": null,             "executable": null,             "removes": null,             "stdin": 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/lib/python2.7/site-packages/docker/__init__.py\", line 2, in <module>\n from .api import APIClient\n File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in <module>\n from .client import APIClient\n File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 8, in <module>\n import websocket\n File \"/usr/lib/python2.7/site-packages/websocket/__init__.py\", line 22, in <module>\n from ._app import WebSocketApp\n File \"/usr/lib/python2.7/site-packages/websocket/_app.py\", line 25, in <module>\n import selectors\nImportError: No module named selectors",     "stderr_lines": [         "Traceback (most recent call last):",         " File \"<string>\", line 1, in <module>",         " File \"/usr/lib/python2.7/site-packages/docker/__init__.py\", line 2, in <module>",         " from .api import APIClient",         " File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in <module>",         " from .client import APIClient",         " File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 8, in <module>",         " import websocket",         " File \"/usr/lib/python2.7/site-packages/websocket/__init__.py\", line 22, in <module>",         " from ._app import WebSocketApp",         " File \"/usr/lib/python2.7/site-packages/websocket/_app.py\", line 25, in <module>",         " import selectors",         "ImportError: No module named selectors"     ],     "stdout": "",     "stdout_lines": [] } The reason is pip on CentOS 7 is too old to choose py2-compatible versions of docker sdk deps.