Repository navigation
rgw: map transport errors and log error_ret in ops log - #73055
RaminNietzsche wants to merge 1 commit into
Conversation
|
jenkins test make check |
346b9d7 to
8f50744
Compare
|
jenkins test make check |
|
Rebased onto current |
8f50744 to
7048617
Compare
|
@adamemerson @cbodley Gentle ping for review. All checks are green on tip |
|
This PR has been added to wip-anrao9-testing-2026-11-13-0841-main. |
|
Hey Ramin, heads up. My docs PR #74155 sits on top of this one, and its make check fails on current main in unittest_rgw_cuobj_put. The cuObject tests from #70458 merged on Nov 4, after your last CI run, and they expect -EIO to come back as 500 UnknownError. Since rgw_http_error_map_key() now maps EIO to ERR_INTERNAL_ERROR, the body says InternalError instead, so 9 of the 15 cases fail on the The fix is just the test's expected code, UnknownError to InternalError in three spots: 7edf751 This PR will hit the same thing once it's rebased or merged, so you might want to pick that up here. Otherwise main's make check goes red when this lands. |
Map common transport errno values to distinct S3 Code strings and record error_ret in JSON ops log entries (encode struct v17). Use ceph::from_error_code() on rgw::io::Exception in PUT paths. Align unittest_rgw_cuobj_put with EIO -> InternalError mapping after ceph#70458 cuObject tests landed on main. Document ops log error fields in doc/radosgw/ops-log.rst. Fixes: https://tracker.ceph.com/issues/82075 Signed-off-by: ramin.najarbashi <[email protected]>
7048617 to
6f29aea
Compare
|
Rebased on current Updates:
Thanks @anthonyeleven for flagging the cuobj expectation drift — should be unblocked now. |
|
jenkins test make check |
|
@anthonyeleven Re: #73055 (comment) — addressed on |
|
@anrao19 QA coordination for tracker https://tracker.ceph.com/issues/83138 ( The earlier Shaman/QA batch for the pre-rebase tip finished without problems on our side. This branch now has a rebased squashed commit ( If that means the previous queue entry should be dropped for the old SHA, please pull it from the batch; I will ask @anthonyeleven for a quick re-review on the new tip, and once that is in we can add #73055 back for a fresh QA/Shaman run as you prefer. Jenkins make check was requested on |
Hi @RaminNietzsche typically the component leads will review the QA runs, and make a decision on passing, dropping or rejecting a change. Let's please wait for the review feedback. Thank you. |
@mheler Thanks — understood. I will not ask for queue churn on my side; we will wait for the component lead’s QA review on tracker https://tracker.ceph.com/issues/83138 and follow whatever pass / drop / reject decision comes out of that. For context only: the rebased tip is |
Summary
Codestrings (e.g.ConnectionReset,BucketResharding) viaERR_RGW_*andrgw_http_error_map_key(), instead of genericUnknownError.error_retto JSON ops log entries (encode struct v17) so operators can correlateerror_codewith the daemonop statuserrno.doc/radosgw/ops-log.rst; useceph::from_error_code()forrgw::io::Exceptionon PUT body I/O paths.Fixes: https://tracker.ceph.com/issues/82075
Testing
ninja unittest_rgw_http_errors&&./bin/unittest_rgw_http_errors(10 tests) in test environmentdoc/radosgw/ops-log.rst,PendingReleaseNotesChecklist