bugfix: make novnc work correctly in public_vip environment 39/2439/1
authorcarey.xu <carey.xuhan@huawei.com>
Mon, 12 Oct 2015 13:31:34 +0000 (21:31 +0800)
committercarey.xu <carey.xuhan@huawei.com>
Mon, 12 Oct 2015 13:31:34 +0000 (21:31 +0800)
JIRA: COMPASS-71

Change-Id: I6a5fbec547a6ede5affb89ddce910d2200723ecc
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
deploy/adapters/ansible/openstack/templates/nova.conf

index 559a6d8..ed41591 100644 (file)
@@ -33,7 +33,7 @@ my_ip = {{ internal_ip }}
 vnc_enabled = True
 vncserver_listen = {{ internal_ip }}
 vncserver_proxyclient_address = {{ internal_ip }}
-novncproxy_base_url = http://{{ internal_vip.ip }}:6080/vnc_auto.html
+novncproxy_base_url = http://{{ public_vip.ip }}:6080/vnc_auto.html
 
 novncproxy_host = {{ internal_ip }}
 novncproxy_port = 6080