From b72fcf11cdb357ab2afe9cbdc8e685b01673ce43 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 5 Oct 2022 15:12:40 -0600 Subject: [PATCH] qa/tasks/cephadm: Add no_cgroups_split option This will be useful for deployments based on rootless containers Signed-off-by: Zack Cerza --- qa/tasks/cephadm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 73b0f08115f4..9e9fa319fff2 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -511,6 +511,8 @@ def ceph_bootstrap(ctx, config): '/etc/ceph/{}.client.admin.keyring'.format(cluster_name), '--output-pub-ssh-key', '{}/{}.pub'.format(testdir, cluster_name), ] + if config.get("no_cgroups_split") is True: + cmd.insert(cmd.index("bootstrap"), "--no-cgroups-split") if config.get('registry-login'): registry = config['registry-login'] -- 2.47.3