Bug 1894412 - [RFE][External] RGW metrics should be made available even if anything else except 9283 is provided as the monitoring-endpoint-port
Summary: [RFE][External] RGW metrics should be made available even if anything else ex...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: rook
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: OCS 4.7.0
Assignee: Sébastien Han
QA Contact: Sidhant Agrawal
URL:
Whiteboard:
Depends On: 1921864
Blocks: 1902192 1904105 1938134
TreeView+ depends on / blocked
 
Reported: 2020-11-04 08:22 UTC by Rachael
Modified: 2021-06-01 08:50 UTC (History)
13 users (show)

Fixed In Version: 4.7.0-731.ci
Doc Type: Enhancement
Doc Text:
.Allow the configuration of the Service monitor port to differ from the default ceph-mgr Prometheus port. With this enhancement, if the external Ceph cluster is configured with a `ceph-mgr` Prometheus module listening on the non-default port (9283) then OpenShift Container Storage now can connect and consume those metrics, that is, the OpenShift Container Storage now accepts any monitoring port.
Clone Of: 1890971
: 1902192 1904105 (view as bug list)
Environment:
Last Closed: 2021-05-19 09:16:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift rook pull 173 0 None closed Bug 1894412: ceph: revert fail if mgr prometheus is not default 2021-02-19 08:36:10 UTC
Github rook rook pull 6714 0 None closed ceph: ability to set external services ports 2021-02-19 07:46:25 UTC
Github rook rook pull 7239 0 None open ceph: revert fail if mgr prometheus is not default 2021-02-16 12:00:24 UTC
Red Hat Product Errata RHSA-2021:2041 0 None None None 2021-05-19 09:16:51 UTC

Comment 7 Mudit Agarwal 2021-02-16 11:09:52 UTC
To enable this behaviour we need fix in rook and ocs-operator, this BZ is to track rook changes while the BZ to track ocs- operator changes is https://bugzilla.redhat.com/show_bug.cgi?id=1902192
Fix for https://bugzilla.redhat.com/show_bug.cgi?id=1902192 is available with 4.7.0-722.ci, can you please retest with that version.

Moving it back to ON_QA

Comment 8 Mudit Agarwal 2021-02-16 11:19:51 UTC
My bad, we still need to change the script in order for this fix to work. 
Can you please raise a new BZ to track the script part?

Arun, PTAL

Comment 9 Rachael 2021-02-16 11:26:32 UTC
Moving the bug back to assigned.

Comment 10 Sébastien Han 2021-02-16 12:00:25 UTC
Oops, missed that, fix sent.

Comment 11 arun kumar mohan 2021-02-16 12:26:03 UTC
As Sebastien had made the changes, removing the 'NEED_INFO' on me.

Comment 13 Sébastien Han 2021-02-18 13:14:56 UTC
Done.

Comment 16 Sébastien Han 2021-03-10 10:31:20 UTC
Sidhant,

It's expected, OCS will **always** have the service on 9283 but point to the correct external port which in your case is 9092.  Is there anything not working?
If Prometheus is happy and can collect metrics properly then this is **not** failed QA.

Comment 20 Sébastien Han 2021-04-27 06:34:48 UTC
LGTM.

Comment 22 errata-xmlrpc 2021-05-19 09:16:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat OpenShift Container Storage 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2041


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