-
Notifications
You must be signed in to change notification settings - Fork 94
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
Use cylc subcommand for remote functionality #2302
Comments
Just to note, the primary reason for this is: so we don't have to invoke a bash shell via ssh to ensure correct interpretation of complex commands regardless of the user's default shell. |
(and: security people evidently don't like invoking login shells over ssh) |
New commands to initialise/tidy suite directory hierarchy for remote task runs. Commands now run in the background, and launched on remote hosts as using `cylc.remote` remote run mechanism. (Tick a box in cylc#2302.) Update log and runtime database only before the real submission command. TO BE SITE TESTED
New commands to initialise/tidy suite directory hierarchy for remote task runs. Commands now run in the background, and launched on remote hosts as using `cylc.remote` remote run mechanism. (Tick a box in cylc#2302.) Update log and runtime database only before the real submission command. TO BE SITE TESTED
New commands to initialise/tidy suite directory hierarchy for remote task runs. Commands now run in the background, and launched on remote hosts as using `cylc.remote` remote run mechanism. (Tick a box in cylc#2302.) Update log and runtime database only before the real submission command. TO BE SITE TESTED
New commands to initialise/tidy suite directory hierarchy for remote task runs. Commands now run in the background, and launched on remote hosts as using `cylc.remote` remote run mechanism. (Tick a box in cylc#2302.) Update log and runtime database only before the real submission command. TO BE SITE TESTED
New commands to initialise/tidy suite directory hierarchy for remote task runs. Commands now run in the background, and launched on remote hosts as using `cylc.remote` remote run mechanism. (Tick a box in cylc#2302.) Update log and runtime database only before the real submission command.
New commands to initialise/tidy suite directory hierarchy for remote task runs. Commands now run in the background, and launched on remote hosts as using `cylc.remote` remote run mechanism. (Tick a box in cylc#2302.) Update log and runtime database only before the real submission command.
I'll be looking at the first two tick-boxes next week. The third is handled by current PR #2468 |
(after this we'll need to update the remote command transcript in the CUG) |
(assigned @matthewrmshin for the job init part). |
New commands to initialise/tidy suite directory hierarchy for remote task runs. Commands now run in the background, and launched on remote hosts as using `cylc.remote` remote run mechanism. (Tick a box in cylc#2302.) Update log and runtime database only before the real submission command.
The Plus: the ability to use batch-system-specific cat and tail commands that target the batch job ID. Plus: the need to ensure that remote tail processes die when the ssh connection is killed - this will actually be easier with a Python program at the remote end - we won't need the complicated shell expression to determine PPID in New design: a new function takes a plain log file path and, depending on args, it can print, list, cat, or tail it to stdout, or capture the file content and return it (the later for the edit mode). This function is only called on the host that the target file resides on, and will be called either locally on the suite host, or remotely on the job host via an ssh-invoked command, after all the suite-host processing that the determines exactly what the log file path is. |
[Updated previous comment with additional complexities - the two "Plus:..." sentences.] |
New commands to initialise/tidy suite directory hierarchy for remote task runs. Commands now run in the background, and launched on remote hosts as using `cylc.remote` remote run mechanism. (Tick a box in cylc#2302.) Update log and runtime database only before the real submission command.
New commands to initialise/tidy suite directory hierarchy for remote task runs. Commands now run in the background, and launched on remote hosts as using `cylc.remote` remote run mechanism. (Tick a box in cylc#2302.) Update log and runtime database only before the real submission command.
New commands to initialise/tidy suite directory hierarchy for remote task runs. Commands now run in the background, and launched on remote hosts as using `cylc.remote` remote run mechanism. (Tick a box in cylc#2302.) Update log and runtime database only before the real submission command.
E.g.:
cylc cat-log
cat-log: remote cylc sub-command #2503cylc gui
. cat-log: remote cylc sub-command #2503See also #2292, metomi/rose#2070 and metomi/rose#2075.
The text was updated successfully, but these errors were encountered: