Bug 857205
Summary: | JBoss clustering broken with new scalable design | ||
---|---|---|---|
Product: | OKD | Reporter: | Bill DeCoste <wdecoste> |
Component: | Containers | Assignee: | Bill DeCoste <wdecoste> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 2.x | CC: | jhou, missedone, ramr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | >= ami-5ba41732 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-11-06 18:47:48 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: |
Description
Bill DeCoste
2012-09-13 19:07:07 UTC
This is a larger issue of the application on the haproxy gear not subscribing to the correct data. Likely that the application descriptor in the broker for the haproxy gear is not correct to subscribe to the application data. This will also require a migration rchopra: ok, here it is in code : [4:01pm] rchopra: Connections: [4:01pm] rchopra: auto-scale: [4:01pm] rchopra: Components: [\"proxy/haproxy-1.4\", \"web/#{framework}\"] [4:01pm] rchopra: thats all the connections [4:01pm] rchopra: it says haproxy connects to the web/jboss [4:01pm] nduong left the chat room. (Quit: This computer has gone to sleep) [4:02pm] rchopra: and does not say haproxy connects to proxy/jboss [4:02pm] kraman: ah [4:02pm] rchopra: that was by design then, this needs tobe updated [4:03pm] rchopra: one more line should theoretically fix it: Components: [\"proxy/haproxy-1.4\", \"proxy/#{framework}\"] This is also breaking embedded db connectivity for the app on the haproxy gear Verified on devenv_2201 Steps: 1. Create a scalable jbossas-7 application 2. ssh into both of app's gears ssh 868aebead3a0486f973633c64fa60a50.rhcloud.com ssh 66227fcfed0c4afa9d77d12cabfaaf6e.rhcloud.com 3. Run 'env |grep -i cluster' on both gears. On gear 1: OPENSHIFT_JBOSS_CLUSTER_PROXY_PORT=35547 OPENSHIFT_JBOSS_CLUSTER_PORT=7600 OPENSHIFT_JBOSS_CLUSTER_REMOTING=76f3b7d105-2201t.dev.rhcloud.com:35555 OPENSHIFT_JBOSS_CLUSTER=76f3b7d105-2201t.dev.rhcloud.com[35552],jbs-2201t.dev.rhcloud.com[35547] On gear 2: OPENSHIFT_JBOSS_CLUSTER_PROXY_PORT=35552 OPENSHIFT_JBOSS_CLUSTER_PORT=7600 OPENSHIFT_JBOSS_CLUSTER_REMOTING=jbs-2201t.dev.rhcloud.com:35550 OPENSHIFT_JBOSS_CLUSTER=jbs-2201t.dev.rhcloud.com[35547],76f3b7d105-2201t.dev.rhcloud.com[35552] 4. Scale up this app, ssh into all gears, run 'env |grep -i cluster' on all gears again. On gear 3: OPENSHIFT_JBOSS_CLUSTER_PROXY_PORT=35542 OPENSHIFT_JBOSS_CLUSTER_PORT=7600 OPENSHIFT_JBOSS_CLUSTER_REMOTING=jbs-2201t.dev.rhcloud.com:35550 OPENSHIFT_JBOSS_CLUSTER=jbs-2201t.dev.rhcloud.com[35547],76f3b7d105-2201t.dev.rhcloud.com[35552],3f563f4c49-2201t.dev.rhcloud.com[35542] Result: Cluster env variables contain the info of all gears. This fix is causing other issues - see bugz: https://bugzilla.redhat.com/show_bug.cgi?id=860536 Will keep parts of this fix to ensure 860536 is fixed -- please retest this bug once 860536 is fixed. Seems bug 860536 is not fixed, so will verify this bug after bug 860536 is fixed. Bug 860536 is verified so also verified this bug on devenv_2250 1. Create a scalable jbossas app 2. ssh into app, check envs [jas-jhoudev.dev.rhcloud.com conf]\> env|grep -i cluster OPENSHIFT_JBOSS_CLUSTER_PROXY_PORT=35577 OPENSHIFT_JBOSS_CLUSTER_PORT=7600 OPENSHIFT_JBOSS_CLUSTER_REMOTING=c5f0788380-jhoudev.dev.rhcloud.com[35585],jas-jhoudev.dev.rhcloud.com[35580] OPENSHIFT_JBOSS_CLUSTER=c5f0788380-jhoudev.dev.rhcloud.com[35582],jas-jhoudev.dev.rhcloud.com[35577] 3. ssh into another gear, check envs [jas-jhoudev.dev.rhcloud.com conf]\> ssh c5f0788380274f86b93d635d564d5683.rhcloud.com ........ [c5f0788380-jhoudev.dev.rhcloud.com ~]\> env|grep -i cluster OPENSHIFT_JBOSS_CLUSTER_PROXY_PORT=35582 OPENSHIFT_JBOSS_CLUSTER_PORT=7600 OPENSHIFT_JBOSS_CLUSTER_REMOTING=jas-jhoudev.dev.rhcloud.com[35580],c5f0788380-jhoudev.dev.rhcloud.com[35585] OPENSHIFT_JBOSS_CLUSTER=jas-jhoudev.dev.rhcloud.com[35577],c5f0788380-jhoudev.dev.rhcloud.com[35582] Cluster env variables contain the info of all gears. |