Project

General

Profile

Actions

Bug #56415

closed

cephadm uses static placement when creating daemons causing a hotspot on the 'root' node

Added by Redouane Kachach Elhichou almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
High
Category:
cephadm
Target version:
-
% Done:

0%

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

Description

cephadm uses static placement when creating daemons. As consequence, most of the deamons end up in the first node (the one used to bootstrap the cluster) creating a hotspot on this node. In a cluster of 4 nodes and after creating several daemons right now the result is an unbalanced cluster:

   [ceph: root@ceph-node-0 /]# for i in `seq 0 3`; do echo ceph-node-$i; ceph orch ps | grep ceph-node-$i | wc -l; done
   ceph-node-0
   15
   ceph-node-1
   14
   ceph-node-2
   4
   ceph-node-3
   4

cephadm used to distribute the load randomly across the cluster but this was broken by the change: https://github.com/ceph/ceph/commit/adceaa9b28278601c56a7db1c3f42eaa592ec4d1 (introduced as part of the PR https://github.com/ceph/ceph/pull/41007). So all versions containing this change suffer from this issue.


Related issues 4 (1 open3 closed)

Related to Orchestrator - Feature #55879: mgr/cephadm: balanced static placement with rendezvous or consistent hashingResolved

Actions
Related to Orchestrator - Feature #44255: cephadm: scheduler should consider other daemons on each nodeNew

Actions
Copied to Orchestrator - Backport #56454: quincy: cephadm uses static placement when creating daemons causing a hotspot on the 'root' nodeResolvedAdam KingActions
Copied to Orchestrator - Backport #56455: pacific: cephadm uses static placement when creating daemons causing a hotspot on the 'root' nodeResolvedAdam KingActions
Actions #1

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Related to Feature #55879: mgr/cephadm: balanced static placement with rendezvous or consistent hashing added
Actions #2

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 46892
Actions #3

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #56454: quincy: cephadm uses static placement when creating daemons causing a hotspot on the 'root' node added
Actions #5

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #56455: pacific: cephadm uses static placement when creating daemons causing a hotspot on the 'root' node added
Actions #6

Updated by Adam King almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions #7

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Related to Feature #44255: cephadm: scheduler should consider other daemons on each node added
Actions

Also available in: Atom PDF