Bug 1607737 - TCP healthchecks failing falsely / not actually checking
Summary: TCP healthchecks failing falsely / not actually checking
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: httpd
Version: httpd24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.6
Assignee: Luboš Uhliarik
QA Contact: Branislav Náter
URL:
Whiteboard:
Depends On:
Blocks: 1894156
TreeView+ depends on / blocked
 
Reported: 2018-07-24 07:15 UTC by Hisanobu Okuda
Modified: 2021-09-09 15:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1894156 (view as bug list)
Environment:
Last Closed: 2020-12-01 12:06:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache Bugzilla 61499 0 None None None 2018-07-24 07:16:28 UTC

Description Hisanobu Okuda 2018-07-24 07:15:51 UTC
Description of problem:
This is a clone of https://bz.apache.org/bugzilla/show_bug.cgi?id=61499

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. create the following config file in /opt/rh/httpd24/root/etc/httpd/conf.d

<VirtualHost *:80>
ProxyRequests off
ProxyPreserveHost On
ServerName  localhost
ProxyHCTemplate hcinterval=6

<Proxy balancer://jbosscluster>
BalancerMember http://redhat.com:80/ loadfactor=1 ping=10 ttl=600 keepalive=On route=preprodws021 hcmethod=TCP hcinterval=5 hcpasses=2 hcfails=3
BalancerMember http://jboss.org:80/ loadfactor=1 ping=10 ttl=600 keepalive=On route=preprodws022 hcmethod=TCP hcinterval=5 hcpasses=2 hcfails=3
#BalancerMember http://redhat.com:80/ loadfactor=1 ping=10 ttl=600 keepalive=On route=preprodws021 hcmethod=GET hcinterval=5 hcpasses=2 hcfails=3
#BalancerMember http://jboss.org:80/ loadfactor=1 ping=10 ttl=600 keepalive=On route=preprodws022 hcmethod=GET hcinterval=5 hcpasses=2 hcfails=3
#BalancerMember http://redhat.com:80/ loadfactor=1 ping=10 ttl=600 keepalive=On route=preprodws021 hcmethod=HEAD hcinterval=5 hcpasses=2 hcfails=3
#BalancerMember http://jboss.org:80/ loadfactor=1 ping=10 ttl=600 keepalive=On route=preprodws022 hcmethod=HEAD hcinterval=5 hcpasses=2 hcfails=3
ProxySet lbmethod=byrequests
Require all granted
</Proxy>

ProxyPass / balancer://jbosscluster/
ProxyPassReverse / balancer://jbosscluster/

<Proxy *>
Require all denied
</Proxy>

<Location ~ "/*">
Require all granted
</Location>

LogLevel proxy_hcheck:TRACE8 proxy:TRACE2 watchdog:TRACE2

</VirtualHost>

2. start httpd24
3. the log pretends hchecking performed, but no packets send to backend servers.

Actual results:


Expected results:


Additional info:

Comment 11 errata-xmlrpc 2020-12-01 12:06:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (httpd24 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:5280


Note You need to log in before you can comment on or make changes to this bug.