[galaxyproject/galaxy] 702870: Allow starting Galaxy under gunicorn when using ga...
Branch: refs/heads/release_18.09 Home: https://github.com/galaxyproject/galaxy Commit: 702870c17c9f27707db3c2f003356fe1b52529e0 https://github.com/galaxyproject/galaxy/commit/702870c17c9f27707db3c2f003356... Author: mvdbeek <m.vandenbeek@gmail.com> Date: 2018-09-30 (Sun, 30 Sep 2018) Changed paths: M lib/galaxy/dependencies/pipfiles/default/Pipfile M lib/galaxy/dependencies/pipfiles/default/pinned-requirements.txt M scripts/common_startup_functions.sh Log Message: ----------- Allow starting Galaxy under gunicorn when using galaxy.ini and starting Galaxy with `APP_WEBSERVER=gunicorn sh run.sh`. Additional gunicorn cmdline arguments can be passed using `GUNICORN_CMD_ARGS`. In a first pass this will allow running planemo {server, test} under python 3, as Paste has some problems under python 3: ``` galaxy.web.stack INFO 2018-09-29 22:16:00,216 Galaxy server instance 'main' is running Traceback (most recent call last): File "./scripts/paster.py", line 27, in <module> serve.run() File "/tmp/tmpv5tow6c8/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 1055, in run invoke(command, command_name, options, args[1:]) File "/tmp/tmpv5tow6c8/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 1061, in invoke exit_code = runner.run(args) File "/tmp/tmpv5tow6c8/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 226, in run result = self.command() File "/tmp/tmpv5tow6c8/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 676, in command serve() File "/tmp/tmpv5tow6c8/galaxy-dev/lib/galaxy/util/pastescript/serve.py", line 653, in serve server(app) File "/tmp/tmpv5tow6c8/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 232, in server_wrapper **context.local_conf) File "/tmp/tmpv5tow6c8/galaxy-dev/lib/galaxy/util/pastescript/loadwsgi.py", line 90, in fix_call val = callable(*args, **kw) File "/home/travis/.planemo/gx_venv_3_release_18.09/lib/python3.6/site-packages/paste/httpserver.py", line 1353, in server_runner for name, value in kwargs.items(): RuntimeError: dictionary changed size during iteration ``` That said gunicorn is a nice pure-python alternative to paste going forward. Commit: b64c82921e02d3be5de21a8a971c44279650399c https://github.com/galaxyproject/galaxy/commit/b64c82921e02d3be5de21a8a971c4... Author: mvdbeek <m.vandenbeek@gmail.com> Date: 2018-10-01 (Mon, 01 Oct 2018) Changed paths: M scripts/common_startup_functions.sh Log Message: ----------- Need quotes around export? Commit: 176364ac80130ca439006c4b75fd393ac850681b https://github.com/galaxyproject/galaxy/commit/176364ac80130ca439006c4b75fd3... Author: mvdbeek <m.vandenbeek@gmail.com> Date: 2018-10-01 (Mon, 01 Oct 2018) Changed paths: M lib/galaxy/dependencies/pipfiles/default/Pipfile M lib/galaxy/dependencies/pipfiles/default/pinned-dev-requirements.txt M lib/galaxy/dependencies/pipfiles/default/pinned-requirements.txt Log Message: ----------- Move gunicorn to dev-requirements Commit: 1a3e9ae17327f3d77fc6f64ec85c4165d4c680ef https://github.com/galaxyproject/galaxy/commit/1a3e9ae17327f3d77fc6f64ec85c4... Author: Dannon <dannon.baker@gmail.com> Date: 2018-10-01 (Mon, 01 Oct 2018) Changed paths: M lib/galaxy/dependencies/pipfiles/default/Pipfile M lib/galaxy/dependencies/pipfiles/default/pinned-dev-requirements.txt M scripts/common_startup_functions.sh Log Message: ----------- Merge pull request #6805 from mvdbeek/gunicorn_run_sh_support [18.09] Allow starting Galaxy under gunicorn when using galaxy.ini Compare: https://github.com/galaxyproject/galaxy/compare/7622d128094d...1a3e9ae17327 **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
GitHub