aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-04-06 14:35:35 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-04-06 14:35:35 +0400
commit938cb59719ae412e13be8cb21d8c8b5f51a75826 (patch)
treeded296e5754569a2cc4d92ab2b87c63f481c6a29 /mcp/reclass/classes
parent7f47d25bc3a25ad2cdd564100cdc703ae85702b4 (diff)
[virtual] Set vnc address to local one
System reclass model assigns vnc address to control_address variable which is used for controller node reference, so change it to local address of the current compute node. Change-Id: I0c6b8534a1dae516620d0d250944232379a526e0 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes')
-rw-r--r--mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_compute.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_compute.yml b/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_compute.yml
index 228ffdc36..4030423cd 100644
--- a/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_compute.yml
+++ b/mcp/reclass/classes/cluster/mcp-pike-common-noha/openstack_compute.yml
@@ -26,6 +26,8 @@ parameters:
libvirt_bin: /etc/default/libvirtd
disk_cachemodes: file=directsync,block=none
vncproxy_url: http://${_param:cluster_vip_address}:6080
+ bind:
+ vnc_address: ${_param:single_address}
network:
region: ${_param:openstack_region}
user: neutron