Project

General

Profile

Actions

Feature #20433

closed

Config option to have crunch-run stop sending logs to logs table

Added by Peter Amstutz over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Story points:
0.5
Release relationship:
Auto

Subtasks 1 (0 open1 closed)

Task #20443: Review 20433-crunch-log-zero-bytes-jobResolvedBrett Smith05/31/2023Actions

Related issues 1 (0 open1 closed)

Related to Arvados Epics - Idea #16442: Scalable + reliable container loggingResolved03/15/202308/31/2023Actions
Actions #1

Updated by Peter Amstutz over 1 year ago

  • Target version changed from Future to Development 2023-05-10 sprint
Actions #2

Updated by Peter Amstutz over 1 year ago

  • Story points set to 0.5
  • Assigned To set to Tom Clegg
  • Category set to Crunch
Actions #3

Updated by Tom Clegg over 1 year ago

  • Related to Idea #16442: Scalable + reliable container logging added
Actions #4

Updated by Peter Amstutz over 1 year ago

  • Assigned To changed from Tom Clegg to Brett Smith
Actions #5

Updated by Tom Clegg over 1 year ago

We already have this

        # Maximum bytes that may be logged by a single job.  Log bytes that are                                                                                             
        # silenced by throttling are not counted against this total.                                                                                                        
        LimitLogBytesPerJob: 67108864

Perhaps we just need to ensure (and document) that setting this to 0 disables all the "create log" API calls (rather than meaning "unlimited").

Actions #6

Updated by Peter Amstutz over 1 year ago

  • Target version changed from Development 2023-05-10 sprint to Development 2023-05-24 sprint
Actions #7

Updated by Peter Amstutz over 1 year ago

  • Target version changed from Development 2023-05-24 sprint to Development 2023-06-07
Actions #8

Updated by Brett Smith over 1 year ago

20433-crunch-log-zero-bytes-job @ f4cb9b474add3becb58dccaf555c2a52d15cbd27 - developer-run-tests: #3682

This branch does the bare minimum of testing the specific case where LimitLogBytesPerJob=0 and documenting the behavior. Note that in this case the container still creates a single log record noting that the throttle is in effect. I do think we should leave this as an affordance so users don't wonder why their Workbench log viewer is empty if they see that.

There are various things we could do to make this more user-friendly, but I assume none of them are worth time or effort given the plan to replace this system completely in the short-to-medium term.

Actions #9

Updated by Tom Clegg over 1 year ago

Agree on both points.

LGTM, thanks.

Actions #10

Updated by Brett Smith over 1 year ago

  • Status changed from New to Resolved
Actions #11

Updated by Peter Amstutz over 1 year ago

  • Release set to 64
Actions

Also available in: Atom PDF