Project

General

Profile

Actions

Feature #18790

closed

Access live container logs through arvados-client and crunch-run container gateway

Added by Tom Clegg almost 3 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Story points:
2.0
Release relationship:
Auto

Description

A command like this should show live logs on stdout, and exit when the container finishes:

$ arvados-client logs $container_request_uuid

To be implemented using Efficient live access to container logs

For now:
  • Show content from crunch-run.txt, stderr.txt, stdout.txt
  • No headers/prefixes showing which file the logs are coming from
  • Uses the endpoint on controller /arvados/v1/container_requests/{uuid}/log/{container_uuid}/{file} to poll the files.

(description updated after the fact to reflect API change, see #18790#note-23)


Subtasks 1 (0 open1 closed)

Task #20277: Review 18790-log-clientResolvedTom Clegg04/04/2023Actions

Related issues 3 (1 open2 closed)

Related to Arvados Epics - Idea #16442: Scalable + reliable container loggingResolved03/15/202308/31/2023Actions
Related to Arvados - Feature #19889: access current container logs at /arvados/v1/containers/{uuid}/log/{filename}ResolvedTom Clegg03/23/2023Actions
Related to Arvados - Idea #20458: Document arvados-client logs commandNewActions
Actions

Also available in: Atom PDF