]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Handle radosgw hosts placement with non-default cluster name mergify/bp/stable-8.0/pr-7633 7650/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:20 +0000 (15:06 +0000)
commitcfd0723c08ace6db5dfd0f4b28d1efe5e3b68842
treebf776429a7c04da851f33e3c4e8896f5b47bf7e3
parent37e049b90ac711667f539479a4e49c2957c24e06
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