Set host_href to valid value on service level
Change-Id: Iaed1a33899c2dd9e2ae945f42bc52bc0ee6829a4
diff --git a/metadata/service/server/cluster.yml b/metadata/service/server/cluster.yml
index beeaef5..4a7128e 100644
--- a/metadata/service/server/cluster.yml
+++ b/metadata/service/server/cluster.yml
@@ -5,12 +5,14 @@
parameters:
_param:
keystone_barbican_endpoint_type: internalURL
+ cluster_internal_protocol: 'http'
+ barbican_service_protocol: ${_param:cluster_internal_protocol}
barbican:
server:
enabled: true
version: ${_param:barbican_version}
region: ${_param:openstack_region}
- host_href: ''
+ host_href: "${_param:barbican_service_protocol}://${_param:cluster_vip_address}:9311"
is_proxied: true
bind:
address: ${_param:cluster_local_address}
diff --git a/metadata/service/server/single.yml b/metadata/service/server/single.yml
index 8ba73ca..fdfac1b 100644
--- a/metadata/service/server/single.yml
+++ b/metadata/service/server/single.yml
@@ -5,12 +5,13 @@
parameters:
_param:
keystone_barbican_endpoint_type: internalURL
+ barbican_service_protocol: 'http'
barbican:
server:
enabled: true
version: ${_param:barbican_version}
region: ${_param:openstack_region}
- host_href: ''
+ host_href: "${_param:barbican_service_protocol}://${_param:single_address}:9311"
is_proxied: false
bind:
address: ${_param:single_address}