]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
Handle radosgw hosts placement with non-default cluster name
authorJohn Fulton <fulton@redhat.com>
Thu, 16 Jan 2025 21:30:20 +0000 (16:30 -0500)
committerTeoman ONAY <tonay@ibm.com>
Thu, 6 Feb 2025 15:05:22 +0000 (16:05 +0100)
commit8b2f2133fab63950c92daa06851ef2d8680a3007
tree3be97c778b6eda789ae245b72e1403066e574c62
parentb0707ae5d884666a7eedcbbdb29c7d57d514456a
Handle radosgw hosts placement with non-default cluster name

In cephadm-adopt.yml TASK "Update the placement of radosgw hosts"
does not handle when Ansible var cluster is something other than
"ceph", unless this patch is used.

Update module ceph_orch_apply to support optional cluster
parameter using the same style as in module ceph_config.
The command is only extended to inclue the new keyring
and config options if cluster name is not ceph.

This patch is necessary to migrate older clusters which were
deployed when custom names were supported.

Closes: https://issues.redhat.com/browse/RHCEPH-10442
Signed-off-by: John Fulton <fulton@redhat.com>
infrastructure-playbooks/cephadm-adopt.yml
library/ceph_orch_apply.py