summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/control.yml
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-07-11 15:27:41 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-07-11 15:27:41 +0400
commit094151224e3dd1f0d19acc184ffabdc9b597255e (patch)
tree290fa3665218901a1fb47c1426b368ed10d7a112 /mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/control.yml
parentb9e85b20595a7b4d0580657e75a1a92ee615a106 (diff)
Set public endpoints to external interface
In order to pass functest/api_check, configure public endpoints of openstack core services with external ip address. Change-Id: I519865df5700acbcf542ea71efd87780e9f1d9d5 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/control.yml')
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/control.yml17
1 files changed, 15 insertions, 2 deletions
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/control.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/control.yml
index b3f0ca751..ae103cd58 100644
--- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/control.yml
+++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs/openstack/control.yml
@@ -27,11 +27,11 @@ classes:
- system.galera.server.database.keystone
- system.galera.server.database.nova
- system.horizon.server.single
+- service.haproxy.proxy.single
+- cluster.virtual-mcp-ocata-common.haproxy_openstack_api
- cluster.virtual-mcp-ocata-ovs
parameters:
_param:
- keepalived_vip_interface: ens4
- keepalived_openstack_telemetry_vip_interface: ens4
linux_system_codename: xenial
linux:
system:
@@ -46,6 +46,12 @@ parameters:
proto: static
address: ${_param:single_address}
netmask: 255.255.255.0
+ ens6:
+ enabled: true
+ type: eth
+ proto: static
+ address: ${_param:cluster_public_host}
+ netmask: 255.255.255.0
keystone:
server:
admin_email: ${_param:admin_email}
@@ -78,6 +84,13 @@ parameters:
novncproxy_port: 6080
vncproxy_url: http://${_param:cluster_vip_address}:6080
workers: 1
+ heat:
+ server:
+ bind:
+ api_cfn:
+ address: ${_param:single_address}
+ api_cloudwatch:
+ address: ${_param:single_address}
mysql:
server:
version: '5.7'