Project

General

Profile

Fix #8093

Two events from a server which reboots

Added by John Spray over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Backend (services)
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

The boot time is first read as one value, then appears about a second different on the next heartbeat, so a second reboot event is emitted.

Associated revisions

Revision 278b8f54 (diff)
Added by John Spray over 7 years ago

cthulhu: avoid generating false reboot events

Only report a reboot if the boot time has
moved forward in time, and if the difference
is substantial (more than 10 seconds).

The boot time that Linux reports can change
for reasons other than rebooting, I'm wondering
if this is just the NTP adjustment after boot
nudging things by about a second here and there.

Fixes: #8093

History

#1 Updated by John Spray over 7 years ago

  • Status changed from New to Fix Under Review

#2 Updated by John Spray over 7 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF