From issues at jboss.org Fri Sep 9 18:04:00 2016 Content-Type: multipart/mixed; boundary="===============5185208231737402171==" MIME-Version: 1.0 From: Michal Karm Babacek (JIRA) To: mod_cluster-issues at lists.jboss.org Subject: [mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-534) Httpd Camel case balancer name not found Date: Fri, 09 Sep 2016 18:04:00 -0400 Message-ID: In-Reply-To: JIRA.12644448.1471961866000@Atlassian.JIRA --===============5185208231737402171== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/MODCLUSTER-534?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D132914= 62#comment-13291462 ] = Michal Karm Babacek commented on MODCLUSTER-534: ------------------------------------------------ We used to have this problem in the past, see MODCLUSTER-435. I fixed it f= or {{balancer}} names loaded from mod_cluster.conf file, but apparently, I = forgot about those coming in worker CONFIG messages. Attached PRs fix the i= ssue. > Httpd Camel case balancer name not found > ---------------------------------------- > > Key: MODCLUSTER-534 > URL: https://issues.jboss.org/browse/MODCLUSTER-534 > Project: mod_cluster > Issue Type: Bug > Components: Native (httpd modules) > Affects Versions: 1.3.1.Final > Reporter: Bogdan Sikora > Assignee: Michal Karm Babacek > > Apache with balancer named with camel case name, sees workers correctly > {noformat} > > Mod_cluster Status > >

mod_cluster/1.3.1.Final

Auto Refresh show DUMP outp= ut show INFO output >

Node jboss-eap-7.0 (ajp://10.16.92.87:8009):

> Enable Contexts Disable Contexts Stop Contexts
> Balancer: QA-bAlAnCeR,LBGroup: ,Flushpackets: Off,Flushwait: 10000,Ping: = 10000000,Smax: 2,Ttl: 60000000,Status: OK,Elected: 0,Read: 0,Transferred: 0= ,Connected: 0,Load: 44 >

Virtual Host 1:

Contexts:

/clusterbench, Status: EN=
ABLED Request: 0 Disable Stop
> 

Aliases:

default-host
> localhost
> 

Node jboss-eap-7.0-2 (ajp://10.16.92.87:8110):

> Enable Contexts Disable Contexts Stop Contexts
> Balancer: QA-bAlAnCeR,LBGroup: ,Flushpackets: Off,Flushwait: 10000,Ping: = 10000000,Smax: 2,Ttl: 60000000,Status: OK,Elected: 0,Read: 0,Transferred: 0= ,Connected: 0,Load: 36 >

Virtual Host 1:

Contexts:

/clusterbench, Status: EN=
ABLED Request: 0 Disable Stop
> 

Aliases:

default-host
> localhost
> 
> {noformat} > but request that should be routed to workers ends with 404 > {noformat} > 07:31:15.536 [INFO] Verifying URL: http://10.16.92.87:2080/clusterbench/j= vmroute for response code 200 and content to: contain "" > Aug 23, 2016 7:31:15 AM com.gargoylesoftware.htmlunit.WebClient printCont= entIfNecessary > INFO: statusCode=3D[404] contentType=3D[text/html] > Aug 23, 2016 7:31:15 AM com.gargoylesoftware.htmlunit.WebClient printCont= entIfNecessary > INFO: > > 404 Not Found > >

Not Found

>

The requested URL /clusterbench/jvmroute was not found on this server.=

>
>
Apache/2.4.6 (Red Hat) Server at 10.16.92.87 Port 2080
> > {noformat} > this is part of balancer debug log but from another run = > {noformat} > [Tue Aug 23 08:41:47.468099 2016] [authz_core:debug] [pid 17958] mod_auth= z_core.c(809): [client 127.0.0.1:54932] AH01626: authorization result of Re= quire all granted: granted > [Tue Aug 23 08:41:47.468117 2016] [authz_core:debug] [pid 17958] mod_auth= z_core.c(809): [client 127.0.0.1:54932] AH01626: authorization result of : granted > [Tue Aug 23 08:41:47.474707 2016] [:debug] [pid 17959] mod_proxy_cluster.= c(2105): get_context_host_balancer: balancer balancer://QA-bAlAnCeR not fou= nd > [Tue Aug 23 08:41:47.474727 2016] [:debug] [pid 17959] mod_proxy_cluster.= c(2105): get_context_host_balancer: balancer balancer://QA-bAlAnCeR not fou= nd > [Tue Aug 23 08:41:47.474767 2016] [authz_core:debug] [pid 17959] mod_auth= z_core.c(809): [client 127.0.0.1:49024] AH01626: authorization result of Re= quire all granted: granted > [Tue Aug 23 08:41:47.474770 2016] [authz_core:debug] [pid 17959] mod_auth= z_core.c(809): [client 127.0.0.1:49024] AH01626: authorization result of : granted > [Tue Aug 23 08:41:47.474809 2016] [core:info] [pid 17959] [client 127.0.0= .1:49024] AH00128: File does not exist: /opt/jbcs-httpd24-2.4/httpd/www/htm= l/clusterbench/jvmroute > [Tue Aug 23 08:41:48.979620 2016] [:debug] [pid 17960] mod_proxy_cluster.= c(2105): get_context_host_balancer: balancer balancer://QA-bAlAnCeR not fou= nd > [Tue Aug 23 08:41:48.979638 2016] [:debug] [pid 17960] mod_proxy_cluster.= c(2105): get_context_host_balancer: balancer balancer://QA-bAlAnCeR not fou= nd > {noformat} > [Full debug log|https://da.gd/57CQ] > [Test log to debug log|http://pastebin.test.redhat.com/405176] > (on Redhat pastebin because of fedora paste bit was accusing me of spam ) -- This message was sent by Atlassian JIRA (v6.4.11#64026) --===============5185208231737402171==--