Feature #4503

[SDKs] Option to watch logs (instead of exiting) when queuing a job or pipeline instance using arv job create, arv pipeline run, etc.

Added by Tom Clegg over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
1.0

Description

Much like the -c in xen create guestname -c.

Adding this to arv job create should be fairly straightforward: instead of exiting, run arv job log --uuid {foo} (or whatever #3980 looks like).

Adding this to arv pipeline run --submit should be just as easy: after submitting, either exec() or just switch to arv pipeline run --log-only mode.

Adding this to arv pipeline run --run-pipeline-here is a bit trickier but it comes with a prize. Since the a-r-p-i process itself needs to keep running and monitoring the jobs anyway, it should listen to a websocket instead of polling. This part of the story is a lower priority, though (it's not the most common use case) so it should be set aside until the above features are implemented and merged.

arv pipeline run --run-jobs-here doesn't need this at all, of course.


Related issues

Blocked by Arvados - Feature #3980: [SDKs] CLI tool to view real time logs from running jobs/pipelines, much like the Log tab of the Workbench PipelineInstance#show pageNew2014-09-24

History

#1 Updated by Tom Clegg over 4 years ago

  • Description updated (diff)

Also available in: Atom PDF