Bug 2074512

Summary: [RFE] Allow containerized node-exporter to collect stats from the host storage devices
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Guillaume Abrioux <gabrioux>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED ERRATA QA Contact: Rahul Lepakshi <rlepaksh>
Severity: low Docs Contact: Mary Frances Hull <mhull>
Priority: unspecified    
Version: 5.1CC: adking, amsyedha, amuller, anpicker, aos-bugs, aschoen, bniver, ceph-eng-bugs, ceph-qe-bugs, erooth, gabrioux, gmeno, ivan.datko, jfajersk, mgowri, mhackett, mmuench, nthomas, pgough, rmandyam, smykhail, tserlin, vereddy, ykaul
Target Milestone: ---Keywords: FutureFeature
Target Release: 5.1z1Flags: rlepaksh: needinfo-
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-16.2.7-106.el8cp Doc Type: Bug Fix
Doc Text:
.The node-exporter can now collect the stats from the host’s storage devices Previously, the node-exporter could not collect stats from the host’s storage devices as it did not have a few container flags from the default node-exporter deployed with `cephadm`. With this update, `--path.procfs=/host/proc`, `--path.sysfs=/host/sys`, and `--path.rootfs=/rootfs` flags are added to the node-exporter command. These directories are now properly mounted in the container and stats can be collected from the host’s storage devices.
Story Points: ---
Clone Of: 2028775 Environment:
Last Closed: 2022-05-18 10:38:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2028775    
Bug Blocks: 2085458    

Comment 17 errata-xmlrpc 2022-05-18 10:38:18 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 (Red Hat Ceph Storage 5.1 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/RHBA-2022:4622