Bug #15521

[keepstore] error reporting improvements

Added by Peter Amstutz 18 days ago. Updated 2 days ago.

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

0%

Estimated time:
Story points:
2.0

Description

From ops bug #15520

Keepstore logging improvements:

  1. Keepstore PutBlock() calls log.Printf, this line of code is untouched from 2014 (!) it is being logged in JSON format but lacks useful context like the request id.
  2. The error that is sent to the client is not logged at all.
  3. The log doesn't say anything about where the block is being fetched from -- which volume, bucket, remote cluster, anything
  4. the error that reaches the user needs to make it clear that the problem was in fetching a remote block; requires some combination of improving server and client error messages

History

#1 Updated by Peter Amstutz 18 days ago

  • Description updated (diff)

#2 Updated by Tom Morris 9 days ago

  • Target version changed from 2019-08-14 Sprint to Arvados Future Sprints

#3 Updated by Peter Amstutz 3 days ago

  • Subject changed from federation error reporting improvements to [keepstore] error reporting improvements

#4 Updated by Tom Morris 2 days ago

  • Story points set to 2.0

Also available in: Atom PDF