From: Matty Williams Date: Tue, 10 Mar 2026 16:00:38 +0000 (+0000) Subject: qa: Ensure EC pools are created with omap support enabled in RGW tests X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fheads%2Fwip-ec-only-rbd;p=ceph-ci.git qa: Ensure EC pools are created with omap support enabled in RGW tests Signed-off-by: Matty Williams --- diff --git a/qa/tasks/util/rados.py b/qa/tasks/util/rados.py index a152d2c6bc1..a0d6d88c6b7 100644 --- a/qa/tasks/util/rados.py +++ b/qa/tasks/util/rados.py @@ -32,6 +32,15 @@ def create_ec_pool(remote, name, profile_name, pgnum, profile={}, cluster_name=" 'sudo', 'ceph', 'osd', 'pool', 'create', name, str(pgnum), str(pgnum), 'erasure', profile_name, '--cluster', cluster_name ]) + remote.run(args=[ + 'sudo', 'ceph', 'osd', 'pool', 'set', name, 'allow_ec_overwrites', 'true', '--cluster', cluster_name + ]) + remote.run(args=[ + 'sudo', 'ceph', 'osd', 'pool', 'set', name, 'ec_optimizations', 'true', '--cluster', cluster_name + ]) + remote.run(args=[ + 'sudo', 'ceph', 'osd', 'pool', 'set', name, 'supports_omap', 'true', '--cluster', cluster_name + ]) if application: remote.run(args=[ 'sudo', 'ceph', 'osd', 'pool', 'application', 'enable', name, application, '--cluster', cluster_name