From 33fb2d2ffac76d847dc29b509e4766170f942421 Mon Sep 17 00:00:00 2001 From: Matt Thompson Date: Tue, 29 Aug 2017 12:12:47 -0400 Subject: [PATCH] Use separate interfaces for lb traffic Currently, deploying a multi-node AIO results in internal_lb_vip_address and external_lb_vip_address being set to the same IP (10.0.236.150), which results in services having issues communicating with the lb. This commit simply sets external_lb_vip_address to use the load balancer's dhcp address, which is fixed to 10.0.2.150. Change-Id: I6faabd641c0559a0381e559f364cc76c49293014 --- multi-node-aio/playbooks/osa/openstack_user_config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multi-node-aio/playbooks/osa/openstack_user_config.yml b/multi-node-aio/playbooks/osa/openstack_user_config.yml index bb06060b..2e9cff88 100644 --- a/multi-node-aio/playbooks/osa/openstack_user_config.yml +++ b/multi-node-aio/playbooks/osa/openstack_user_config.yml @@ -12,8 +12,8 @@ used_ips: - "10.0.248.0,10.0.248.200" global_overrides: - internal_lb_vip_address: "{{ external_lb_vip_address | default(hostvars[groups['loadbalancer_hosts'][0]]['server_networks']['mgmt']['address'].split('/')[0]) }}" - external_lb_vip_address: "{{ external_lb_vip_address | default(hostvars[groups['loadbalancer_hosts'][0]]['ansible_host'].split('/')[0]) }}" + internal_lb_vip_address: "{{ internal_lb_vip_address | default(hostvars[groups['loadbalancer_hosts'][0]]['server_networks']['mgmt']['address'].split('/')[0]) }}" + external_lb_vip_address: "{{ external_lb_vip_address | default(hostvars[groups['loadbalancer_hosts'][0]]['server_vm_fixed_addr']) }}" tunnel_bridge: "br-vxlan" management_bridge: "br-mgmt" provider_networks: