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 1947695

Summary: Ceph dashboard deployment on RHOSP 16.1.4 HCI does not configure prometheus to scrape HCI compute nodes
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Cody Swanson <cswanson>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Ameena Suhani S H <amsyedha>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: aschoen, ceph-eng-bugs, gmeno, mmuench, nnavarat, nthomas, tpetr, tserlin, vereddy, ykaul
Target Milestone: ---   
Target Release: 4.2z2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-15 17:14:13 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:

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