Bug 2252255

Summary: kafka crashed during message callback
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Yuval Lifshitz <ylifshit>
Component: RGWAssignee: Yuval Lifshitz <ylifshit>
Status: CLOSED ERRATA QA Contact: Hemanth Sai <hmaheswa>
Severity: high Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 7.0CC: ceph-eng-bugs, cephqe-warriors, jcaratza, mbenjamin, rmandyam, rpollack, tserlin
Target Milestone: ---   
Target Release: 7.0z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-18.2.0-138.el9cp Doc Type: Bug Fix
Doc Text:
Previously, in some cases, a race condition existed that affected async notification endpoint completion handlers. As a result, a segfault occurs, depending on the timing. With this fix, a logic change is introduced to resolve the race condition and the segfault case is resolved.
Story Points: ---
Clone Of:
: 2252256 (view as bug list) Environment:
Last Closed: 2024-03-07 11:40:29 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: 2252256, 2260311    

Description Yuval Lifshitz 2023-11-30 11:46:35 UTC
Description of problem: when sending bucket notifications to a kafka broker the RGW occasionally crash. this was observed upstream, details are here: https://tracker.ceph.com/issues/63314

did not reproduce downstream, however, the issue exists in downstream code as well.

Comment 1 RHEL Program Management 2023-11-30 11:46:47 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 2 Yuval Lifshitz 2023-11-30 13:41:34 UTC
ommit 2ca4e05aa763c0f77266df0a5346f2466465e088 (HEAD -> ceph-7.0-rhel-patches, yuvalif/ceph-7.0-rhel-patches, rhcs/ceph-7.0-rhel-patches)
Author: Yuval Lifshitz <ylifshit>
Date:   Tue Nov 28 17:49:03 2023 +0000

    rgw/kafka/amqp: fix race conditionn in async completion handlers
    
    Fixes: https://tracker.ceph.com/issues/63314
    
    Signed-off-by: Yuval Lifshitz <ylifshit>
    (cherry picked from commit 3e6d5273fc408efab9012883d4d16c0299e62b83)
    
    Resolves: rhbz#2252255
    
     Conflicts:
            src/rgw/driver/rados/rgw_pubsub_push.cc

Comment 14 errata-xmlrpc 2024-03-07 11:40:29 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 (Red Hat Ceph Storage 7.0 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/RHBA-2024:1214