ceph / ceph-container

Docker files and images to run Ceph in containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

smartctl could not scrape metrics from HPE Smart Array in HBA mode

mirex05 opened this issue · comments

Is this a bug report or feature request?

  • Bug Report

Bug Report

What happened: on current reef image (ceph:v18.2.2), in case of deploy on HW with HPE Smart Array controllers in HBA mode, smartctl could not scrape any SMART metrics, because it's requires option -d cciss,N. This behavior was changed in smartmontools 7.3 (https://www.smartmontools.org/ticket/1472), but current Ceph image contains smartmontools 7.1.

If manually add to container a newer smartmontools version (tested on smartmontools-next repo at runtime), scrape is successful and Ceph shows disk health data.

What you expected to happen: SMART metrics scraped successfully

How to reproduce it (minimal and precise):

Deploy 18.2.2 Ceph image on any HW with HPE Smart Array in HBA mode and try to scrape SMART metrics.

Environment:

  • OS (e.g. from /etc/os-release): Debian 12
  • Kernel (e.g. uname -a): 6.1.0-20-amd64
  • Docker version (e.g. docker version): podman 4.3.1
  • Ceph version (e.g. ceph -v): 18.2.2