]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephadm: Add no_cgroups_split option osd-containers
authorZack Cerza <zack@redhat.com>
Wed, 5 Oct 2022 21:12:40 +0000 (15:12 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 5 Dec 2022 20:37:17 +0000 (13:37 -0700)
This will be useful for deployments based on rootless containers

Signed-off-by: Zack Cerza <zack@redhat.com>
qa/tasks/cephadm.py

index 73b0f08115f41c61ee35c1c1b1e04b0efbad6a48..9e9fa319fff2a386450e505ecf4b8d74973a4a33 100644 (file)
@@ -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']