Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1338639

Summary: mod_cluster crashes apache thread if multiple nodes report the same AJP connect string
Product: [JBoss] JBoss Enterprise Web Server 2 Reporter: Michal Karm Babacek <mbabacek>
Component: mod_clusterAssignee: Jean-frederic Clere <jclere>
Status: CLOSED WONTFIX QA Contact: Michal Karm Babacek <mbabacek>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.1.0CC: bperkins, jclere, jdoyle, jpallich, mbabacek, pslavice, rbost, rsvoboda
Target Milestone: DR02   
Target Release: 2.1.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1200308 Environment:
Last Closed: 2019-06-13 12:20:06 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: 1200308    
Bug Blocks:    

Description Michal Karm Babacek 2016-05-23 07:55:12 UTC
+++ This bug was initially created as a clone of Bug #1200308 +++

If one misconfigures one's servers so as two or more of them reside on the same IP and port and they register with the Apache HTTP Server mod_cluster load balancer, the worker thread crashes on access to APR conf storage:

 > misc/apr_reslist.c:159: reslist_cleanup: Assertion `rl->ntotal == 0' failed.

Concern:
 - small, this is an administrator's error, no production system should be set up in such fashion

Suggestions:
 - proposed patch [MODCLUSTER-448] logs a warning that this configuration is non-viable
 - the aforementioned proposed patch does not deal with the crash itself, so it needs more work to be done; perhaps discarding such misconfigured workers altogether