Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not supported URL scheme http+docker KOLLA ANSIBLE #6713

Closed
takatoejji opened this issue May 21, 2024 · 1 comment
Closed

Not supported URL scheme http+docker KOLLA ANSIBLE #6713

takatoejji opened this issue May 21, 2024 · 1 comment
Labels
actions/autoclose-qa Used for automation to auto-close an issue Question/Not a bug

Comments

@takatoejji
Copy link

hello
Im trying to deploy an openstack cloud using kolla ansible it was working fine until yesterday
in the prechecks step an error occurs Not supported URL scheme http+docker
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: docker.errors.DockerException: Error while fetching server API version: Not supported URL scheme http+docker
here is the log
fatal: [controller]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 555, in send\n conn = self.get_connection_with_tls_context(\n File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 411, in get_connection_with_tls_context\n conn = self.poolmanager.connection_from_host(\n File "/usr/lib/python3/dist-packages/urllib3/poolmanager.py", line 245, in connection_from_host\n return self.connection_from_context(request_context)\n File "/usr/lib/python3/dist-packages/urllib3/poolmanager.py", line 257, in connection_from_context\n raise URLSchemeUnknown(scheme)\nurllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+docker\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/usr/local/lib/python3.10/dist-packages/docker/api/client.py", line 214, in _retrieve_server_version\n return self.version(api_version=False)["ApiVersion"]\n File "/usr/local/lib/python3.10/dist-packages/docker/api/daemon.py", line 181, in version\n return self._result(self._get(url), json=True)\n File "/usr/local/lib/python3.10/dist-packages/docker/utils/decorators.py", line 46, in inner\n return f(self, *args, **kwargs)\n File "/usr/local/lib/python3.10/dist-packages/docker/api/client.py", line 237, in _get\n return self.get(url, **self._set_request_timeout(kwargs))\n File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 602, in get\n return self.request("GET", url, **kwargs)\n File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 589, in request\n resp = self.send(prep, **send_kwargs)\n File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 703, in send\n r = adapter.send(request, **kwargs)\n File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 559, in send\n raise InvalidURL(e, request=request)\nrequests.exceptions.InvalidURL: Not supported URL scheme http+docker\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/home/deploy-user/.ansible/tmp/ansible-tmp-1716321231.812923-13434-26055658970347/AnsiballZ_kolla_container_facts.py", line 107, in \n _ansiballz_main()\n File "/home/deploy-user/.ansible/tmp/ansible-tmp-1716321231.812923-13434-26055658970347/AnsiballZ_kolla_container_facts.py", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/home/deploy-user/.ansible/tmp/ansible-tmp-1716321231.812923-13434-26055658970347/AnsiballZ_kolla_container_facts.py", line 47, in invoke_module\n runpy.run_module(mod_name='ansible.modules.kolla_container_facts', init_globals=dict(_module_fqn='ansible.modules.kolla_container_facts', _modlib_path=modlib_path),\n File "/usr/lib/python3.10/runpy.py", line 224, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib/python3.10/runpy.py", line 96, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File "/usr/lib/python3.10/runpy.py", line 86, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_kolla_container_facts_payload_upu5x80v/ansible_kolla_container_facts_payload.zip/ansible/modules/kolla_container_facts.py", line 132, in \n File "/tmp/ansible_kolla_container_facts_payload_upu5x80v/ansible_kolla_container_facts_payload.zip/ansible/modules/kolla_container_facts.py", line 126, in main\n File "/tmp/ansible_kolla_container_facts_payload_upu5x80v/ansible_kolla_container_facts_payload.zip/ansible/modules/kolla_container_facts.py", line 74, in use_docker\n File "/usr/local/lib/python3.10/dist-packages/docker/api/client.py", line 197, in init\n self._version = self._retrieve_server_version()\n File "/usr/local/lib/python3.10/dist-packages/docker/api/client.py", line 221, in _retrieve_server_version\n raise DockerException(\ndocker.errors.DockerException: Error while fetching server API version: Not supported URL scheme http+docker\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

@takatoejji takatoejji added actions/autoclose-qa Used for automation to auto-close an issue Question/Not a bug labels May 21, 2024
Copy link

As described in the template, we won't be able to answer questions on this issue tracker. Please use Stack Overflow

@github-actions github-actions bot locked as off-topic and limited conversation to collaborators May 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
actions/autoclose-qa Used for automation to auto-close an issue Question/Not a bug
Projects
None yet
Development

No branches or pull requests

1 participant