From 26cee25873d5c91c704326fd0b708c53b353dd11 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Wed, 10 Jul 2024 11:53:05 +0200 Subject: [PATCH] qa/tasks/cephadm: drop --cluster and sudo in create_rbd_pool() The cluster (name) is already specified in the arguments passed to _shell() and this command doesn't need privileges. Signed-off-by: Ilya Dryomov --- qa/tasks/cephadm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index c80172de41f69..41ee6a1b132c3 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -1810,8 +1810,7 @@ def create_rbd_pool(ctx, config): cluster_name = config['cluster'] log.info('Creating RBD pool') _shell(ctx, cluster_name, ctx.ceph[cluster_name].bootstrap_remote, - args=['sudo', 'ceph', '--cluster', cluster_name, - 'osd', 'pool', 'create', 'rbd', '8']) + args=['ceph', 'osd', 'pool', 'create', 'rbd', '8']) _shell(ctx, cluster_name, ctx.ceph[cluster_name].bootstrap_remote, args=['rbd', 'pool', 'init', 'rbd']) yield -- 2.39.5