]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
config: ensure rgw section has the correct name
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 9 Aug 2018 09:03:32 +0000 (11:03 +0200)
committerSébastien Han <seb@redhat.com>
Mon, 13 Aug 2018 08:04:24 +0000 (10:04 +0200)
commitf422efb1d6b56ce56a7d39a21736a471e4ed357c
tree3c85401b284bcee2fc2783a0ce9a8534ca402200
parentdb29b5b84dbc6f4a940f2da6c5f1e68547a91f4a
config: ensure rgw section has the correct name

the ceph.conf.j2 always assumes the hostname used to register the
radosgw in the servicemap is equivalent to `{{ ansible_hostname }}`
which returns the shortname form.

We need to detect which form of the hostname was used in case of already
deployed cluster and update the ceph.conf accordingly.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1580408
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-config/templates/ceph.conf.j2
roles/ceph-defaults/tasks/facts.yml