fix nova vnc proxy
diff --git a/nova/compute/cluster.yml b/nova/compute/cluster.yml
index 410e358..7eca116 100644
--- a/nova/compute/cluster.yml
+++ b/nova/compute/cluster.yml
@@ -2,6 +2,7 @@
- service.nova.compute.kvm
parameters:
_param:
+ nova_vncproxy_url: http://${_param:cluster_vip_address}:6080
nova_compute_virtualization: kvm
nova_compute_ssh_public: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCltIn93BcTMzNK/n2eBze6PyTkmIgdDkeXNR9X4DqE48Va80ojv2pq8xuaBxiNITJzyl+4p4UvTTXo+HmuX8qbHvqgMGXvuPUCpndEfb2r67f6vpMqPwMgBrUg2ZKgN4OsSDHU+H0dia0cEaTjz5pvbUy9lIsSyhrqOUVF9reJq+boAvVEedm8fUqiZuiejAw2D27+rRtdEPgsKMnh3626YEsr963q4rjU/JssV/iKMNu7mk2a+koOrJ+aHvcVU8zJjfA0YghoeVT/I3GLU/MB/4tD/RyR8GM+UYbI4sgAC7ZOCdQyHdJgnEzx3SJIwcS65U0T2XYvn2qXHXqJ9iGZ root@mirantis.com
nova_compute_ssh_private: |
@@ -43,7 +44,7 @@
enabled: true
virtualization: ${_param:nova_compute_virtualization}
heal_instance_info_cache_interval: 60
- vncproxy_url: http://${_param:cluster_vip_address}:6080
+ vncproxy_url: ${_param:nova_vncproxy_url}
bind:
vnc_address: ${_param:cluster_local_address}
vnc_port: 6080
diff --git a/nova/control/cluster.yml b/nova/control/cluster.yml
index 6805c67..2fb47fb 100644
--- a/nova/control/cluster.yml
+++ b/nova/control/cluster.yml
@@ -4,11 +4,13 @@
- service.keepalived.cluster.single
- system.haproxy.proxy.listen.openstack.nova
parameters:
+ _param:
+ nova_vncproxy_url: http://${_param:cluster_vip_address}:6080
nova:
controller:
enabled: true
version: ${_param:nova_version}
- vncproxy_url: http://${_param:cluster_vip_address}:6080
+ vncproxy_url: ${_param:nova_vncproxy_url}
security_group: false
dhcp_domain: novalocal
scheduler_default_filters: "DifferentHostFilter,RetryFilter,AvailabilityZoneFilter,RamFilter,CoreFilter,DiskFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter"