Project

General

Profile

Bug #44252

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

Added by Sage Weil 9 months ago. Updated 3 months 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:

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

Related to Orchestrator - Bug #43838: cephadm: Forcefully Remove Services (unresponsive hosts) New
Related to Orchestrator - Tasks #45143: cephadm: scheduler improvements Closed

History

#1 Updated by Sebastian Wagner 8 months ago

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

#2 Updated by Sebastian Wagner 7 months ago

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

#3 Updated by Sebastian Wagner 7 months ago

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

#4 Updated by Sebastian Wagner 7 months ago

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

#5 Updated by Sebastian Wagner 7 months ago

  • Category set to cephadm/scheduler

#6 Updated by Sebastian Wagner 5 months ago

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

#7 Updated by Sebastian Wagner 5 months ago

  • Description updated (diff)

#8 Updated by Sebastian Wagner 4 months ago

  • Assignee set to Adam King

#9 Updated by Adam King 4 months ago

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

#10 Updated by Sebastian Wagner 3 months ago

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

Also available in: Atom PDF