stable/rocky, centos/source containers
Host docker version on COMPUTE_NODE: Server Version: 19.03.12
I receive the following error error when reconfiguring kuryr. I did not receive this error with nova, neutron, etc.
failed: [<COMPUTE_NODE>] (item={'key': 'kuryr', 'value': {'container_name': 'kuryr', 'group': 'compute', 'enabled': True, 'image': 'kolla/centos-source-kuryr-libnetwork:rocky', 'privileged': True, 'cap_add': ['NET_ADMIN'], 'volumes': ['/etc/kolla//kuryr/:/var/lib/kolla/config_files/:ro', '/etc/localtime:/etc/localtime:ro', '/lib/modules:/lib/modules:ro', '/run:/run:shared', '/usr/lib/docker:/usr/lib/docker', '', '', 'kolla_logs:/var/log/kolla/'], 'dimensions': {}}}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "kuryr", "value": {"cap_add": ["NET_ADMIN"], "container_name": "kuryr", "dimensions": {}, "enabled": true, "group": "compute", "image": "kolla/centos-source-kuryr-libnetwork:rocky", "privileged": true, "volumes": ["/etc/kolla//kuryr/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "/lib/modules:/lib/modules:ro", "/run:/run:shared", "/usr/lib/docker:/usr/lib/docker", "", "", "kolla_logs:/var/log/kolla/"]}}, "module_stderr": "Shared connection to <COMPUTE_NODE> closed.\r\n", "module_stdout": "\r\nTraceback (most recent call last):\r\n File \"<HOME_PATH>/.ansible/tmp/ansible-tmp-1601140556.2102048-25749545366289/AnsiballZ_kolla_docker.py\", line 114, in <module>\r\n _ansiballz_main()\r\n File \"<HOME_PATH>/.ansible/tmp/ansible-tmp-1601140556.2102048-25749545366289/AnsiballZ_kolla_docker.py\", line 106, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File \"<HOME_PATH>/.ansible/tmp/ansible-tmp-1601140556.2102048-25749545366289/AnsiballZ_kolla_docker.py\", line 49, in invoke_module\r\n imp.load_module('__main__', mod, module, MOD_DESC)\r\n File \"/tmp/ansible_kolla_docker_payload_CUNHhP/__main__.py\", line 226, in <module>\r\nImportError: No module named docker\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
I should mention that the host of the compute node is:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
4.15.0-112-generic
Any thoughts on how to fix this issue?