From 21ec475bf52a9a8d2c458de762abfb1781848fb4 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Tue, 14 Nov 2017 15:55:12 +0100 Subject: [PATCH] Fix port config in haproxy to avoid conflict Opendaylight and repo services are using the same port in the frontend. That creates connectivity problems. The patch changes the port for opendaylight and a new variable (haproxy_backend_port) is added so that we can still use the service running in the old port (8181) relying on haproxy to do a redirection Change-Id: Ife8c424f26685a6957a9bb7cdccc2ce0523fd3fb --- group_vars/haproxy_all/haproxy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/group_vars/haproxy_all/haproxy.yml b/group_vars/haproxy_all/haproxy.yml index 301a7f9998..0118508044 100644 --- a/group_vars/haproxy_all/haproxy.yml +++ b/group_vars/haproxy_all/haproxy.yml @@ -311,7 +311,8 @@ haproxy_default_services: haproxy_service_name: opendaylight haproxy_backend_nodes: "{{ groups['neutron_server'] | default([]) }}" haproxy_bind: "{{ [internal_lb_vip_address] }}" - haproxy_port: 8181 + haproxy_port: 8282 + haproxy_backend_port: 8181 haproxy_balance_type: tcp haproxy_timeout_client: 5000s haproxy_timeout_server: 5000s