jboss-fuse / fuse-openshift-cartridge

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

adding feature-cxf to a fuse container under openshift. #57

Open ghost opened 10 years ago

ghost commented 10 years ago

Hi, We have noticed an issue with the fuse openshift cartridge, where having created a gear, we are then trying to deploy a cxf based webservice, we lose the fabric commands for around four minutes where upon they recover.

I have isolated the steps to repeat:

  1. From the command line ssh into a container and then attach to the running karaf instance.
  2. Container-add-profile myrootcontainer feature-cxf
  3. The profile/features will start downloading then the fabric commands will be lost for about 4mins thereafter they are recovered.

Checking the logs there appear to be problems where fabric cannot connect to its internal GIT repo, which seems to use jetty? This is closely followed by a number of key bundles being uninstalled one of which includes the fabric commands. This happens on our corporate openshift enterprise environment, also happens on redhat's online service. Does not happen on straight jboss-fuse 6.1 installed locally.

Please advise if we should be using a different profile rather than feature-cxf? Ultimately we can live with this, since the services appear to redeploy after about 4mins and then the commands are returned and the service is deployed. Ideally however we would like to be able to use the fabric commands from the console directly.

thanks

Martin

ghost commented 10 years ago

I've been having this issue too. I've just noticed this thread where claus suggests that a 5 minute outage can be caused by the container re-provisioning itself - https://github.com/fabric8io/fabric8/issues/1017. My guess is CXF is modifying the jetty settings and that's causing a re-provision ... although that doesn't explain why this only happens in openshift.