Project

General

Profile

Actions

Idea #14870

closed

[API] Access logs from previous attempts after auto-retrying a container request

Added by Tom Clegg almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Target version:
Start date:
03/01/2019
Due date:
Story points:
2.0
Release relationship:
Auto

Description

Preserve all relevant logs in the container request's log collection, even if they span multiple containers.

Instead of just replacing the CR's entire log collection when the container's log is updated:
  • Copy the container's log files into a "container ${uuid}" subdir in the container request's log collection.
  • Leave any existing "container ${uuid}" subdirs alone.
  • Also put a copy of the latest container's logs in the root dir of the container request's log collection. This way, existing scripts continue to work on new logs.

(Aside: This also helps in the case where the container record itself is really what's wanted, since that is included in the container's log collection. There are currently some exceptions -- e.g., a log collection isn't created at all when a container doesn't fit any instance type -- but those could be fixed.)


Subtasks 2 (0 open2 closed)

Task #14894: Review 14870-retry-logsResolvedPeter Amstutz03/04/2019Actions
Task #14908: Review 14870-ruby-sdk-cp-rResolvedLucas Di Pentima03/01/2019Actions

Related issues

Related to Arvados - Feature #14706: [Crunch2] Retain references + permissions to earlier containers when retrying a container requestResolvedActions
Actions

Also available in: Atom PDF