Project

General

Profile

Actions

Bug #52327

closed

Module 'devicehealth' has failed: can't subtract offset-naive and offset-aware datetimes mgr/dashboard

Added by Benno Lange over 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
devicehealth module
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Description of problem

Since we updated to v16.2.5 (using cephadm since availability) we see this status message :-(

MGR_MODULE_ERROR: Module 'devicehealth' has failed: can't subtract offset-naive and offset-aware datetimes

ceph device get-health-metrics <devid>

also gives a similar message ...

We assume that the failure prediction does also not work anymore too ....

Environment

  • ceph version string: 16.2.5
  • Platform (OS/distro/release): Ubuntu 20.04.3 LTS
  • Cluster details (nodes, monitors, OSDs): 5 nodes, 5 monitors, 32 OSDs (hdd/ssd)
  • Browser used (e.g.: Version 86.0.4240.198 (Official Build) (64-bit)):

How reproducible

ceph device get-health-metrics <devid>

Actual results

Inferring fsid 2af6c250-ccb0-4fe8-80af-f2181098c0e4
Inferring config /var/lib/ceph/2af6c250-ccb0-4fe8-80af-f2181098c0e4/mon.ceph-a/config
Using recent ceph image ceph/ceph@sha256:9b04c0f15704c49591640a37c7adfd40ffad0a4b42fecb950c3407687cb4f29a
Error EIO: Module 'devicehealth' has experienced an error and cannot handle commands: can't subtract offset-naive and offset-aware datetimes

Expected results

here

Additional info

here


Related issues 2 (0 open2 closed)

Copied to mgr - Backport #53620: octopus: Module 'devicehealth' has failed: can't subtract offset-naive and offset-aware datetimes mgr/dashboardResolvedActions
Copied to mgr - Backport #53621: pacific: Module 'devicehealth' has failed: can't subtract offset-naive and offset-aware datetimes mgr/dashboardResolvedKonstantin ShalyginActions
Actions

Also available in: Atom PDF