Actions
Bug #56463
openosd nodes with NVME try to run `smartctl` and `nvme` even when the tools are not installed
Status:
Triaged
Priority:
Normal
Assignee:
-
Category:
Code Hygiene
Target version:
-
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Monitor, OSD
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Using debian packages:
ceph-osd 17.2.1-1~bpo11+1
ceph-volume 17.2.1-1~bpo11+1
Every day some job runs which triggers 2 security notifications. The contents are:
hostname : Jul 4 00:04:39 : ceph : a password is required ; PWD=/ ; USER=root ; COMMAND=smartctl -x --json=o /dev/nvme0n1
hostname : Jul 4 00:04:41 : ceph : a password is required ; PWD=/ ; USER=root ; COMMAND=nvme 0x1344 smart-log-add --json /dev/nvme0n1
Neither smartctl nor nvme are actually installed. The debian package doesn't depend on them. Either the dependencies should be required or script running these commands should first check if the tools exist.
Updated by Radoslaw Zarzynski almost 2 years ago
- Status changed from New to Triaged
They are called from block_device_get_metrics()
in common/blkdev.cc
.
Actions