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

Insight plugin does not list any Camel exchanges

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.2
    • jboss-fuse-6.2
    • Fabric8 v1
    • None
    • % %
    • Hide

      1.clean Fuse installation
      2. fabric:create --zookeeper-password admin
      3. open web console
      4. add profiles to root
      5. change perspective to Insight
      6. no Camel logs listed in Camel/Camel events tabs

      Show
      1.clean Fuse installation 2. fabric:create --zookeeper-password admin 3. open web console 4. add profiles to root 5. change perspective to Insight 6. no Camel logs listed in Camel/Camel events tabs

    Description

      Insight plugin should provide list of Camel exchanges accross fabric containers. It seems to be broken.

      Deployed profiles:

      root*  1.0        karaf   yes          fabric                           success           
                                             fabric-ensemble-0000-1                             
                                             jboss-fuse-full                                    
                                             insight-camel                                      
                                             insight-console                                    
                                             insight-elasticsearch.datastore                    
                                             insight-logs.elasticsearch                         
                                             insight-elasticsearch.node                         
                                             my_profiles-camel-app
      

      my_profiles-cammel-app - contains bundle performing exchanges

      I can see logs in Insight Logs tab but no Camel exchanges in Camel/Camel events tabs.

      I'm also getting this exception while deploying Insight profiles:

      2014-12-02 16:51:50,918 | ERROR | pool-40-thread-4 | MetricsCollector                 | 302 - io.fabric8.insight.insight-metrics - 1.2.0.redhat-046 | Error sending metrics
      java.lang.SecurityException: Insufficient roles/credentials for operation
      	at org.apache.karaf.management.KarafMBeanServerGuard.handleInvoke(KarafMBeanServerGuard.java:301)[36:org.apache.karaf.management.server:2.4.0.redhat-620046]
      	at org.apache.karaf.management.KarafMBeanServerGuard.handleGetAttribute(KarafMBeanServerGuard.java:221)[36:org.apache.karaf.management.server:2.4.0.redhat-620046]
      	at org.apache.karaf.management.KarafMBeanServerGuard.handleGetAttributes(KarafMBeanServerGuard.java:227)[36:org.apache.karaf.management.server:2.4.0.redhat-620046]
      	at org.apache.karaf.management.KarafMBeanServerGuard.invoke(KarafMBeanServerGuard.java:91)[36:org.apache.karaf.management.server:2.4.0.redhat-620046]
      	at org.apache.karaf.management.boot.KarafMBeanServerBuilder$MBeanInvocationHandler.invoke(KarafMBeanServerBuilder.java:63)[karaf-jmx-boot.jar:]
      	at com.sun.proxy.$Proxy0.getAttributes(Unknown Source)[:]
      	at io.fabric8.insight.metrics.service.support.JmxUtils.execute(JmxUtils.java:69)[302:io.fabric8.insight.insight-metrics:1.2.0.redhat-046]
      	at io.fabric8.insight.metrics.service.support.JmxUtils.execute(JmxUtils.java:39)[302:io.fabric8.insight.insight-metrics:1.2.0.redhat-046]
      	at io.fabric8.insight.metrics.service.support.JmxUtils.execute(JmxUtils.java:32)[302:io.fabric8.insight.insight-metrics:1.2.0.redhat-046]
      	at io.fabric8.insight.metrics.service.MetricsCollector$Task$1.run(MetricsCollector.java:355)[302:io.fabric8.insight.insight-metrics:1.2.0.redhat-046]
      	at io.fabric8.insight.metrics.service.MetricsCollector$Task$1.run(MetricsCollector.java:351)[302:io.fabric8.insight.insight-metrics:1.2.0.redhat-046]
      	at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_71]
      	at javax.security.auth.Subject.doAsPrivileged(Subject.java:473)[:1.7.0_71]
      	at io.fabric8.insight.metrics.service.MetricsCollector$Task.run(MetricsCollector.java:351)[302:io.fabric8.insight.insight-metrics:1.2.0.redhat-046]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_71]
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)[:1.7.0_71]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)[:1.7.0_71]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.7.0_71]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_71]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_71]
      	at java.lang.Thread.run(Thread.java:745)[:1.7.0_71]
      

      After Insight profiles deployment hawtio became unstable and unresponsive. Sometimes it freeze browser or whole system(fedora20).

      Attachments

        Activity

          People

            jdyson_jira Jimmi Dyson (Inactive)
            ecervena@redhat.com Emil Cervenan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: