Bug 2361850 - ceph-mgr throws errors when loading modules, fails to load standby mode
Summary: ceph-mgr throws errors when loading modules, fails to load standby mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ceph
Version: 41
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-23 12:41 UTC by Hector Martin
Modified: 2025-08-21 07:23 UTC (History)
6 users (show)

Fixed In Version: ceph-19.2.3-7.fc44 ceph-19.2.3-7.fc43
Clone Of:
Environment:
Last Closed: 2025-08-21 07:20:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 71040 0 None None None 2025-04-23 18:07:46 UTC

Description Hector Martin 2025-04-23 12:41:35 UTC
ceph-mgr spews unexpected errors when loading modules, like this (for ~every module):

2025-04-23T21:33:16.119+0900 ffff902f4040  1 mgr[py] Loading python module 'prometheus'
2025-04-23T21:33:16.235+0900 ffff902f4040  4 mgr[py] load_subclass_of: found class: 'prometheus.Module'
2025-04-23T21:33:16.235+0900 ffff902f4040 -1 mgr[py] Module prometheus has missing NOTIFY_TYPES member
2025-04-23T21:33:16.235+0900 ffff902f4040 -1 mgr[py] Module not found: 'mgr_module'
2025-04-23T21:33:16.235+0900 ffff902f4040 -1 mgr[py] AttributeError: type object 'Module' has no attribute 'NOTIFY_TYPES'

2025-04-23T21:33:16.235+0900 ffff902f4040  4 mgr[py] Standby mode not provided by module 'prometheus'

The `Module not found` for mgr_module in particular is suspicious.

Note that prometheus *does* provide a standby mode, so this is broken (and breaks the functionality that standby mgrs can still be scraped). 

This is after uninstalling `ceph-mgr-diskprediction-local` to work around bug 2307587.

This is a regression from F40.

Reproducible: Always

Comment 1 Hector Martin 2025-08-20 05:11:49 UTC
Still repros FWIW.

Comment 2 Fedora Update System 2025-08-21 07:12:39 UTC
FEDORA-2025-388a33dba5 (ceph-19.2.3-7.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-388a33dba5

Comment 3 Fedora Update System 2025-08-21 07:13:41 UTC
FEDORA-2025-8980016c6f (ceph-19.2.3-7.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-8980016c6f

Comment 4 Fedora Update System 2025-08-21 07:20:26 UTC
FEDORA-2025-388a33dba5 (ceph-19.2.3-7.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2025-08-21 07:23:26 UTC
FEDORA-2025-8980016c6f (ceph-19.2.3-7.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


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