Skip to content
Snippets Groups Projects
Commit e93bb8ad authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Forces metadata to bind to single interface"

parents 240bed12 3bc9adf9
No related branches found
No related tags found
No related merge requests found
...@@ -66,6 +66,13 @@ listen nova_api ...@@ -66,6 +66,13 @@ listen nova_api
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + api_interface]['ipv4']['address'] }}:{{ nova_api_port }} check inter 2000 rise 2 fall 5 server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + api_interface]['ipv4']['address'] }}:{{ nova_api_port }} check inter 2000 rise 2 fall 5
{% endfor %} {% endfor %}
listen nova_metadata
# TODO(SamYaple): Make metadata port configurable throughout Ansible
bind {{ kolla_internal_address }}:8775
{% for host in groups['nova-api'] %}
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + api_interface]['ipv4']['address'] }}:8775 check inter 2000 rise 2 fall 5
{% endfor %}
listen neutron_server listen neutron_server
bind {{ kolla_internal_address }}:{{ neutron_server_port }} bind {{ kolla_internal_address }}:{{ neutron_server_port }}
{% for host in groups['neutron-server'] %} {% for host in groups['neutron-server'] %}
......
...@@ -20,8 +20,10 @@ linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver ...@@ -20,8 +20,10 @@ linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
compute_driver = libvirt.LibvirtDriver compute_driver = libvirt.LibvirtDriver
allow_resize_to_same_host = true allow_resize_to_same_host = true
vnc_enabled = true
my_ip = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} my_ip = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
metadata_listen = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
vnc_enabled = true
vncserver_listen = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} vncserver_listen = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
vncserver_proxyclient_address = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} vncserver_proxyclient_address = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
novncproxy_base_url = http://{{ kolla_internal_address }}:6080/vnc_auto.html novncproxy_base_url = http://{{ kolla_internal_address }}:6080/vnc_auto.html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment