From 44bccd78db72dd0a2e3091669764b2a5b1c5f1b3 Mon Sep 17 00:00:00 2001 From: Teoman ONAY Date: Wed, 24 Apr 2024 21:32:39 +0200 Subject: [PATCH] ceph_orch_spec: Add ceph orch apply spec feature Add new module ceph_orch_spec which applies ceph spec files. This feature was needed to bind extra mount points to the RGW container (/etc/pki/ca-trust/). Also fixes cephadm-adopt test scenario by configuring rbd application on test and test2 pools. Otherwise cephadm-adopt failed at task "Check pools have an application enabled" Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2262133 Signed-off-by: Teoman ONAY --- library/ceph_orch_spec.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/ceph_orch_spec.py b/library/ceph_orch_spec.py index 13c35fb4c1..9eea6313af 100644 --- a/library/ceph_orch_spec.py +++ b/library/ceph_orch_spec.py @@ -175,11 +175,11 @@ def run_module(): rc, cmd, out, err = apply_spec(module, spec) changed = True else: - rc=0 - cmd=[] - out='' - err='' - changed=False + rc = 0 + cmd = [] + out = '' + err = '' + changed = False exit_module( module=module,