Bug 2153533

Summary: [RGW][Notification][kafka]: object size 0 seen in event record upon lifecycle expiration event
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Hemanth Sai <hmaheswa>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED ERRATA QA Contact: Hemanth Sai <hmaheswa>
Severity: medium Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 6.0CC: akraj, cbodley, ceph-eng-bugs, cephqe-warriors, kbader, kdreyer, kkeithle, mbenjamin, ylifshit
Target Milestone: ---Keywords: Automation, Regression
Target Release: 6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
.Object size and `etag` values are no longer sent as `0`/`empty` Previously, some object metadata would not be decoded before dispatching bucket notifications from the lifecycle. Due to this, object size and `etag` values were sent as `0`/`empty` in notifications from lifecycle events. With this fix, object metadata is fetched and values are now correctly sent with notifications.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-15 09:16:27 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: 2192813    

Comment 17 Ken Dreyer (Red Hat) 2023-04-03 20:36:27 UTC
https://tracker.ceph.com/issues/58287 links to https://github.com/ceph/ceph/pull/49466 . These commits from that PR are not yet downstream:

rgw/notifications: fetch object state to get size, in rgw_lc.cc
rgwlc/notifications: also fix etag

Comment 24 errata-xmlrpc 2023-06-15 09:16:27 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 6.1 security and bug fix 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-2023:3623

Comment 25 Red Hat Bugzilla 2023-10-14 04:25:35 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days