Bug 1157769
Summary: | JWS: VirtualHosts share pointer to mod_proxy configuration, results in: CreateBalancers behave the same with option 0 or 2 | ||
---|---|---|---|
Product: | [Retired] JBoss Web Server 3 | Reporter: | Michal Karm Babacek <mbabacek> |
Component: | mod_cluster | Assignee: | Jean-frederic Clere <jclere> |
Status: | CLOSED DEFERRED | QA Contact: | Michal Karm Babacek <mbabacek> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.0.0 | CC: | jclere, jdoyle, lcosti, mbabacek, pslavice, rmarwaha, rsvoboda, smumford |
Target Milestone: | DR02 | ||
Target Release: | 3.0.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
The directive `CreateBalancers` with the option `0` or `2` creates the balancers on all Apache HTTP Server virtual hosts.
When using option `2`, it is expected that the balancers should be created on the main server only, and not on the virtual hosts.
The cause of this issue is under investigation, and is expected to be resolved in a future release.
|
Story Points: | --- |
Clone Of: | 1157766 | Environment: | |
Last Closed: | 2015-08-20 06:37:08 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: | 1157766 | ||
Bug Blocks: |
Description
Michal Karm Babacek
2014-10-27 16:31:37 UTC
Actually JWS3 upgrade to httpd-2.4.x so the BZ should be gone there. The issue is httpd 2.4/2.2 agnostic, so it will not be gone in JWS3. I shall revisit the approach outlined in https://github.com/modcluster/mod_cluster/pull/119#issuecomment-58634743 in the beginning of February; I agree that the current PR is too much "mod_proxy dependent". Make it a known issue... It seems there isn't a good fix :-( http://httpd.apache.org/docs/current/mod/mod_proxy.html#balancerinherit might be used instead. Michal could test if BalancerInherit does something with mod_cluster? Ad comment 5: I remember I tried that back in the day (BalancerInherit). It didn't affect the error, because servers share the same pointer, i.e. the configuration is not merely copied through. IMHO, There is a good solution: One needs to call the mod_proxy config function in mod_cluster config phase (instead the current implementation-fragile mimicking that function) See my question regarding the improvement in: https://github.com/modcluster/mod_cluster/pull/119#issuecomment-58634743 |