Fixes HA Proxy backend check for ODL
This patch removed listen_options for ODL:
https://review.openstack.org/#/c/562036/
Which introduced a regression where default options were then applied
for ODL, including httpchk. This does not work with ODL because ODL
will not respond to an HTTP GET without specific paths used. This patch
adds the correct path that may be used to issue HTTP backend check.
Closes-Bug: 1768037
Change-Id: I60bdfc436044851ac02449c262d382b07b888f79
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit c53ea2512f
)
This commit is contained in:
parent
2ed2ed7acd
commit
dc77dc23df
|
@ -1457,6 +1457,8 @@ class tripleo::haproxy (
|
|||
mode => 'http',
|
||||
member_options => union($haproxy_member_options, $internal_tls_member_options),
|
||||
service_network => $opendaylight_network,
|
||||
listen_options => merge($default_listen_options,
|
||||
{ 'option' => [ 'httpchk GET /controller/nb/v2/neutron', 'httplog' ] }),
|
||||
}
|
||||
|
||||
::tripleo::haproxy::endpoint { 'opendaylight_ws':
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes HA Proxy with OpenDaylight to use the correct HTTP URL for backend
|
||||
check. See https://bugs.launchpad.net/tripleo/+bug/1768037
|
Loading…
Reference in New Issue