Remove haproxy ironic-inspector http-check workaround

When werkzeug was used as the WSGI service for ironic-inspector, it
wrote stack traces to the logs whenever haproxy did a http check; this
listen_options line was the workaround for that. Reverting that change
is done for the following reasons:

- since ironic-inspector now uses oslo-service, the log stack traces
  are no longer written
- setting listen_options overrides the default 'option httplog', which is
  making diagnosing bug #1854399 harder
- this http-check override may well be the root cause of bug #1854399
  (any non-200 response will result in other connections to
  ironic-inspector being disconnected?)

Change-Id: I5c397d31650b248660a39e028c98c779871d07ba
Partial-Bug: #1854399
Related-Bug: #1691971
(cherry picked from commit 71abeb12c4)
This commit is contained in:
Steve Baker 2019-11-29 01:01:41 +00:00 committed by Takashi Kajinami
parent aa5cdac62c
commit 3be8a551be
1 changed files with 0 additions and 1 deletions

View File

@ -1375,7 +1375,6 @@ class tripleo::haproxy (
public_ssl_port => $ports[ironic_inspector_ssl_port],
service_network => $ironic_inspector_network,
mode => 'http',
listen_options => { 'http-check' => ['expect rstring .*200.*'], },
}
}