Bug 2252255 - kafka crashed during message callback
Summary: kafka crashed during message callback
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 7.0z1
Assignee: Yuval Lifshitz
QA Contact: Hemanth Sai
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks: 2252256 2260311
TreeView+ depends on / blocked
 
Reported: 2023-11-30 11:46 UTC by Yuval Lifshitz
Modified: 2024-03-07 11:40 UTC (History)
7 users (show)

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.
Clone Of:
: 2252256 (view as bug list)
Environment:
Last Closed: 2024-03-07 11:40:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-7977 0 None None None 2023-11-30 11:48:10 UTC
Red Hat Product Errata RHBA-2024:1214 0 None None None 2024-03-07 11:40:36 UTC

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


Note You need to log in before you can comment on or make changes to this bug.