Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2365697

Summary: [rgw][server-access-logging]: REST.POST.UPLOAD (complete multipart) log record is not populated with object size even in the Standard mode
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Hemanth Sai <hmaheswa>
Component: RGWAssignee: Yuval Lifshitz <ylifshit>
Status: CLOSED ERRATA QA Contact: Hemanth Sai <hmaheswa>
Severity: high Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 8.1CC: ceph-eng-bugs, cephqe-warriors, mkasturi, rpollack, tserlin, ylifshit
Target Milestone: ---   
Target Release: 9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-20.1.0-26 Doc Type: Bug Fix
Doc Text:
.Multipart upload completion logs now include object size Previously, the log record for multipart upload completion did not include the object size. With this fix, the object size is now included in the completion log record.
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-29 06:49:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2388233    

Description Hemanth Sai 2025-05-12 18:07:25 UTC
Description of problem:
REST.POST.UPLOAD (complete multipart) log record is not populated with object size even in the Standard mode



log record for complete-multipart-upload in Standard mode:

pauly.401 src-bkt0-pauly.401 [08/May/2025:19:12:05 +0000] 10.0.65.193 pauly.401 5e6f2b5c-dd8e-4486-9a15-557e1841107e.27331.8235357407189708357 REST.POST.UPLOAD key_src-bkt0-pauly.401_9 "POST /src-bkt0-pauly.401/key_src-bkt0-pauly.401_9?uploadId=2~BWe8D0aD8V2QLx6EoMWZ9QVh65SUQF8 HTTP/1.1" 200 - 271 - - 23ms - "Boto3/1.38.11 md/Botocore#1.38.11 ua/2.1 os/linux#5.14.0-503.40.1.el9_5.x86_64 md/arch#x86_64 lang/python#3.9.21 md/pyimpl#CPython m/N cfg/retry-mode#legacy Botocore/1.38.11 Resource" - - SigV4 TLS_AES_256_GCM_SHA384 AuthHeader 10.0.66.102 TLSv1.3 - -


but the next requests of delete-object contain object size:

pauly.401 src-bkt0-pauly.401 [08/May/2025:19:12:06 +0000] 10.0.65.193 pauly.401 5e6f2b5c-dd8e-4486-9a15-557e1841107e.27331.14153541671158738640 REST.POST.DELETE_MULTI_OBJECT copy_of_objectkey_src-bkt0-pauly.401_9 "POST /src-bkt0-pauly.401?delete HTTP/1.1" 200 - 1245 7820305 - 24ms - "Boto3/1.38.11 md/Botocore#1.38.11 ua/2.1 os/linux#5.14.0-503.40.1.el9_5.x86_64 md/arch#x86_64 lang/python#3.9.21 md/pyimpl#CPython m/N cfg/retry-mode#legacy Botocore/1.38.11 Resource" - - SigV4 TLS_AES_256_GCM_SHA384 AuthHeader 10.0.66.102 TLSv1.3 - -


Version-Release number of selected component (if applicable):
ceph version 19.2.1-184.el9cp

How reproducible:
always

Steps to Reproduce:
1.create multipart upload
2.upload parts
3.complete multipart upload.

Actual results:
object size in log record for complete-multipart-upload is not populated even in the standard mode

Expected results:
expected object size is populated for complete-multipart-upload log record in the standard mode

Additional info:
automation log: http://magna002.ceph.redhat.com/cephci-jenkins/hsm/PR_server_access_loggin_sanity/with_rgw_ssl_endpoint/test_bucket_logging_standard_mode_multipart.console.log

Comment 7 errata-xmlrpc 2026-01-29 06:49:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 9.0 Security and Enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2026:1536