aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartłomiej Daca <bartek.daca@gmail.com>2016-07-18 11:37:59 +0200
committerBartłomiej Daca <bartek.daca@gmail.com>2016-07-18 14:06:14 +0200
commit94410d23cdebf5243e1a19d12cfa35c009749a57 (patch)
treeba2583cded4461197619a5f5e32ae75e52a6cbbf
parent7a82901ada9079a17837520bccb2c6073e0c0a7a (diff)
downloadkolla-94410d23cdebf5243e1a19d12cfa35c009749a57.tar.gz
kolla-94410d23cdebf5243e1a19d12cfa35c009749a57.zip
Change rgw frontend interface
Change the rgw frontend interface (from storage_interface to api_interface) to make it consistent with the one specified in the haproxy configuration. Closes-Bug: #1603885 Change-Id: I8537f05575382faeac3ab915feaaad4af9b29565
-rw-r--r--ansible/roles/ceph/templates/ceph.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/ceph/templates/ceph.conf.j2 b/ansible/roles/ceph/templates/ceph.conf.j2
index ea92c9b5f..70907affe 100644
--- a/ansible/roles/ceph/templates/ceph.conf.j2
+++ b/ansible/roles/ceph/templates/ceph.conf.j2
@@ -24,5 +24,5 @@ mon compact on start = true
host = {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}
keyring = /etc/ceph/ceph.client.radosgw.keyring
log file = /var/log/kolla/ceph/client.radosgw.gateway.log
-rgw frontends = civetweb port={{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}:{{ rgw_port }}
+rgw frontends = civetweb port={{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}:{{ rgw_port }}
{% endif %}