From 5229c83a7f7aed98ae3985d5db0129c901790621 Mon Sep 17 00:00:00 2001 From: Nenad Radojevic Date: Mon, 30 Jan 2017 11:17:39 +0100 Subject: [PATCH] External_fqdn for host_href in barbican.conf The barbican service should use the external fqdn as value for the host_href parameter. Typically this is the endpoint that clients would use to connect to barbican from outside. Change-Id: I075acb6335354a61f935d57a7b84f0f92978c9bd Closes-Bug: #1660282 --- ansible/roles/barbican/templates/barbican.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/barbican/templates/barbican.conf.j2 b/ansible/roles/barbican/templates/barbican.conf.j2 index aef43567bd..083f3aac31 100644 --- a/ansible/roles/barbican/templates/barbican.conf.j2 +++ b/ansible/roles/barbican/templates/barbican.conf.j2 @@ -5,7 +5,7 @@ log_dir = /var/log/kolla/barbican bind_port = {{ barbican_api_port }} bind_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} -host_href = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ barbican_api_port }} +host_href = {{ public_protocol }}://{{ kolla_external_fqdn }}:{{ barbican_api_port }} backlog = 4096 max_allowed_secret_in_bytes = 10000 max_allowed_request_size_in_bytes = 1000000