Bug 903457
| Summary: | JBoss clustering broken | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
| Component: | Containers | Assignee: | Brenton Leanhardt <bleanhar> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 1.0.0 | CC: | gpei, jcrossley, jhonce, jialiu, libra-onpremise-devel, lmeyer, mmcgrath, plarsen, qgong, wdecoste, xjia |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
The clustering mechanism used with JBoss, JGroups, had a restriction that kept it from connecting properly via ports on the gear IP to gears on other nodes.
Consequence:
Session replication was broken in scaled JBoss applications if the gears ended up on different nodes. Thus user HTTP sessions (the users' application state) could be lost if a gear was scaled down or crashed.
Fix:
An updated JGroups JAR was created, which is included as part of the JBoss 6.1 update.
Result:
Clustering and session replication works properly for scaled JBoss apps.
|
Story Points: | --- |
| Clone Of: | 883944 | Environment: | |
| Last Closed: | 2013-07-09 18:19: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: | 883944 | ||
| Bug Blocks: | |||
|
Description
Brenton Leanhardt
2013-01-24 03:09:00 UTC
The fix has been to apply a rebuilt jgroups JAR manually. Has JBoss released updated JBoss RPMs with this fix? (In reply to Luke Meyer from comment #10) > The fix has been to apply a rebuilt jgroups JAR manually. Has JBoss released > updated JBoss RPMs with this fix? QE test this on OSE 1.2 RC2 puddle without replacing the jgroups packages on node. The jgroups used on nodes is version: jgroups-3.2.7.Final-redhat-1.jar A scalable jbosseap app was created and scale it up, two gears were located on two nodes. After deploying the sfsbTest built war, restart the app and grep the "cluster" related log on the two gears: [app0-1234.moverc2.com 51d1445fd6bfd2f9ca000084]\> tailf jbosseap/logs/server.log |grep cluster 2013/07/01 02:24:20,781 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 11) JBAS014627: Attribute clustered is deprecated, and it might be removed in future version! 2013/07/01 02:24:22,589 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 39) JBAS010280: Activating Infinispan subsystem. 2013/07/01 02:24:24,481 INFO [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 45) JBAS010260: Activating JGroups subsystem. 2013/07/01 02:24:33,183 INFO [org.hornetq.core.server] (MSC service thread 1-2) HQ221000: live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=/var/lib/openshift/51d1445fd6bfd2f9ca000084/jbosseap/standalone/data/messagingjournal,bindingsDirectory=/var/lib/openshift/51d1445fd6bfd2f9ca000084/jbosseap/standalone/data/messagingbindings,largeMessagesDirectory=/var/lib/openshift/51d1445fd6bfd2f9ca000084/jbosseap/standalone/data/messaginglargemessages,pagingDirectory=/var/lib/openshift/51d1445fd6bfd2f9ca000084/jbosseap/standalone/data/messagingpaging) 2013/07/01 02:24:49,092 WARN [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 64) JBAS010265: property bind_addr for protocol TCP attempting to override socket binding value 127.11.207.1 : property value 127.11.207.1 will be ignored 2013/07/01 02:24:49,188 WARN [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 64) JBAS010265: property bind_port for protocol TCP attempting to override socket binding value 7600 : property value 7600 will be ignored 2013/07/01 02:24:53,300 INFO [stdout] (ServerService Thread Pool -- 64) GMS: address=app0-1234.moverc2.com/web, cluster=web, physical address=10.4.59.149:63262 2013/07/01 02:24:56,404 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 64) ISPN000094: Received new cluster view: [app0-1234.moverc2.com/web|0] [app0-1234.moverc2.com/web] 2013/07/01 02:24:58,988 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 65) JBAS010281: Started default-host/sfsbTest-1.0 cache from web container 2013/07/01 02:24:58,980 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 64) JBAS010281: Started repl cache from web container 2013/07/01 02:24:59,193 INFO [org.jboss.as.clustering] (MSC service thread 1-4) JBAS010238: Number of cluster members: 1 [51d144dcd6bfd2f9ca0000a5-1234.moverc2.com 51d144dcd6bfd2f9ca0000a5]\> tailf jbosseap/logs/server.log |grep cluster 2013/07/01 02:24:53,483 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 7) JBAS014627: Attribute clustered is deprecated, and it might be removed in future version! 2013/07/01 02:24:55,487 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 39) JBAS010280: Activating Infinispan subsystem. 2013/07/01 02:24:56,288 INFO [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 45) JBAS010260: Activating JGroups subsystem. 2013/07/01 02:25:09,797 INFO [org.hornetq.core.server] (MSC service thread 1-3) HQ221000: live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=/var/lib/openshift/51d144dcd6bfd2f9ca0000a5/jbosseap/standalone/data/messagingjournal,bindingsDirectory=/var/lib/openshift/51d144dcd6bfd2f9ca0000a5/jbosseap/standalone/data/messagingbindings,largeMessagesDirectory=/var/lib/openshift/51d144dcd6bfd2f9ca0000a5/jbosseap/standalone/data/messaginglargemessages,pagingDirectory=/var/lib/openshift/51d144dcd6bfd2f9ca0000a5/jbosseap/standalone/data/messagingpaging) 2013/07/01 02:25:27,684 WARN [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 66) JBAS010265: property bind_addr for protocol TCP attempting to override socket binding value 127.13.19.1 : property value 127.13.19.1 will be ignored 2013/07/01 02:25:27,780 WARN [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 66) JBAS010265: property bind_port for protocol TCP attempting to override socket binding value 7600 : property value 7600 will be ignored 2013/07/01 02:25:31,480 INFO [stdout] (ServerService Thread Pool -- 66) GMS: address=51d144dcd6bfd2f9ca0000a5-1234.moverc2.com/web, cluster=web, physical address=10.4.59.149:36497 2013/07/01 02:25:34,593 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 66) ISPN000094: Received new cluster view: [51d144dcd6bfd2f9ca0000a5-1234.moverc2.com/web|0] [51d144dcd6bfd2f9ca0000a5-1234.moverc2.com/web] 2013/07/01 02:25:37,778 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 66) JBAS010281: Started repl cache from web container 2013/07/01 02:25:37,777 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 65) JBAS010281: Started default-host/sfsbTest-1.0 cache from web container 2013/07/01 02:25:37,879 INFO [org.jboss.as.clustering] (MSC service thread 1-2) JBAS010238: Number of cluster members: 1 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1030.html |