将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 183|回复: 2
收起左侧

kolla-ansible 安装报错failed: [compute1] (item={'value': {u'environment': {u'DUMMY_E

[复制链接]
发表于 2021-10-27 17:25:02 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
kolla-ansible -i multinode reconfigure --limit compute1,compute2,compute3
1 t6 D1 a2 P6 H9 J/ U8 Ofailed: [compute1] (item={'value': {u'environment': {u'DUMMY_ENVIRONMENT': u'kolla_useless_env'}, u'image': u'172.16.3.4:4000/kolla/centos-binary-cron:queens', u'enabled': True, u'volumes': [u'/etc/kolla//cron/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'cron'}, 'key': u'cron'}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "cron", "value": {"container_name": "cron", "enabled": true, "environment": {"DUMMY_ENVIRONMENT": "kolla_useless_env"}, "image": "172.16.3.4:4000/kolla/centos-binary-cron:queens", "volumes": ["/etc/kolla//cron/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "kolla_logs:/var/log/kolla/"]}}, "module_stderr": "Shared connection to compute1 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326297.07-222224-210906670905323/AnsiballZ_kolla_docker.py\", line 114, in <module>\r\n    _ansiballz_main()\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326297.07-222224-210906670905323/AnsiballZ_kolla_docker.py\", line 106, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326297.07-222224-210906670905323/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_qeBW0K/__main__.py\", line 218, in <module>\r\n  File \"/usr/lib/python2.7/site-packages/docker/__init__.py\", line 2, in <module>\r\n    from .api import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in <module>\r\n    from .client import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 5, in <module>\r\n    import requests\r\n  File \"/usr/lib/python2.7/site-packages/requests/__init__.py\", line 58, in <module>\r\n    from . import utils\r\n  File \"/usr/lib/python2.7/site-packages/requests/utils.py\", line 32, in <module>\r\n    from .exceptions import InvalidURL\r\n  File \"/usr/lib/python2.7/site-packages/requests/exceptions.py\", line 10, in <module>\r\n    from urllib3.exceptions import HTTPError as BaseHTTPError\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/__init__.py\", line 10, in <module>\r\n    from .connectionpool import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connectionpool.py\", line 31, in <module>\r\n    from .connection import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connection.py\", line 45, in <module>\r\n    from .util.ssl_ import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/__init__.py\", line 5, in <module>\r\n    from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/request.py\", line 5, in <module>\r\n    from ..exceptions import UnrewindableBodyError\r\nImportError: cannot import name UnrewindableBodyError\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}& S+ W/ k+ g4 [, N% @
failed: [compute2] (item={'value': {u'environment': {u'DUMMY_ENVIRONMENT': u'kolla_useless_env'}, u'image': u'172.16.3.4:4000/kolla/centos-binary-cron:queens', u'enabled': True, u'volumes': [u'/etc/kolla//cron/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'cron'}, 'key': u'cron'}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "cron", "value": {"container_name": "cron", "enabled": true, "environment": {"DUMMY_ENVIRONMENT": "kolla_useless_env"}, "image": "172.16.3.4:4000/kolla/centos-binary-cron:queens", "volumes": ["/etc/kolla//cron/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "kolla_logs:/var/log/kolla/"]}}, "module_stderr": "Shared connection to compute2 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326297.18-222226-182947943601086/AnsiballZ_kolla_docker.py\", line 114, in <module>\r\n    _ansiballz_main()\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326297.18-222226-182947943601086/AnsiballZ_kolla_docker.py\", line 106, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326297.18-222226-182947943601086/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_DDTUTw/__main__.py\", line 218, in <module>\r\n  File \"/usr/lib/python2.7/site-packages/docker/__init__.py\", line 2, in <module>\r\n    from .api import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in <module>\r\n    from .client import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 5, in <module>\r\n    import requests\r\n  File \"/usr/lib/python2.7/site-packages/requests/__init__.py\", line 58, in <module>\r\n    from . import utils\r\n  File \"/usr/lib/python2.7/site-packages/requests/utils.py\", line 32, in <module>\r\n    from .exceptions import InvalidURL\r\n  File \"/usr/lib/python2.7/site-packages/requests/exceptions.py\", line 10, in <module>\r\n    from urllib3.exceptions import HTTPError as BaseHTTPError\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/__init__.py\", line 10, in <module>\r\n    from .connectionpool import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connectionpool.py\", line 31, in <module>\r\n    from .connection import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connection.py\", line 45, in <module>\r\n    from .util.ssl_ import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/__init__.py\", line 5, in <module>\r\n    from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/request.py\", line 5, in <module>\r\n    from ..exceptions import UnrewindableBodyError\r\nImportError: cannot import name UnrewindableBodyError\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}8 R1 u/ `6 A$ B& x9 I5 A$ j
failed: [compute3] (item={'value': {u'environment': {u'DUMMY_ENVIRONMENT': u'kolla_useless_env'}, u'image': u'172.16.3.4:4000/kolla/centos-binary-cron:queens', u'enabled': True, u'volumes': [u'/etc/kolla//cron/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'cron'}, 'key': u'cron'}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "cron", "value": {"container_name": "cron", "enabled": true, "environment": {"DUMMY_ENVIRONMENT": "kolla_useless_env"}, "image": "172.16.3.4:4000/kolla/centos-binary-cron:queens", "volumes": ["/etc/kolla//cron/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "kolla_logs:/var/log/kolla/"]}}, "module_stderr": "Shared connection to compute3 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326297.32-222230-127422518903298/AnsiballZ_kolla_docker.py\", line 114, in <module>\r\n    _ansiballz_main()\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326297.32-222230-127422518903298/AnsiballZ_kolla_docker.py\", line 106, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326297.32-222230-127422518903298/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_0qoCXd/__main__.py\", line 218, in <module>\r\n  File \"/usr/lib/python2.7/site-packages/docker/__init__.py\", line 2, in <module>\r\n    from .api import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in <module>\r\n    from .client import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 5, in <module>\r\n    import requests\r\n  File \"/usr/lib/python2.7/site-packages/requests/__init__.py\", line 58, in <module>\r\n    from . import utils\r\n  File \"/usr/lib/python2.7/site-packages/requests/utils.py\", line 32, in <module>\r\n    from .exceptions import InvalidURL\r\n  File \"/usr/lib/python2.7/site-packages/requests/exceptions.py\", line 10, in <module>\r\n    from urllib3.exceptions import HTTPError as BaseHTTPError\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/__init__.py\", line 10, in <module>\r\n    from .connectionpool import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connectionpool.py\", line 31, in <module>\r\n    from .connection import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connection.py\", line 45, in <module>\r\n    from .util.ssl_ import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/__init__.py\", line 5, in <module>\r\n    from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/request.py\", line 5, in <module>\r\n    from ..exceptions import UnrewindableBodyError\r\nImportError: cannot import name UnrewindableBodyError\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}+ \- G; s# |0 |% Y
failed: [compute1] (item={'value': {u'environment': {u'KOLLA_CONFIG_STRATEGY': u'COPY_ALWAYS'}, u'image': u'172.16.3.4:4000/kolla/centos-binary-fluentd:queens', u'enabled': True, u'volumes': [u'/etc/kolla//fluentd/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'fluentd'}, 'key': u'fluentd'}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "fluentd", "value": {"container_name": "fluentd", "enabled": true, "environment": {"KOLLA_CONFIG_STRATEGY": "COPY_ALWAYS"}, "image": "172.16.3.4:4000/kolla/centos-binary-fluentd:queens", "volumes": ["/etc/kolla//fluentd/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "kolla_logs:/var/log/kolla/"]}}, "module_stderr": "Shared connection to compute1 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.02-222224-268515587708819/AnsiballZ_kolla_docker.py\", line 114, in <module>\r\n    _ansiballz_main()\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.02-222224-268515587708819/AnsiballZ_kolla_docker.py\", line 106, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.02-222224-268515587708819/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_zsw3JH/__main__.py\", line 218, in <module>\r\n  File \"/usr/lib/python2.7/site-packages/docker/__init__.py\", line 2, in <module>\r\n    from .api import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in <module>\r\n    from .client import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 5, in <module>\r\n    import requests\r\n  File \"/usr/lib/python2.7/site-packages/requests/__init__.py\", line 58, in <module>\r\n    from . import utils\r\n  File \"/usr/lib/python2.7/site-packages/requests/utils.py\", line 32, in <module>\r\n    from .exceptions import InvalidURL\r\n  File \"/usr/lib/python2.7/site-packages/requests/exceptions.py\", line 10, in <module>\r\n    from urllib3.exceptions import HTTPError as BaseHTTPError\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/__init__.py\", line 10, in <module>\r\n    from .connectionpool import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connectionpool.py\", line 31, in <module>\r\n    from .connection import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connection.py\", line 45, in <module>\r\n    from .util.ssl_ import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/__init__.py\", line 5, in <module>\r\n    from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/request.py\", line 5, in <module>\r\n    from ..exceptions import UnrewindableBodyError\r\nImportError: cannot import name UnrewindableBodyError\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}% p! l5 T% q& c4 ]8 o
failed: [compute2] (item={'value': {u'environment': {u'KOLLA_CONFIG_STRATEGY': u'COPY_ALWAYS'}, u'image': u'172.16.3.4:4000/kolla/centos-binary-fluentd:queens', u'enabled': True, u'volumes': [u'/etc/kolla//fluentd/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'fluentd'}, 'key': u'fluentd'}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "fluentd", "value": {"container_name": "fluentd", "enabled": true, "environment": {"KOLLA_CONFIG_STRATEGY": "COPY_ALWAYS"}, "image": "172.16.3.4:4000/kolla/centos-binary-fluentd:queens", "volumes": ["/etc/kolla//fluentd/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "kolla_logs:/var/log/kolla/"]}}, "module_stderr": "Shared connection to compute2 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.03-222226-66113725191639/AnsiballZ_kolla_docker.py\", line 114, in <module>\r\n    _ansiballz_main()\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.03-222226-66113725191639/AnsiballZ_kolla_docker.py\", line 106, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.03-222226-66113725191639/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_BjU_98/__main__.py\", line 218, in <module>\r\n  File \"/usr/lib/python2.7/site-packages/docker/__init__.py\", line 2, in <module>\r\n    from .api import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in <module>\r\n    from .client import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 5, in <module>\r\n    import requests\r\n  File \"/usr/lib/python2.7/site-packages/requests/__init__.py\", line 58, in <module>\r\n    from . import utils\r\n  File \"/usr/lib/python2.7/site-packages/requests/utils.py\", line 32, in <module>\r\n    from .exceptions import InvalidURL\r\n  File \"/usr/lib/python2.7/site-packages/requests/exceptions.py\", line 10, in <module>\r\n    from urllib3.exceptions import HTTPError as BaseHTTPError\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/__init__.py\", line 10, in <module>\r\n    from .connectionpool import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connectionpool.py\", line 31, in <module>\r\n    from .connection import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connection.py\", line 45, in <module>\r\n    from .util.ssl_ import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/__init__.py\", line 5, in <module>\r\n    from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/request.py\", line 5, in <module>\r\n    from ..exceptions import UnrewindableBodyError\r\nImportError: cannot import name UnrewindableBodyError\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
- t/ r; f4 _& v5 \: W5 f/ l! N2 u! y. L* |failed: [compute3] (item={'value': {u'environment': {u'KOLLA_CONFIG_STRATEGY': u'COPY_ALWAYS'}, u'image': u'172.16.3.4:4000/kolla/centos-binary-fluentd:queens', u'enabled': True, u'volumes': [u'/etc/kolla//fluentd/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'fluentd'}, 'key': u'fluentd'}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "fluentd", "value": {"container_name": "fluentd", "enabled": true, "environment": {"KOLLA_CONFIG_STRATEGY": "COPY_ALWAYS"}, "image": "172.16.3.4:4000/kolla/centos-binary-fluentd:queens", "volumes": ["/etc/kolla//fluentd/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "kolla_logs:/var/log/kolla/"]}}, "module_stderr": "Shared connection to compute3 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.03-222230-238430056389316/AnsiballZ_kolla_docker.py\", line 114, in <module>\r\n    _ansiballz_main()\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.03-222230-238430056389316/AnsiballZ_kolla_docker.py\", line 106, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.03-222230-238430056389316/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_d2v0ue/__main__.py\", line 218, in <module>\r\n  File \"/usr/lib/python2.7/site-packages/docker/__init__.py\", line 2, in <module>\r\n    from .api import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in <module>\r\n    from .client import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 5, in <module>\r\n    import requests\r\n  File \"/usr/lib/python2.7/site-packages/requests/__init__.py\", line 58, in <module>\r\n    from . import utils\r\n  File \"/usr/lib/python2.7/site-packages/requests/utils.py\", line 32, in <module>\r\n    from .exceptions import InvalidURL\r\n  File \"/usr/lib/python2.7/site-packages/requests/exceptions.py\", line 10, in <module>\r\n    from urllib3.exceptions import HTTPError as BaseHTTPError\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/__init__.py\", line 10, in <module>\r\n    from .connectionpool import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connectionpool.py\", line 31, in <module>\r\n    from .connection import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connection.py\", line 45, in <module>\r\n    from .util.ssl_ import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/__init__.py\", line 5, in <module>\r\n    from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/request.py\", line 5, in <module>\r\n    from ..exceptions import UnrewindableBodyError\r\nImportError: cannot import name UnrewindableBodyError\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
! i/ p" W; T5 T) E2 h- B% Ufailed: [compute1] (item={'value': {u'environment': {u'ANSIBLE_LIBRARY': u'/usr/share/ansible', u'ANSIBLE_NOCOLOR': u'1'}, u'volumes': [u'/etc/kolla//kolla-toolbox/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'/dev/:/dev/', u'/run/:/run/:shared', u'kolla_logs:/var/log/kolla/'], u'container_name': u'kolla_toolbox', u'image': u'172.16.3.4:4000/kolla/centos-binary-kolla-toolbox:queens', u'enabled': True, u'privileged': True}, 'key': u'kolla-toolbox'}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "kolla-toolbox", "value": {"container_name": "kolla_toolbox", "enabled": true, "environment": {"ANSIBLE_LIBRARY": "/usr/share/ansible", "ANSIBLE_NOCOLOR": "1"}, "image": "172.16.3.4:4000/kolla/centos-binary-kolla-toolbox:queens", "privileged": true, "volumes": ["/etc/kolla//kolla-toolbox/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "/dev/:/dev/", "/run/:/run/:shared", "kolla_logs:/var/log/kolla/"]}}, "module_stderr": "Shared connection to compute1 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.52-222224-16277998107215/AnsiballZ_kolla_docker.py\", line 114, in <module>\r\n    _ansiballz_main()\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.52-222224-16277998107215/AnsiballZ_kolla_docker.py\", line 106, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.52-222224-16277998107215/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_mXk3DB/__main__.py\", line 218, in <module>\r\n  File \"/usr/lib/python2.7/site-packages/docker/__init__.py\", line 2, in <module>\r\n    from .api import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in <module>\r\n    from .client import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 5, in <module>\r\n    import requests\r\n  File \"/usr/lib/python2.7/site-packages/requests/__init__.py\", line 58, in <module>\r\n    from . import utils\r\n  File \"/usr/lib/python2.7/site-packages/requests/utils.py\", line 32, in <module>\r\n    from .exceptions import InvalidURL\r\n  File \"/usr/lib/python2.7/site-packages/requests/exceptions.py\", line 10, in <module>\r\n    from urllib3.exceptions import HTTPError as BaseHTTPError\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/__init__.py\", line 10, in <module>\r\n    from .connectionpool import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connectionpool.py\", line 31, in <module>\r\n    from .connection import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connection.py\", line 45, in <module>\r\n    from .util.ssl_ import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/__init__.py\", line 5, in <module>\r\n    from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/request.py\", line 5, in <module>\r\n    from ..exceptions import UnrewindableBodyError\r\nImportError: cannot import name UnrewindableBodyError\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}5 i/ E. d+ e0 r2 n" C/ P* ~# X
failed: [compute3] (item={'value': {u'environment': {u'ANSIBLE_LIBRARY': u'/usr/share/ansible', u'ANSIBLE_NOCOLOR': u'1'}, u'volumes': [u'/etc/kolla//kolla-toolbox/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'/dev/:/dev/', u'/run/:/run/:shared', u'kolla_logs:/var/log/kolla/'], u'container_name': u'kolla_toolbox', u'image': u'172.16.3.4:4000/kolla/centos-binary-kolla-toolbox:queens', u'enabled': True, u'privileged': True}, 'key': u'kolla-toolbox'}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "kolla-toolbox", "value": {"container_name": "kolla_toolbox", "enabled": true, "environment": {"ANSIBLE_LIBRARY": "/usr/share/ansible", "ANSIBLE_NOCOLOR": "1"}, "image": "172.16.3.4:4000/kolla/centos-binary-kolla-toolbox:queens", "privileged": true, "volumes": ["/etc/kolla//kolla-toolbox/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "/dev/:/dev/", "/run/:/run/:shared", "kolla_logs:/var/log/kolla/"]}}, "module_stderr": "Shared connection to compute3 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.55-222230-157623345083274/AnsiballZ_kolla_docker.py\", line 114, in <module>\r\n    _ansiballz_main()\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.55-222230-157623345083274/AnsiballZ_kolla_docker.py\", line 106, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.55-222230-157623345083274/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_rb6EgE/__main__.py\", line 218, in <module>\r\n  File \"/usr/lib/python2.7/site-packages/docker/__init__.py\", line 2, in <module>\r\n    from .api import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in <module>\r\n    from .client import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 5, in <module>\r\n    import requests\r\n  File \"/usr/lib/python2.7/site-packages/requests/__init__.py\", line 58, in <module>\r\n    from . import utils\r\n  File \"/usr/lib/python2.7/site-packages/requests/utils.py\", line 32, in <module>\r\n    from .exceptions import InvalidURL\r\n  File \"/usr/lib/python2.7/site-packages/requests/exceptions.py\", line 10, in <module>\r\n    from urllib3.exceptions import HTTPError as BaseHTTPError\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/__init__.py\", line 10, in <module>\r\n    from .connectionpool import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connectionpool.py\", line 31, in <module>\r\n    from .connection import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connection.py\", line 45, in <module>\r\n    from .util.ssl_ import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/__init__.py\", line 5, in <module>\r\n    from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/request.py\", line 5, in <module>\r\n    from ..exceptions import UnrewindableBodyError\r\nImportError: cannot import name UnrewindableBodyError\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}, i' z1 M$ A# X% x
failed: [compute2] (item={'value': {u'environment': {u'ANSIBLE_LIBRARY': u'/usr/share/ansible', u'ANSIBLE_NOCOLOR': u'1'}, u'volumes': [u'/etc/kolla//kolla-toolbox/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'/dev/:/dev/', u'/run/:/run/:shared', u'kolla_logs:/var/log/kolla/'], u'container_name': u'kolla_toolbox', u'image': u'172.16.3.4:4000/kolla/centos-binary-kolla-toolbox:queens', u'enabled': True, u'privileged': True}, 'key': u'kolla-toolbox'}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "kolla-toolbox", "value": {"container_name": "kolla_toolbox", "enabled": true, "environment": {"ANSIBLE_LIBRARY": "/usr/share/ansible", "ANSIBLE_NOCOLOR": "1"}, "image": "172.16.3.4:4000/kolla/centos-binary-kolla-toolbox:queens", "privileged": true, "volumes": ["/etc/kolla//kolla-toolbox/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "/dev/:/dev/", "/run/:/run/:shared", "kolla_logs:/var/log/kolla/"]}}, "module_stderr": "Shared connection to compute2 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.55-222226-11088404403883/AnsiballZ_kolla_docker.py\", line 114, in <module>\r\n    _ansiballz_main()\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.55-222226-11088404403883/AnsiballZ_kolla_docker.py\", line 106, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File \"/root/.ansible/tmp/ansible-tmp-1635326298.55-222226-11088404403883/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_oBomLW/__main__.py\", line 218, in <module>\r\n  File \"/usr/lib/python2.7/site-packages/docker/__init__.py\", line 2, in <module>\r\n    from .api import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in <module>\r\n    from .client import APIClient\r\n  File \"/usr/lib/python2.7/site-packages/docker/api/client.py\", line 5, in <module>\r\n    import requests\r\n  File \"/usr/lib/python2.7/site-packages/requests/__init__.py\", line 58, in <module>\r\n    from . import utils\r\n  File \"/usr/lib/python2.7/site-packages/requests/utils.py\", line 32, in <module>\r\n    from .exceptions import InvalidURL\r\n  File \"/usr/lib/python2.7/site-packages/requests/exceptions.py\", line 10, in <module>\r\n    from urllib3.exceptions import HTTPError as BaseHTTPError\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/__init__.py\", line 10, in <module>\r\n    from .connectionpool import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connectionpool.py\", line 31, in <module>\r\n    from .connection import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/connection.py\", line 45, in <module>\r\n    from .util.ssl_ import (\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/__init__.py\", line 5, in <module>\r\n    from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers\r\n  File \"/usr/lib/python2.7/site-packages/urllib3/util/request.py\", line 5, in <module>\r\n    from ..exceptions import UnrewindableBodyError\r\nImportError: cannot import name UnrewindableBodyError\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
8 u4 a  W9 F: J( r- w3 R3 q
1 u' {, @$ ~' T( h
 楼主| 发表于 2021-10-27 19:35:18 | 显示全部楼层
解决办法就是:7 l# T" }1 s9 h& E7 F. ?& P
在对应的节点上安装报错软件:; Z' x- x2 `9 h( k' M; P, S
[root@compute2 ~]# pip install -I urllib3
& N9 E5 b- r8 ^9 g2 d( o+ F7 B7 {DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/de ... s/#python-2-support pip 21.0 will remove support for this functionality.
; T; b# y0 ]. [1 v( r* Q. _* ~/ sLooking in indexes: http://mirrors.aliyun.com/pypi/simple/" I+ l. @2 g& U2 Z
Collecting urllib33 O/ S5 K8 g0 p3 A; @0 F! A
  Downloading http://mirrors.aliyun.com/pypi/p ... y2.py3-none-any.whl (138 kB); \" j0 t; [6 J: f- u; E! n1 r
     |████████████████████████████████| 138 kB 1.7 MB/s : w0 i% Q- w6 Q) @% ?* Q! n
Installing collected packages: urllib3) v6 Y3 o. s# \0 b

; G; u: @5 v& u& a[root@compute1 network-scripts]#  pip install -I urllib3
5 O+ R4 d- m. Y: u2 `( dDEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/de ... s/#python-2-support pip 21.0 will remove support for this functionality.+ e" ?* O! ?3 E7 z6 b
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/$ E) F3 h+ V9 p4 j8 t4 m* L
Collecting urllib3
! _3 J# e: b. p! T# M1 a  Downloading http://mirrors.aliyun.com/pypi/p ... y2.py3-none-any.whl (138 kB)/ R! q6 I) V. J6 U& O4 `
     |████████████████████████████████| 138 kB 1.9 MB/s   y3 d# x% D* f$ o. y
Installing collected packages: urllib3; [7 J, f% s6 y/ q  i! y# _. s
Successfully installed urllib3-1.26.7
 楼主| 发表于 2021-10-27 19:36:44 | 显示全部楼层
再重新执行kolla-ansible -i multinode deploy --limit compute1
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现 点击这里给我发消息

GMT+8, 2021-11-30 02:24 , Processed in 0.049001 second(s), 22 queries .

Powered by LR.LINUX.cloud bbs168x X3.2 Licensed

© 2012-2022 Comsenz Inc.

快速回复 返回顶部 返回列表