Deprecate OVN-related haproxy configuration
With the implementation of proper cluster support, the haproxy configuration for OVN-related services are no longer necessary. This patch marks the endpoints absent for eventual removal. Change-Id: Icb78797ec5057414c9d6e99d9b6a04200ee4b0a9
This commit is contained in:
parent
92feb0805e
commit
8b7a5e4d0e
@ -387,44 +387,20 @@ haproxy_opendaylight_websocket_service:
|
||||
haproxy_allowlist_networks: "{{ haproxy_opendaylight_allowlist_networks }}"
|
||||
haproxy_service_enabled: "{{ neutron_plugin_type == 'ml2.opendaylight' }}"
|
||||
|
||||
# TODO(jamesdenton): Remove that in Z release
|
||||
haproxy_ovn_northbound_service:
|
||||
haproxy_service_name: neutron_ovn_northd_northbound
|
||||
haproxy_backend_nodes: "{{ (groups['neutron_ovn_northd'] | default([]))[:1] }}" # list expected
|
||||
haproxy_backup_nodes: "{{ (groups['neutron_ovn_northd'] | default([]))[1:] }}"
|
||||
haproxy_port: 6641
|
||||
haproxy_bind: "{{ [internal_lb_vip_address] }}"
|
||||
haproxy_balance_type: tcp
|
||||
haproxy_timeout_client: 90m
|
||||
haproxy_timeout_server: 90m
|
||||
haproxy_backend_options:
|
||||
- tcpka
|
||||
haproxy_service_enabled: "{{ (neutron_plugin_type == 'ml2.ovn') and (groups['neutron_ovn_northd'] is defined and groups['neutron_ovn_northd'] | length > 0) }}"
|
||||
state: absent
|
||||
|
||||
# TODO(jamesdenton): Remove that in Z release
|
||||
haproxy_ovn_southbound_service:
|
||||
haproxy_service_name: neutron_ovn_northd_southbound
|
||||
haproxy_backend_nodes: "{{ (groups['neutron_ovn_northd'] | default([]))[:1] }}"
|
||||
haproxy_backup_nodes: "{{ (groups['neutron_ovn_northd'] | default([]))[1:] }}"
|
||||
haproxy_port: 6642
|
||||
haproxy_bind: "{{ [internal_lb_vip_address] }}"
|
||||
haproxy_balance_type: tcp
|
||||
haproxy_timeout_client: 90m
|
||||
haproxy_timeout_server: 90m
|
||||
haproxy_backend_options:
|
||||
- tcpka
|
||||
haproxy_service_enabled: "{{ (neutron_plugin_type == 'ml2.ovn') and (groups['neutron_ovn_northd'] is defined and groups['neutron_ovn_northd'] | length > 0) }}"
|
||||
state: absent
|
||||
|
||||
# TODO(jamesdenton): Remove that in Z release
|
||||
haproxy_ovn_ovsdb_service:
|
||||
haproxy_service_name: neutron_ovn_ovsdb_server
|
||||
haproxy_backend_nodes: "{{ (groups['neutron_ovn_northd'] | default([]))[:1] }}"
|
||||
haproxy_backup_nodes: "{{ (groups['neutron_ovn_northd'] | default([]))[1:] }}"
|
||||
haproxy_port: 6640
|
||||
haproxy_bind: "{{ [internal_lb_vip_address] }}"
|
||||
haproxy_balance_type: tcp
|
||||
haproxy_timeout_client: 90m
|
||||
haproxy_timeout_server: 90m
|
||||
haproxy_backend_options:
|
||||
- tcpka
|
||||
haproxy_service_enabled: "{{ (neutron_plugin_type == 'ml2.ovn') and (groups['neutron_ovn_northd'] is defined and groups['neutron_ovn_northd'] | length > 0) }}"
|
||||
state: absent
|
||||
|
||||
# TODO(noonedeadpunk): Remove that in Y release
|
||||
haproxy_panko_api_service:
|
||||
@ -584,9 +560,6 @@ haproxy_default_services:
|
||||
- service: "{{ haproxy_octavia_service }}"
|
||||
- service: "{{ haproxy_opendaylight_neutron_service }}"
|
||||
- service: "{{ haproxy_opendaylight_websocket_service }}"
|
||||
- service: "{{ haproxy_ovn_northbound_service }}"
|
||||
- service: "{{ haproxy_ovn_southbound_service }}"
|
||||
- service: "{{ haproxy_ovn_ovsdb_service }}"
|
||||
- service: "{{ haproxy_panko_api_service }}"
|
||||
- service: "{{ haproxy_placement_service }}"
|
||||
- service: "{{ haproxy_rabbitmq_service }}"
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
OVN-related HAProxy configuration is deprecated and has been
|
||||
replaced with built-in clustering functionality. OVN-related
|
||||
endpoints will be completely removed in the Z release.
|
Loading…
Reference in New Issue
Block a user