Skip to content

Commit 783b923

Browse files
committed
adopt: fix placement update calls for rgw
The commands called here are not built correctly. This commit fixes it. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2058038#c27 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 30c7e88)
1 parent 763affc commit 783b923

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

infrastructure-playbooks/cephadm-adopt.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@
10071007
- name: update the placement of radosgw hosts
10081008
command: >
10091009
{{ cephadm_cmd }} shell -k /etc/ceph/{{ cluster }}.client.admin.keyring --fsid {{ fsid }} --
1010-
ceph --cluster {{ cluster }} orch apply rgw {{ ansible_facts['hostname'] }}
1010+
ceph orch apply rgw {{ ansible_facts['hostname'] }}
10111011
--placement='count-per-host:{{ radosgw_num_instances }} {{ ansible_facts['nodename'] }}'
10121012
--port={{ radosgw_frontend_port }}
10131013
{{ '--ssl' if radosgw_frontend_ssl_certificate else '' }}
@@ -1020,7 +1020,7 @@
10201020
- name: update the placement of radosgw multisite hosts
10211021
command: >
10221022
{{ cephadm_cmd }} shell -k /etc/ceph/{{ cluster }}.client.admin.keyring --fsid {{ fsid }} --
1023-
ceph --cluster {{ cluster }} orch apply rgw {{ ansible_facts['hostname'] }}.{{ item.rgw_realm }}.{{ item.rgw_zone }}.{{ item.radosgw_frontend_port }}
1023+
ceph orch apply rgw {{ ansible_facts['hostname'] }}.{{ item.rgw_realm }}.{{ item.rgw_zone }}.{{ item.radosgw_frontend_port }}
10241024
--placement={{ ansible_facts['nodename'] }}
10251025
--realm={{ item.rgw_realm }} --zone={{ item.rgw_zone }}
10261026
--port={{ item.radosgw_frontend_port }}

0 commit comments

Comments
 (0)