Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1844206

Summary: ceph-mgr is not updating all of the ceph OSD metadata in the prometheus metrics
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Steve Baldwin <sbaldwin>
Component: Ceph-Mgr PluginsAssignee: Kefu Chai <kchai>
Status: CLOSED NEXTRELEASE QA Contact: Madhavi Kasturi <mkasturi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3CC: ceph-eng-bugs, ceph-qe-bugs, jdurgin, kchai
Target Milestone: rc   
Target Release: 5.*   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-25 21:15:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 3 Kefu Chai 2020-06-08 10:17:03 UTC
as a workaround, we could restart the mgr, as the daemon state is not persisted on the disk. when newly booted mgr receives osdmap, it tries to query osds for latest metadata. so rebooting mgr should address this divergent information.

i also cherry-picked the fix into the latest ceph-3.3-rhel-patches, and create a branch named "ceph-3.3-rhel-patches-test-bz1844206".

HTH.