Bug 2251176 - [RHOSP 17.1] Ceph dashboard looks for endpoints that are not available in haproxy config.
Summary: [RHOSP 17.1] Ceph dashboard looks for endpoints that are not available in hap...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z4
: 17.1
Assignee: Manoj Katari
QA Contact: Alfredo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-23 09:21 UTC by Luca Davidde
Modified: 2024-11-21 09:39 UTC (History)
9 users (show)

Fixed In Version: tripleo-ansible-3.3.1-17.1.20231201170809.8debef3.el9ost
Doc Type: Bug Fix
Doc Text:
Before this update, the Ceph Dashboard could not reach the Prometheus service endpoint and displayed the following error message: `404 not found.` This error occurred because the configuration of the VIP for the Prometheus service was not correct. In RHOSP 17.1.4, this problem has been resolved and the Dashboard is now able to reach the Prometheus service endpoint.
Clone Of:
Environment:
Last Closed: 2024-11-21 09:39:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 901964 0 None MERGED Fix prometheus error on ceph dashboard 2023-12-03 17:47:47 UTC
Red Hat Issue Tracker OSP-30539 0 None None None 2023-11-23 09:22:15 UTC
Red Hat Knowledge Base (Solution) 7046767 0 None None None 2023-11-27 15:00:27 UTC
Red Hat Product Errata RHBA-2024:9974 0 None None None 2024-11-21 09:39:09 UTC

Comment 16 Manoj Katari 2023-11-28 13:14:52 UTC
Thanks Francesco for the analysis.
I proposed a patch to deploy prometheus and alertmanager on the storage network.

Comment 17 Manoj Katari 2023-12-04 05:03:10 UTC
how to test:

Deply ceph with dashboard enabled and then check if

- ceph dashboard prometheus config ( #ceph dashboard get-prometheus-api-host ) should match with ceph_promethus config in haproxy (/var/lib/config-data/puppet-generated/haproxy/etc/haproxy/haproxy.cfg )
- prometheus and alert_manager vip is tied to storage network
- ceph dashboard shouln't report any error saying 'unable to reach prometheus endpoint'

Comment 23 Manoj Katari 2023-12-20 18:02:09 UTC
Hi Gareth,

The workaround mentioned in the doc text has ip details which will not be same for all environments.

I feel it is better to get rid of the workaround details in doc text (as we have the fix already) and keep it simple. wdyt ?

Regards,
Manoj Katari

Comment 34 Manoj Katari 2024-05-02 09:57:56 UTC
yeah, this fix is not part of the latest compose and the target milestone is set to z4 already.

Comment 41 Manoj Katari 2024-10-13 01:30:14 UTC
Hi Greg,

Bug is fixed and targeted for z4, @alfrgarc can comment on verification part.

In z4 release notes, i agree that it should be a 'Bug fix' rather than a 'known issue'.

Comment 44 Manoj Katari 2024-10-28 10:08:48 UTC
Hi Greg,

Proposed Doc text works for me.

Comment 49 errata-xmlrpc 2024-11-21 09:39:06 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 (RHOSP 17.1.4 bug fix and enhancement advisory), 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/RHBA-2024:9974


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