Bug 1607737

Summary: TCP healthchecks failing falsely / not actually checking
Product: Red Hat Software Collections Reporter: Hisanobu Okuda <hokuda>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: Branislav Náter <bnater>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: httpd24CC: bnater, jorton
Target Milestone: ---   
Target Release: 3.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1894156 (view as bug list) Environment:
Last Closed: 2020-12-01 12:06:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1894156    

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