Enhanced cleint request debug logs #369

Closed
opened 2024-04-17 11:20:53 +00:00 by alexvanin · 1 comment
Owner

There is a case when S3 Gateway is deployed to test compatibility with other S3-compatible software. When compatibility issue happens, it is often not quite clear: is it client setting issue or S3 Gateway issue. To answer this question t

Describe the solution you'd like

Add extremely detailed debug info on every request gateway accepts. Include:

  • URI and all HTTP headers,
  • Source IP / port,
  • Payload snapshot (discussable)

Enable these extra logs in config (consider hiding this setting in a build tag?).

Describe alternatives you've considered

The best solution is to set up MitM proxy between S3 Gateway and the client and look through requests sent by the client. Unfortunately, it is often impossible to do on remote site where S3 Gateway is deployed.

## Is your feature request related to a problem? Please describe. There is a case when S3 Gateway is deployed to test compatibility with other S3-compatible software. When compatibility issue happens, it is often not quite clear: is it client setting issue or S3 Gateway issue. To answer this question t ## Describe the solution you'd like Add extremely detailed debug info on every request gateway accepts. Include: - URI and all HTTP headers, - Source IP / port, - Payload snapshot (discussable) Enable these extra logs in config (consider hiding this setting in a build tag?). ## Describe alternatives you've considered The best solution is to set up MitM proxy between S3 Gateway and the client and look through requests sent by the client. Unfortunately, it is often impossible to do on remote site where S3 Gateway is deployed.
nzinkevich was assigned by alexvanin 2024-07-11 15:13:49 +00:00
alexvanin referenced this issue from a commit 2024-07-18 06:22:32 +00:00
alexvanin referenced this issue from a commit 2024-09-11 12:30:35 +00:00
Author
Owner

Done in #477

Done in https://git.frostfs.info/TrueCloudLab/frostfs-s3-gw/pulls/477
alexvanin added this to the v0.31.0 milestone 2024-09-13 10:08:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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-s3-gw#369
No description provided.