Skip to content

Commit d54903f

Browse files
authored
Merge pull request ceph#58379 from adk3798/no-cgroups-split-bootstrap
cephadm: turn off cgroups_split setting when bootstrapping with --no-cgroups-split Reviewed-by: John Mulligan <[email protected]>
2 parents e3a7e7f + a60fa9f commit d54903f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cephadm/cephadm.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2892,6 +2892,10 @@ def mgr_has_latest_epoch():
28922892

28932893
cli(['config', 'set', 'mgr', 'mgr/cephadm/container_init', str(ctx.container_init), '--force'])
28942894

2895+
if ctx.no_cgroups_split:
2896+
logger.info('Setting mgr/cephadm/cgroups_split to false')
2897+
cli(['config', 'set', 'mgr', 'mgr/cephadm/cgroups_split', 'false', '--force'])
2898+
28952899
if not ctx.skip_dashboard:
28962900
prepare_dashboard(ctx, uid, gid, cli, wait_for_mgr_restart)
28972901

0 commit comments

Comments
 (0)