Bug 2361850

Summary: ceph-mgr throws errors when loading modules, fails to load standby mode
Product: [Fedora] Fedora Reporter: Hector Martin <marcan>
Component: cephAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 41CC: branto, i, josef, kkeithle, loic, steve
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-19.2.3-7.fc44 ceph-19.2.3-7.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-21 07:20:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.