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 #1

Updated by Sebastian Wagner about 4 years ago

  • Related to Bug #43838: cephadm: Forcefully Remove Services (unresponsive hosts) added
Actions #2

Updated by Sebastian Wagner about 4 years ago

  • Related to Tasks #45143: cephadm: scheduler improvements added
Actions #3

Updated by Sebastian Wagner almost 4 years ago

  • Description updated (diff)
  • Priority changed from Normal to High
Actions #4

Updated by Sebastian Wagner almost 4 years ago

this is WIP, but I need to rework the cephadm scheduler first.

Actions #5

Updated by Sebastian Wagner almost 4 years ago

  • Category set to cephadm/scheduler
Actions #6

Updated by Sebastian Wagner almost 4 years ago

  • Description updated (diff)
  • Tags set to low-hanging-fruit
Actions #7

Updated by Sebastian Wagner almost 4 years ago

  • Description updated (diff)
Actions #8

Updated by Sebastian Wagner over 3 years ago

  • Assignee set to Adam King
Actions #9

Updated by Adam King over 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 36485
Actions #10

Updated by Sebastian Wagner over 3 years ago

  • Status changed from Fix Under Review to Resolved
  • Target version set to v15.2.5
Actions

Also available in: Atom PDF