Bug #72543
openlogging: improve error message when log bucket policy fails
0%
Description
currently when proper policy is not set on the log bucket, bucket logging operation fail with 403. giving the impression that there is access issue with the source bucket.
note that this may happen in the case that proper policy existed for setting the bucket logging configuration on the source, but not when loggign is attempted due to an operation on the source.
e.g. policy was removed or modified from log bucket after the fact or the "Resource" field in the policy was not set correctly
this will be even more confusing for the client as the failed operation will be unrelated to bucket logging at all.
we should make sure that in such cases, on top of the 403 code we should add proper information in the error section of the response body, indicating that the access issue was related to the log bucket.
Updated by J. Eric Ivancich 9 months ago
- Tags changed from logging to logging, low-hanging-fruit
Updated by J. Eric Ivancich 9 months ago
- Assignee set to Yuval Lifshitz
Assigned to Yuval who can re-assign if he sees fit.
Updated by Yuval Lifshitz 8 months ago
- Status changed from New to Pending Backport
- Pull request ID set to 65494
Updated by Upkeep Bot 8 months ago
- Merge Commit set to 6c0b03b9eadd30c9006af33257579484e58ff930
- Fixed In set to v20.3.0-2996-g6c0b03b9ea
- Upkeep Timestamp set to 2025-09-15T07:08:15+00:00
Updated by Upkeep Bot 8 months ago
- Copied to Backport #73017: tentacle: logging: improve error message when log bucket policy fails added