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
This commit is contained in:
Manuel Buil 2017-11-14 15:55:12 +01:00
parent 006d2666b1
commit 21ec475bf5

View File

@ -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