Bug 906012
| Summary: | "All workers are in error state" with a particular ProxyPass setting | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Michal Karm Babacek <mbabacek> | ||||||||||||||||||||
| Component: | mod_cluster | Assignee: | Jean-frederic Clere <jclere> | ||||||||||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Michal Karm Babacek <mbabacek> | ||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||
| Version: | 6.1.0 | CC: | atangrin, rsvoboda | ||||||||||||||||||||
| Target Milestone: | DR1 | ||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||
| Whiteboard: | |||||||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||
| Last Closed: | 2013-02-19 19:36:28 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: | |||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||
|
Description
Michal Karm Babacek
2013-01-30 15:50:44 UTC
Created attachment 690430 [details]
EAP6: Httpd's error_log with EAP6
Created attachment 690432 [details]
EAP6 configuration
Created attachment 690433 [details]
Tomcat6 configuration
Created attachment 690434 [details]
ProxyPass config
Created attachment 690456 [details]
mod_cluster conf
Created attachment 690457 [details]
Httpd conf
Created attachment 690459 [details]
HTTP 503 with EAP6
Created attachment 690461 [details]
Good and expected HTTP 404 with Tomcat6
Confirmed with EAP 6.1.0 DR2. the 404 comes from the / in tomcat6 to have the same mod_cluster configuration you need to add ExcludedContexts="/" to the configuration. Jean, THX for comments. I will try it again with a different ExcludedContexts as you suggested. ManagerBalancerName setting should be ok... it may be that problems are coming from the: ProxyPass / ! Why do you have it? Hmm, well, as to "ProxyPass / !", I didn't want with the attached:
ProxyPassMatch ^/app/static/ !
ProxyPass /app balancer://qacluster stickysession=JSESSIONID|jsessionid nofailover=on
ProxyPass / !
ProxyPassReverse /app balancer://qacluster
ProxyPassReverseCookieDomain / /app/
ProxyPassReverseCookiePath / /app/
ProxyPreserveHost on
get HTTP 200 on app/doesntExist whilst I should be getting (IMHO) HTTP 404 (works with Tomcat6). Nevertheless, with AS7 I get HTTP 503.
Furthermore, with attached
ProxyPassMatch ^/static/ !
ProxyPass / balancer://qacluster stickysession=JSESSIONID|jsessionid nofailover=on
ProxyPassReverse / balancer://qacluster
ProxyPreserveHost on
I was expecting to get HTTP 404 on doesntExist context (wotks with Tomcat6), but I got HTTP 500 with AS7.
The question is: Can I just modify the test to expect HTTP 500 (503) instead of HTTP 404 while running with AS7, or is there anything more sinister in it?
You may want to take a look at the attached error_log so as to see what broke loose after I accessed the doesntExist context.
In EAP6 log ENABLE: +++ [Wed Jan 30 09:39:40 2013] [debug] mod_manager.c(2598): manager_handler ENABLE-APP (/) processing: "JVMRoute=jboss-eap-6.0-1&Alias=default-host%2Clocalhost%2Cexample.com&Context=%2Fclusterbench" [Wed Jan 30 09:39:50 2013] [debug] mod_manager.c(2598): manager_handler ENABLE-APP (/) processing: "JVMRoute=jboss-eap-6.0-2&Alias=default-host%2Clocalhost%2Cexample.com&Context=%2Fclusterbench" +++ In Tomcat log ENABLE: +++ [Wed Jan 30 09:35:59 2013] [debug] mod_manager.c(2598): manager_handler ENABLE-APP (/) processing: "JVMRoute=tomcat-6-1&Alias=local&Context=%2Fmanager" [Wed Jan 30 09:35:59 2013] [debug] mod_manager.c(2598): manager_handler ENABLE-APP (/) processing: "JVMRoute=tomcat-6-1&Alias=local&Context=%2F" [Wed Jan 30 09:35:59 2013] [debug] mod_manager.c(2598): manager_handler ENABLE-APP (/) processing: "JVMRoute=tomcat-6-1&Alias=local&Context=%2Fdocs" [Wed Jan 30 09:35:59 2013] [debug] mod_manager.c(2598): manager_handler ENABLE-APP (/) processing: "JVMRoute=tomcat-6-1&Alias=local&Context=%2Fexamples" [Wed Jan 30 09:35:59 2013] [debug] mod_manager.c(2598): manager_handler ENABLE-APP (/) processing: "JVMRoute=tomcat-6-1&Alias=local&Context=%2Fclusterbench" [Wed Jan 30 09:35:59 2013] [debug] mod_manager.c(2598): manager_handler ENABLE-APP (/) processing: "JVMRoute=tomcat-6-1&Alias=local&Context=%2Fhost-manager" +++ So you are testing different things. please read comment #10 I am closing this as NOTABUG. Jean was right all along. Test suite was updated accordingly both for Tomcat and for AS7. THX |