]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
cephadm-adopt/rgw: add host target in svc_id
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 29 Jun 2021 12:02:45 +0000 (14:02 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 29 Jun 2021 12:41:09 +0000 (14:41 +0200)
commit31311b03eddfe8bffd9bcaf4c486a9c4f7273b0a
treeb1d1f5d9ca9a1370dffc5915dc76ef83c82d6f4d
parentfc160b3be18edd1615ebb2b813a8468748f6d7d3
cephadm-adopt/rgw: add host target in svc_id

If multi-realms were deployed with several instances belonging to the same
realm and zone using the same port on different nodes, the service id
expected by cephadm will be the same and therefore only one service will
be deployed. We need to create a service called
`<node>.<realm>.<zone>.<port>` to be sure the service name will be unique
and well deployed on the expected node in order to preserve backward
compatibility with the rgws instances that were deployed with
ceph-ansible.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1967455
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/cephadm-adopt.yml