Bug 1847685 - monitor crashes due to negative timespan
Summary: monitor crashes due to negative timespan
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 4.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: z1
: 4.1
Assignee: Neha Ojha
QA Contact: Manohar Murthy
Aron Gunn
URL:
Whiteboard:
: 1862916 (view as bug list)
Depends On:
Blocks: 1816167 1846989 1903969
TreeView+ depends on / blocked
 
Reported: 2020-06-16 19:28 UTC by Josh Durgin
Modified: 2023-12-15 18:11 UTC (History)
18 users (show)

Fixed In Version: ceph-14.2.8-90.el8cp, ceph-14.2.8-90.el7cp
Doc Type: Bug Fix
Doc Text:
.Crashing Ceph Monitors caused by a negative time span Previously, Ceph Monitors could crash when triggered by a monotonic clock going back in time. These crashes caused a negative monotonic time span and triggered an assertion into the Ceph Monitor leading them to crash. The Ceph Monitor code was updated to tolerate this assertion and interprets it as a zero-length interval and not a negative value. As a result, the Ceph Monitor does not crash when this assertion is made.
Clone Of:
Environment:
Last Closed: 2020-08-19 19:50:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 43365 0 None None None 2020-06-16 19:28:57 UTC
Github ceph ceph pull 34542 0 None closed nautilus: common/ceph_time: tolerate mono time going backwards 2020-12-22 07:02:42 UTC
Red Hat Issue Tracker RHCEPH-8048 0 None None None 2023-12-15 18:11:54 UTC
Red Hat Knowledge Base (Solution) 5254921 0 None None None 2020-07-30 06:43:47 UTC
Red Hat Product Errata RHBA-2020:3524 0 None None None 2020-08-19 19:50:35 UTC

Description Josh Durgin 2020-06-16 19:28:58 UTC
Description of problem:
Monitors can hit an assert about timespan durations not being negative.

Version-Release number of selected component (if applicable):
4.x

How reproducible:
sometimes, unreliable but many user reports - may depend on hardware/kernel version.

Comment 1 Neha Ojha 2020-08-03 16:47:55 UTC
*** Bug 1862916 has been marked as a duplicate of this bug. ***

Comment 2 Scott Ostapovicz 2020-08-05 14:59:24 UTC
Is this a regression, or was this problem already present?

Comment 3 Josh Durgin 2020-08-05 15:13:17 UTC
(In reply to Scott Ostapovicz from comment #2)
> Is this a regression, or was this problem already present?

This is not a regression. It's present since 4.0.

Comment 15 errata-xmlrpc 2020-08-19 19:50:24 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 4.1 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-2020:3524


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