Bug 1200308

Summary: mod_cluster crashes apache thread if multiple nodes report the same AJP connect string
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Michal Karm Babacek <mbabacek>
Component: Apache Server (httpd) and ConnectorsAssignee: Jean-frederic Clere <jclere>
Status: CLOSED WONTFIX QA Contact: Michal Karm Babacek <mbabacek>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: bmaxwell, bperkins, hpham, jpallich, mbabacek, msochure, rbost
Target Milestone: DR2   
Target Release: EAP 6.4.9   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1338639 (view as bug list) Environment:
Last Closed: 2017-06-26 18:35:20 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: 1338639    

Description Michal Karm Babacek 2015-03-10 09:41:12 UTC
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