Project

General

Profile

Actions

Documentation #44284

closed

cephadm: provide a way to modify the initial crushmap

Added by Sebastian Wagner about 4 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
cephadm (binary)
Target version:
% Done:

0%

Tags:
low-hanging-fruit
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

If we don't edit the map when bootstrapping, the CRUSH map has to be edited at runtime, which is non-trivial.

However, there is a way by modifying the initial ceph.conf like so:

echo -en "[global]\n        osd crush chooseleaf type = 0\n" > /root/ceph.conf
cephadm bootstrap -c /root/ceph.conf

details: https://github.com/ceph/ceph-salt/issues/100

Actions

Also available in: Atom PDF