]> 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>
Tue, 11 Feb 2025 12:16:02 +0000 (13:16 +0100)
commitbd786be3a88bb08bf5a587121b6435f27fe0cdc6
tree112856d913d5a81143a200038f360d7d036e408a
parent02d329c5c85c8009adb4c6cc81318b239d0e6c29
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>
(cherry picked from commit 8b2f2133fab63950c92daa06851ef2d8680a3007)
infrastructure-playbooks/cephadm-adopt.yml
library/ceph_orch_apply.py