Project

General

Profile

Actions

Bug #50657

closed

smart query on monitors

Added by Jan-Philipp Litza almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Since the upgrade to Pacific, our manager queries each daemon for smart statistics.

This is fine on the OSDs (at least once they are updated, since they don't have the appropriate sudoers file otherwise), but on the monitors this causes these mails:

ceph : user NOT in sudoers ; TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/smartctl -x --json=o /dev/

There are two problems here:

  1. The sudoers file is contained in the (deb) package ceph-osd, which isn't installed on our monitors - hence the "user NOT in sudoers" message
  2. The command doesn't contain a device name at the end, since the monitor doesn't have a device. So this call doesn't make any sense even if the sudoers file was in place.

Related issues 3 (0 open3 closed)

Related to RADOS - Bug #52416: devices: mon devices appear empty when scraping SMART metricsResolved

Actions
Copied to RADOS - Backport #52450: pacific: smart query on monitorsResolvedCory SnyderActions
Copied to RADOS - Backport #52451: octopus: smart query on monitorsResolvedCory SnyderActions
Actions

Also available in: Atom PDF