Bug 1489866 - ensure that multiple CephContexts in a process image don't crash the program
Summary: ensure that multiple CephContexts in a process image don't crash the program
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 3.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: z2
: 3.0
Assignee: Patrick Donnelly
QA Contact: Parikshith
URL:
Whiteboard:
Depends On: 1548067
Blocks: 1475544
TreeView+ depends on / blocked
 
Reported: 2017-09-08 14:08 UTC by Jeff Layton
Modified: 2018-04-26 17:39 UTC (History)
11 users (show)

Fixed In Version: RHEL: ceph-12.2.4-1.el7cp Ubuntu: ceph_12.2.4-2redhat1
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-04-26 17:38:39 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 20988 0 None None None 2017-09-08 14:08:37 UTC
Ceph Project Bug Tracker 21512 0 None None None 2017-10-06 14:19:55 UTC
Ceph Project Bug Tracker 21525 0 None None None 2018-03-07 13:17:37 UTC
Red Hat Product Errata RHBA-2018:1259 0 None None None 2018-04-26 17:39:38 UTC

Description Jeff Layton 2017-09-08 14:08:37 UTC
Currently, when you create a new ceph client we also create a CephContext to hold some global information. Each client that ganesha creates is currently creating its own CephContext and those can interfere with one another.

Ensure that we only create a CephContext when one doesn't already exist.

Comment 2 Jeff Layton 2017-09-11 18:27:57 UTC
I see that this was reassigned to cephfs. To be clear, this is _not_ a cephfs specific problem, as far as I can tell. The CephContext is also used by librados, and programs that use it directly will need to be fixed in a similar fashion.

Comment 4 Jeff Layton 2017-10-06 14:19:56 UTC
I've been tracking this in the associated upstream ceph bug (# 21512). There is a pull request in flight now but it needs some review and an ack from one of the authors of that piece of code.

Comment 5 Jeff Layton 2017-10-20 13:59:06 UTC
Upstream set has been merged.

Comment 17 Ramakrishnan Periyasamy 2018-03-19 10:58:13 UTC
Provided qa_ack, clearing needinfo flag.

Comment 25 Ramakrishnan Periyasamy 2018-04-11 03:36:38 UTC
Thanks for the Help Patrick

Moving this bug to verified state.

Comment 29 errata-xmlrpc 2018-04-26 17:38:39 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, 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-2018:1259


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