]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Handle radosgw hosts placement with non-default cluster name mergify/bp/stable-9.0/pr-7633 7651/head
authorJohn Fulton <fulton@redhat.com>
Thu, 16 Jan 2025 21:30:20 +0000 (16:30 -0500)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 6 Feb 2025 15:06:19 +0000 (15:06 +0000)
commitbd01544a4c3648dd2d749e2d8c8cdb9af0ca51de
treed5680ec38f9a25d4f9ffc9bcf8db837a51cc9772
parent0fab225e9857ed7aa233409b2afad784d62d7c94
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