Merge "HyperV: fix FreeRDP console config"

This commit is contained in:
Jenkins 2017-09-04 13:14:36 +00:00 committed by Gerrit Code Review
commit 5c59e82427
3 changed files with 8 additions and 2 deletions
ansible/roles
haproxy/templates
nova-hyperv/templates
etc/kolla

@ -160,6 +160,12 @@ listen nova_spicehtml5proxy
{% for host in groups['nova-spicehtml5proxy'] %} {% for host in groups['nova-spicehtml5proxy'] %}
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ nova_spicehtml5proxy_port }} check inter 2000 rise 2 fall 5 server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ nova_spicehtml5proxy_port }} check inter 2000 rise 2 fall 5
{% endfor %} {% endfor %}
{% elif nova_console == 'rdp' %}
listen nova_rdp
bind {{ kolla_internal_vip_address }}:{{ rdp_port }}
{% for host in groups['hyperv'] %}
server {{ hostvars[host]['ansible_hostname'] }} {% for ip in hostvars[host]['ansible_ip_addresses'] %}{% if host == ip %}{{ ip }}{% endif %}{% endfor %}:{{ rdp_port }} check inter 2000 rise 2 fall 5
{% endfor %}
{% endif %} {% endif %}
{% if enable_nova_serialconsole_proxy | bool %} {% if enable_nova_serialconsole_proxy | bool %}

@ -47,7 +47,7 @@ enable_instance_metrics_collection = false
[rdp] [rdp]
enabled = true enabled = true
html5_proxy_base_url = {{ public_protocol }}://{{ ansible_fqdn }}:{{ rdp_port }} html5_proxy_base_url = {{ public_protocol }}://{{ kolla_internal_vip_address }}:{{ rdp_port }}
[neutron] [neutron]
url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ neutron_server_port }} url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ neutron_server_port }}

@ -121,7 +121,7 @@ kolla_internal_vip_address: "10.10.10.254"
# Valid options are [ True, False ] # Valid options are [ True, False ]
#openstack_logging_debug: "False" #openstack_logging_debug: "False"
# Valid options are [ novnc, spice ] # Valid options are [ novnc, spice, rdp ]
#nova_console: "novnc" #nova_console: "novnc"
# OpenStack services can be enabled or disabled with these options # OpenStack services can be enabled or disabled with these options