Enhance log messages with connection errors. Add addresses of nodes #1342

Open
opened 2024-08-29 06:33:57 +00:00 by anikeev-yadro · 2 comments
Member

For better triage process need to add addres of node which drop connection in log messages.
Example message with error:

авг 27 14:03:40 yolorock-node4 frostfs-node[191032]: 2024-08-27T14:03:40.758Z        warn        get/assemble.go:54        failed to assemble splitted object        {"component": "Object.Get service", "request": "GET", "address": "4Ez3ysNNJMoh73JRgRtxsdjYwbbtGCynfvU9jPdWJcJA/9RCjiYDkMNNLZqqcqUeE9ipgw1iVVhRVwKqwxxGudDJ", "raw": false, "local": false, "with session": false, "with bearer": true, "error": "rpc error: code = Unavailable desc = transport is closing", "range_offset": 0, "range_length": 0}
For better triage process need to add addres of node which drop connection in log messages. Example message with error: ``` авг 27 14:03:40 yolorock-node4 frostfs-node[191032]: 2024-08-27T14:03:40.758Z warn get/assemble.go:54 failed to assemble splitted object {"component": "Object.Get service", "request": "GET", "address": "4Ez3ysNNJMoh73JRgRtxsdjYwbbtGCynfvU9jPdWJcJA/9RCjiYDkMNNLZqqcqUeE9ipgw1iVVhRVwKqwxxGudDJ", "raw": false, "local": false, "with session": false, "with bearer": true, "error": "rpc error: code = Unavailable desc = transport is closing", "range_offset": 0, "range_length": 0} ```
anikeev-yadro added the
triage
label 2024-08-29 06:33:57 +00:00
fyrchik added the
frostfs-node
label 2024-08-29 12:35:19 +00:00
fyrchik added the
observability
label 2024-09-12 13:09:56 +00:00
Owner

I think the best way to do this is to add wrapping in multiClient, when returning an error.
We use multiclient everywhere.

I think the best way to do this is to add wrapping in `multiClient`, when returning an error. We use multiclient everywhere.
fyrchik added this to the v0.43.0 milestone 2024-09-13 13:13:18 +00:00
achuprov was assigned by fyrchik 2024-09-13 13:13:28 +00:00
Owner

Discuss it with @acid-ant and @dstepanov-yadro then do

Discuss it with @acid-ant and @dstepanov-yadro then do
fyrchik modified the milestone from v0.43.0 to v0.44.0 2024-09-30 11:51:30 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1342
No description provided.