jboss-fuse / fuse-openshift-cartridge

an openshift cartridge for running Fuse and Fuse Fabric
Other
14 stars 25 forks source link

Unable to create multitple Fuse gears on the same domain #7

Open boogiespook opened 10 years ago

boogiespook commented 10 years ago

Hi,

Just installed the cartridge on OSE 2.0 and can only create one gear per domain. When trying to create a second Fuse gear in the same domain I get the following:

April 28 15:22:20 INFO oo_spawn buffer(11/) CLIENT_RESULT: April 28 15:22:20 INFO oo_spawn buffer(11/) CLIENT_RESULT: Fuse created successfully. Please make note of these credentials: April 28 15:22:20 INFO oo_spawn buffer(11/) CLIENT_RESULT: April 28 15:22:20 INFO oo_spawn buffer(11/) CLIENT_RESULT: Console URL: http://2222fusesourcefuse-chrisj.ose.chrisj.com April 28 15:22:20 INFO oo_spawn buffer(11/) CLIENT_RESULT: Console User: [HIDDEN] April 28 15:22:20 INFO oo_spawn buffer(11/) CLIENT_RESULT: Console Password: [HIDDEN] April 28 15:22:20 INFO oo_spawn buffer(11/) CLIENT_RESULT: Zookeeper URL: fusesourcefuse99999-chrisj.ose.chrisj.com:38037 April 28 15:22:20 INFO oo_spawn buffer(11/) CLIENT_RESULT: Zookeeper Password: [HIDDEN] April 28 15:22:20 INFO oo_spawn buffer(11/) CLIENT_RESULT: April 28 15:22:20 INFO oo_spawn buffer(11/) CLIENT_RESULT: The Fuse Management Console will be available shortly at: http://2222fusesourcefuse-chrisj.ose.chrisj.com April 28 15:22:20 INFO oo_spawn buffer(11/) CLIENT_RESULT: April 28 15:22:20 INFO oo_spawn buffer(11/) ENV_VAR_ADD: OPENSHIFT_FUSE_DOMAIN_ZOOKEEPER_URL=fusesourcefuse99999-chrisj.ose.chrisj.com:38037 April 28 15:22:20 INFO oo_spawn buffer(11/) ENV_VAR_ADD: OPENSHIFT_FUSE_DOMAIN_ZOOKEEPER_PASSWORD=[HIDDEN] April 28 15:22:20 INFO oo_spawn buffer(11/) CART_PROPERTIES: username=[HIDDEN] April 28 15:22:20 INFO oo_spawn buffer(11/) CART_PROPERTIES: password=[HIDDEN] April 28 15:22:22 INFO oo_spawn buffer(11/) CLIENT_RESULT: Fabric( 9654) is started successfully April 28 15:22:22 INFO oo_spawn buffer(11/) client: JAVA_HOME not set; results may vary April 28 15:22:33 INFO oo_spawn buffer(11/) retrying (attempt 1) ... April 28 15:22:33 INFO oo_spawn buffer(11/) April 28 15:22:36 INFO oo_spawn buffer(6/) 14547 [pool-2-thread-1] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /127.1.245.1:23101 presented unverified key: April 28 15:22:37 INFO oo_spawn buffer(6/) Authentication failure April 28 15:22:37 INFO oo_spawn buffer(6/) April 28 15:22:37 INFO oo_spawn buffer(11/) client: JAVA_HOME not set; results may vary April 28 15:22:39 INFO oo_spawn buffer(6/) 1258 [pool-2-thread-1] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /127.1.245.1:23101 presented unverified key: April 28 15:22:57 INFO oo_spawn buffer(11/) CLIENT_RESULT: WARNING: Creating fabric containers directly from April 28 15:22:57 INFO oo_spawn buffer(11/) CLIENT_RESULT: openshift is supported in a limited way April 28 15:22:57 INFO oo_spawn buffer(11/) CLIENT_RESULT: as such containers can not be fully managed April 28 15:22:57 INFO oo_spawn buffer(11/) CLIENT_RESULT: by fabric. April 28 15:22:57 INFO oo_spawn buffer(11/) CLIENT_MESSAGE: Started Fuse cart

After ~2 mins, the broker returns with a time out and the gear is removed.

Is there a restriction on the number of Fuse gears per domain?

davsclaus commented 10 years ago

You should use the fuse management console to create new gears. Its only the 1st time you install the cartridge using that openshift approach.

There is a video showing how to do that in fuse mangement console, that was posted somewhere on the openshift fuse website.

boogiespook commented 10 years ago

Hi Claus,

I've just seen the video (very good!) and it says to "start at the Runtime area" but the tabs I have are: Connect | Dashboard | Health | JMX | Logs | OSGi | Terminal | Threads.

No Runtime tab :-(

Chris

On 04/29/2014 03:00 PM, Claus Ibsen wrote:

fuse mangement console

davsclaus commented 10 years ago

There is a perspective switcher in the top right corner. It says "Container" but you can click on it and there is a "fabric".

Though if you login the web console too fast on OS then it may not show the fabric perspective asap. So just close the browser and wait a bit, then login again.