Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1795

5 minute delay when adding/removing profiles to/from containers

XMLWordPrintable

    • % %
    • Hide
      1. Create two OSE fuse gears / join them into fabric
      2. Add mq/amq profile to the second container
      3. notice it will take approx. 5 minutes to get it finally online while apparently not consuming significant CPU most of the time, see also jstack in its hanged state.
      Show
      Create two OSE fuse gears / join them into fabric Add mq/amq profile to the second container notice it will take approx. 5 minutes to get it finally online while apparently not consuming significant CPU most of the time, see also jstack in its hanged state.

      Adding or removing a profile (e.g. mq/amq) to an openshift container takes the container offline for about 5 minutes.

      The container seems to be hanged on a TIMED_WAITING state:

      "FelixFrameworkWiring" daemon prio=10 tid=0x00007fbd60887800 nid=0x796 in Object.wait() [0x00007fbd7cbf5000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
          at java.lang.Object.wait(Native Method)
          - waiting on <0x00000000ffa4b7f8> (a java.lang.Object)
          at org.apache.aries.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:206)
          - locked <0x00000000ffa4b7f8> (a java.lang.Object)
          at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:55)
          at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:294)
          at Proxy57420ab6_3964_4286_a81f_38459529e623.untrackConfiguration(Unknown Source)
          at io.fabric8.agent.commands.support.ProfileWatcher.stop(ProfileWatcher.java:428)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:606)
          at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)
          at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)
          at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:863)
          at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:320)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:717)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.tidyupComponents(BlueprintContainerImpl.java:919)
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:869)
          at org.apache.aries.blueprint.container.BlueprintExtender$3.run(BlueprintExtender.java:295)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
          at java.util.concurrent.FutureTask.run(FutureTask.java:262)
          at org.apache.aries.blueprint.container.BlueprintExtender.destroyContainer(BlueprintExtender.java:316)
          at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:216)
          at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)
          at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)
          at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)
          at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)
          at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)
          at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)
          at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)
          at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)
          at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4650)
          at org.apache.felix.framework.Felix.stopBundle(Felix.java:2765)
          at org.apache.felix.framework.Felix$RefreshHelper.stop(Felix.java:5117)
          at org.apache.felix.framework.Felix.refreshPackages(Felix.java:4355)
          at org.apache.felix.framework.FrameworkWiringImpl.run(FrameworkWiringImpl.java:178)
          at java.lang.Thread.run(Thread.java:745)
      

              ggrzybek Grzegorz Grzybek
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: