[galaxyproject/galaxy] d2dc22: Use RetryActionExecutor when executing commands vi...
Branch: refs/heads/release_18.05 Home: https://github.com/galaxyproject/galaxy Commit: d2dc22d97f35ff1c4cc780ce03c3a6e41ded86cb https://github.com/galaxyproject/galaxy/commit/d2dc22d97f35ff1c4cc780ce03c3a... Author: mvdbeek <m.vandenbeek@gmail.com> Date: 2018-05-16 (Wed, 16 May 2018) Changed paths: M lib/galaxy/jobs/runners/util/cli/shell/rsh.py Log Message: ----------- Use RetryActionExecutor when executing commands via paramiko This should work around issues like ``` galaxy.jobs.runners ERROR 2018-05-16 10:15:55,522 [p:13768,w:0,m:1] [ShellRunner.work_thread-3] (34130) Unhandled exception calling queue_job Traceback (most recent call last): File "lib/galaxy/jobs/runners/__init__.py", line 112, in run_next method(arg) File "lib/galaxy/jobs/runners/cli.py", line 94, in queue_job chmod_out = shell.execute("chmod +x %s" % tool_script) File "lib/galaxy/jobs/runners/util/cli/shell/rsh.py", line 77, in execute self.connect() File "lib/galaxy/jobs/runners/util/cli/shell/rsh.py", line 69, in connect timeout=self.timeout) File "/bioinfo/guests/mvandenb/galaxy/.venv/local/lib/python2.7/site-packages/paramiko/client.py", line 424, in connect passphrase, File "/bioinfo/guests/mvandenb/galaxy/.venv/local/lib/python2.7/site-packages/paramiko/client.py", line 714, in _auth raise saved_exception SSHException: not a valid OPENSSH private key file ``` that can intermittently occur with rapid submission of many small jobs. Commit: 7029cb936a9f016a7f714dcbdc88709231ee8d5a https://github.com/galaxyproject/galaxy/commit/7029cb936a9f016a7f714dcbdc887... Author: Dannon <dannon.baker@gmail.com> Date: 2018-05-16 (Wed, 16 May 2018) Changed paths: M lib/galaxy/jobs/runners/util/cli/shell/rsh.py Log Message: ----------- Merge pull request #6149 from mvdbeek/fix_stuck_jobs_when_paramiko_fails [18.05] Use RetryActionExecutor when executing commands via paramiko Compare: https://github.com/galaxyproject/galaxy/compare/5c455c4472f8...7029cb936a9f **NOTE:** This service 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