Bug 1947695 - Ceph dashboard deployment on RHOSP 16.1.4 HCI does not configure prometheus to scrape HCI compute nodes
Summary: Ceph dashboard deployment on RHOSP 16.1.4 HCI does not configure prometheus t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.2z2
Assignee: Guillaume Abrioux
QA Contact: Ameena Suhani S H
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-08 23:13 UTC by Cody Swanson
Modified: 2024-10-01 17:52 UTC (History)
10 users (show)

Fixed In Version: ceph-ansible-4.0.56-1.el8cp, ceph-ansible-4.0.56-1.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-15 17:14:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 6547 0 None open prometheus: enforce osd nodes in templates 2021-05-25 07:37:17 UTC
Red Hat Product Errata RHSA-2021:2445 0 None None None 2021-06-15 17:14:43 UTC

Description Cody Swanson 2021-04-08 23:13:29 UTC
Description of problem: 

When deploying the ceph-dashboard on HCI openstack deployments the dashboard does not display OSD statistics. 

Version-Release number of selected component (if applicable):
RHOSP 16.1.4
ceph-ansible-4.0.41-1.el8cp.noarch

How reproducible:
Every time


Steps to Reproduce:
1. Deploy RHOSP 16.1.4 overcloud in HCI mode with ceph dashboard enabled. 

Actual results:

Prometheus configuration on overcloud controllers only lists overcloud controllers in scrape configuration. 

Expected results:

Prometheus should scrape both controllers and HCI compute nodes. HCI compute nodes do get prometheus node exporter installed and configured however the openstack controller prometheus config is missing those nodes as scrape targets. It appears that the /usr/share/ceph-ansible/roles/ceph-prometheus/templates/prometheus.yml.j2 file filters HCI nodes.

Additional info:

See comments for additional details.

Comment 1 RHEL Program Management 2021-04-08 23:13:38 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 13 errata-xmlrpc 2021-06-15 17:14: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 (Important: Red Hat Ceph Storage 4.2 Security and Bug Fix 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:2445


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