Skip to content

Commit

Permalink
ceph_orch_spec: Add ceph orch apply spec feature
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
asm0deuz committed May 16, 2024
1 parent 6a88b58 commit 39d56cc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions library/ceph_orch_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@ 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,
out=out,
Expand Down

0 comments on commit 39d56cc

Please sign in to comment.