Project

General

Profile

Actions

Bug #44252

closed

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

Added by Sage Weil about 6 years ago. Updated 8 months ago.

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

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v16.0.0-4517-g35b0261818
Released In:
v16.2.0~1634
Upkeep Timestamp:
2025-07-15T01:21:06+00:00

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 almost 6 years ago

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

Updated by Sebastian Wagner almost 6 years ago

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

Updated by Sebastian Wagner almost 6 years ago

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

Updated by Sebastian Wagner almost 6 years ago

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

Actions #5

Updated by Sebastian Wagner almost 6 years ago

  • Category set to cephadm/scheduler
Actions #6

Updated by Sebastian Wagner over 5 years ago

  • Description updated (diff)
Actions #7

Updated by Sebastian Wagner over 5 years ago

  • Description updated (diff)
Actions #8

Updated by Sebastian Wagner over 5 years ago

  • Assignee set to Adam King
Actions #9

Updated by Adam King over 5 years ago

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

Updated by Sebastian Wagner over 5 years ago

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

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to 35b02618189920ed65358443760264b96b4f2acb
  • Fixed In set to v16.0.0-4517-g35b0261818
  • Released In set to v16.2.0~1634
  • Upkeep Timestamp set to 2025-07-15T01:21:06+00:00
Actions

Also available in: Atom PDF