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 15, 2024
1 parent a84b699 commit 44bccd7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions library/ceph_orch_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 44bccd7

Please sign in to comment.