Project

General

Profile

Actions

Feature #59543

open

cephadm: add health warn when a placement spec cannot be satisifed

Added by Michael Fritch about 1 year ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
cephadm
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

  1. when no hosts at all are matched by the spec (existing daemons + daemons to place both empty)
  2. when we want to move daemons from offline hosts but no other hosts match the spec (e.g. haproxy/nfs)
  3. Probably exclude core services (osds, mons, mgr) and rely on their respective health warnings instead
Actions #1

Updated by Redouane Kachach Elhichou 10 months ago

For the point #1 we already have checks to make sure specified hosts are valid:

https://github.com/ceph/ceph/blob/main/src/pybind/mgr/cephadm/schedule.py#L195-L215

Normally if this happen cephadm will not allow applying the service spec.

Actions

Also available in: Atom PDF