Project

General

Profile

Actions

Bug #44252

closed

cephadm: mgr,mds scale-down should prefer standby daemons

Added by Sage Weil about 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
cephadm/scheduler
Target version:
% Done:

0%

Source:
Tags:
low-hanging-fruit
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

There are three types of daemons:

1. active daemons
2. standby daemons
3. unknown daemons that are (not yet) part of the mdsmap or mgrmap.

When cephadm removes a daemon, it should do so in the following order:

1. standby daemons
2. unknown daemons
3. active daemons

Things that need to be done:

1. implement missing

https://github.com/ceph/ceph/blob/749da74e2d9af075c2f365516cf9ea4370b58ec0/src/pybind/mgr/cephadm/services/cephadmservice.py#L40

2. make the scheduler prefer active daemons when placing them.


Related issues 2 (0 open2 closed)

Related to Orchestrator - Bug #43838: cephadm: Forcefully Remove Services (unresponsive hosts)Can't reproduce

Actions
Related to Orchestrator - Tasks #45143: cephadm: scheduler improvementsClosed

Actions
Actions

Also available in: Atom PDF