Bug 2257619 - ceph-exporter should expose metrics endpoints externally
Summary: ceph-exporter should expose metrics endpoints externally
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ceph-monitoring
Version: 4.15
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: arun kumar mohan
QA Contact: Harish NV Rao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-10 10:11 UTC by arun kumar mohan
Modified: 2024-04-01 03:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-01 03:05:59 UTC
Embargoed:


Attachments (Terms of Use)

Description arun kumar mohan 2024-01-10 10:11:05 UTC
Description of problem (please be detailed as possible and provide log
snippests):

Currently ceph-exporter doesn't expose metrics endpoints externally. This blocks OCP Prometheus from pulling Ceph perf counter metrics and RBD mirror metrics.

This is applicable to ceph-cluster prometheus as well. If the prometheus and ceph-exporter are on same node, prometheus scrapes successfully, but if the ceph-exporter is on different node we have the same issue (where prometheus is unable to get the exporter metrics).
PS: This issue is visible from the Prometheus UI deployed in Ceph under "Targets".


Version of all relevant components (if applicable):


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
Yes, ODF console dashboard is unable to show perf/RBD metrics/graphs


Is there any workaround available to the best of your knowledge?
No

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1


Can this issue reproducible?
Yes

Can this issue reproduce from the UI?
Yes

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. 
2.
3.


Actual results:
In release-4.15, a multicluster ODF has two namespaces, 'openshift-storage' and 'openshift-storage-extended' namespace.
ODF console dashboard unable to show any metrics populated from ceph-exporter in 'openshift-storage-extended' namespace. It is currently only showing the metrics from 'openshift-storange' namespace

Expected results:
Dashboard should show (customers) graphs and metrics from both the namespaces.

Additional info:

Comment 1 arun kumar mohan 2024-01-22 13:40:13 UTC
This needs to go in for 4.15 and this is very much needed for exposing ceph performance metrics to ODF Console in a multicluster scenario.
Marking this as blocker for upcoming 4.15 release.

Comment 5 arun kumar mohan 2024-01-25 07:52:09 UTC
Had a talk with Avan and he confirmed that the first part (in the above Umanga mentioned list) is already done/implemented.
I am working on the 'python script' part (second in the list) and third.
Assigning it myself.

Comment 7 arun kumar mohan 2024-01-25 08:41:51 UTC
Moving the status back to 'New' as this is moved out of 4.15 blocker.

Comment 8 arun kumar mohan 2024-02-02 10:34:30 UTC
Removing the `Blocks` bz-ids, as this BZ is no longer blocking any other BZs.

Comment 9 arun kumar mohan 2024-04-01 03:05:59 UTC
Closing the BZ as 'WONTFIX'. Currently we are not planning to expose any RBD metrics in external mode.
BZ can be reopened if needed.


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