From eae7bd602968d792325c137f874d17a071a7aed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Fri, 20 Feb 2015 18:41:49 +0100 Subject: [PATCH] Fix the rgw section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If we use the hostname, the radosgw will lookup for a wrong secret. Using the same name for all the gateways. Signed-off-by: Sébastien Han --- roles/ceph-common/templates/ceph.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-common/templates/ceph.conf.j2 b/roles/ceph-common/templates/ceph.conf.j2 index d8700bee2..91424d65d 100644 --- a/roles/ceph-common/templates/ceph.conf.j2 +++ b/roles/ceph-common/templates/ceph.conf.j2 @@ -135,7 +135,7 @@ {% if radosgw %} {% for host in groups['rgws'] %} {% if hostvars[host]['ansible_hostname'] is defined %} -[client.radosgw.{{ hostvars[host]['ansible_hostname'] }}] +[client.radosgw.gateway] {% if radosgw_dns_name is defined %} rgw dns name = {{ radosgw_dns_name }} {% endif %}