]> 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 13:19:02 +0000 (15:19 +0200)
commit768677610ce41eafd29d1e6994b3dd072fe29d36
tree32c3de611ff9d458321c1d794dc66ee97b092967
parent5cdc9af0447b8163e4aa10d3245ea688c963be59
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>
(cherry picked from commit 31311b03eddfe8bffd9bcaf4c486a9c4f7273b0a)
infrastructure-playbooks/cephadm-adopt.yml