When i try to install an additional tool the installation returns an error and aborts. The webinterface is listing my installation as running and after a few it has been finished successfully. I guess this is related to #15 and #galaxyproject/galaxy#1628
equests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine(\"''\",))"
- hosts: galaxyservers
become: true
vars:
galaxy_restart_handler_enabled: false
galaxy_tools_base_dir: "{{ galaxy_root }}/var/tmp/"
galaxy_server_dir: "{{ galaxy_root }}/server"
galaxy_venv_dir: "{{ galaxy_root }}/venv"
galaxy_config_file: "{{ galaxy_root }}/config/galaxy.yml"
galaxy_tools_api_key: 11111111
galaxy_tools_tool_list_files: [ "files/tools.yml" ]
galaxy_tools_galaxy_instance_url: http://127.0.0.1:8080/
roles:
- galaxyproject.galaxy-tools
TASK [galaxyproject.galaxy-tools : Install Tool Shed tools]
failed: [172.18.1.32] (item={u'owner': u'devteam', u'tool_panel_section_id': u'BLAST', u'name': u'ncbi_blast_plus', u'tool_panel_section_label': u'BLAST'}) => {
"changed": false,
"cmd": [
"/srv/galaxy/var/tmp//venv/bin/shed-install",
"-y",
"name: ncbi_blast_plus\nowner: devteam\ntool_panel_section_id: BLAST\ntool_panel_section_label: BLAST\n",
"-a",
"111111111111111",
"-g",
"http://127.0.0.1:8080/"
],
"delta": "0:01:01.338944",
"end": "2019-05-28 09:31:49.159597",
"failed_when_result": true,
"invocation": {
"module_args": {
"_raw_params": "/srv/galaxy/var/tmp//venv/bin/shed-install -y \"name: ncbi_blast_plus\nowner: devteam\ntool_panel_section_id: BLAST\ntool_panel_section_label: BLAST\n\" -a \"111111111111111\" -g \"http://127.0.0.1:8080/\"",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"item": {
"name": "ncbi_blast_plus",
"owner": "devteam",
"tool_panel_section_id": "BLAST",
"tool_panel_section_label": "BLAST"
},
"msg": "non-zero return code",
"rc": 1,
"start": "2019-05-28 09:30:47.820653",
"stderr": "(1/1) Installing tool ncbi_blast_plus from devteam to section \"BLAST\" at revision e25d3acf6e68 (TRT: 0:00:00.893317)\r\nTraceback (most recent call last):\n File \"/srv/galaxy/var/tmp//venv/bin/shed-install\", line 10, in <module>\n sys.exit(script_main())\n File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/ephemeris/shed_install.py\", line 720, in script_main\n itm.install_tools()\n File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/ephemeris/shed_install.py\", line 627, in install_tools\n install_repository_revision(tool, self.tsc)\n File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/ephemeris/shed_install.py\", line 502, in install_repository_revision\n response = tsc.install_repository_revision(**tool)\n File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/bioblend/galaxy/toolshed/__init__.py\", line 146, in install_repository_revision\n return self._post(url=url, payload=payload)\n File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/bioblend/galaxy/client.py\", line 152, in _post\n files_attached=files_attached)\n File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/bioblend/galaxyclient.py\", line 137, in make_post_request\n timeout=self.timeout)\n File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/requests/api.py\", line 116, in post\n return request('post', url, data=data, json=json, **kwargs)\n File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/requests/api.py\", line 60, in request\n return session.request(method=method, url=url, **kwargs)\n File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/requests/sessions.py\", line 533, in request\n resp = self.send(prep, **send_kwargs)\n File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/requests/sessions.py\", line 646, in send\n r = adapter.send(request, **kwargs)\n File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/requests/adapters.py\", line 498, in send\n raise ConnectionError(err, request=request)\nrequests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine(\"''\",))",
"stderr_lines": [
"(1/1) Installing tool ncbi_blast_plus from devteam to section \"BLAST\" at revision e25d3acf6e68 (TRT: 0:00:00.893317)",
"Traceback (most recent call last):",
" File \"/srv/galaxy/var/tmp//venv/bin/shed-install\", line 10, in <module>",
" sys.exit(script_main())",
" File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/ephemeris/shed_install.py\", line 720, in script_main",
" itm.install_tools()",
" File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/ephemeris/shed_install.py\", line 627, in install_tools",
" install_repository_revision(tool, self.tsc)",
" File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/ephemeris/shed_install.py\", line 502, in install_repository_revision",
" response = tsc.install_repository_revision(**tool)",
" File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/bioblend/galaxy/toolshed/__init__.py\", line 146, in install_repository_revision",
" return self._post(url=url, payload=payload)",
" File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/bioblend/galaxy/client.py\", line 152, in _post",
" files_attached=files_attached)",
" File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/bioblend/galaxyclient.py\", line 137, in make_post_request",
" timeout=self.timeout)",
" File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/requests/api.py\", line 116, in post",
" return request('post', url, data=data, json=json, **kwargs)",
" File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/requests/api.py\", line 60, in request",
" return session.request(method=method, url=url, **kwargs)",
" File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/requests/sessions.py\", line 533, in request",
" resp = self.send(prep, **send_kwargs)",
" File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/requests/sessions.py\", line 646, in send",
" r = adapter.send(request, **kwargs)",
" File \"/srv/galaxy/var/tmp/venv/local/lib/python2.7/site-packages/requests/adapters.py\", line 498, in send",
" raise ConnectionError(err, request=request)",
"requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine(\"''\",))"
],
"stdout": "",
"stdout_lines": []
}
...ignoring
When i try to install an additional tool the installation returns an error and aborts. The webinterface is listing my installation as running and after a few it has been finished successfully. I guess this is related to #15 and #galaxyproject/galaxy#1628
playbook.yml
tools.yml
Error