Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-12090 Move to jaeger based activity tracking
  3. ENTESB-11979

Enabling Jaeger add-on causes errors in integrations

    XMLWordPrintable

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Done
    • fuse-7.x-GA, fuse-7.5-ER1
    • None
    • Fuse Online

    Description

      Enabling Jaeger add-on causes that integrations with LOG step show errors in the pod log. Also, the Activity tab in the Syndesis UI shows that some `Errors found`.

      2019-10-10 15:40:37.859 ERROR 1 --- [/syndesis-timer] o.a.camel.processor.DefaultErrorHandler  : Failed delivery for (MessageId: i-LqqK30NKxxX_HAWMaLAz on ExchangeId: i-LqqK30MKxxX_HAWMaL9z). Exhausted after delivery attempt: 1 caught: org.apache.camel.NoSuchBeanException: No bean could be found in the registry for: bodyLogger
      Message History
      ---------------------------------------------------------------------------------------------------------------------------------------
      RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
      [-LqqJNUBEwsMgu3c1a] [-LqqJNUBEwsMgu3c1a] [timer://syndesis-timer?period=60000                                           ] [         8]
      [-LqqJNUBEwsMgu3c1a] [step:-LqqJPAQEwsMg] [pipeline                                                                      ] [         1]
      [-LqqJNUBEwsMgu3c1a] [setHeader1        ] [setHeader[Syndesis.STEP_ID]                                                   ] [         0]
      [-LqqJNUBEwsMgu3c1a] [setHeader2        ] [setHeader[Syndesis.FLOW_ID]                                                   ] [         0]
      [-LqqJNUBEwsMgu3c1a] [setHeader3        ] [setHeader[Syndesis.STEP_ID]                                                   ] [         0]
      [-LqqJNUBEwsMgu3c1a] [capture-out:-LqqJP] [Processor@0x1b8a90e5                                                          ] [         1]
      [-LqqJNUBEwsMgu3c1a] [step:-LqqJQ6zEwsMg] [pipeline                                                                      ] [         0]
      [-LqqJNUBEwsMgu3c1a] [setHeader4        ] [setHeader[Syndesis.STEP_ID]                                                   ] [         1]
      [-LqqJNUBEwsMgu3c1a] [log1              ] [log                                                                           ] [         4]
      Stacktrace
      ---------------------------------------------------------------------------------------------------------------------------------------
      org.apache.camel.NoSuchBeanException: No bean could be found in the registry for: bodyLogger
      	at org.apache.camel.component.bean.RegistryBean.getBean(RegistryBean.java:94) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.component.bean.AbstractBeanProcessor.process(AbstractBeanProcessor.java:80) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.component.bean.AbstractBeanProcessor.process(AbstractBeanProcessor.java:70) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.language.bean.BeanExpression.invokeBean(BeanExpression.java:200) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.language.bean.BeanExpression.evaluate(BeanExpression.java:124) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.language.bean.BeanExpression.evaluate(BeanExpression.java:135) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.builder.ExpressionBuilder$82.evaluate(ExpressionBuilder.java:2027) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.support.ExpressionAdapter.evaluate(ExpressionAdapter.java:36) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.builder.ExpressionBuilder$76.evaluate(ExpressionBuilder.java:1836) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.support.ExpressionAdapter.evaluate(ExpressionAdapter.java:36) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.LogProcessor.process(LogProcessor.java:64) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:110) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:110) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at io.syndesis.integration.runtime.tracing.TracingInterceptStrategy$EventProcessor.process(TracingInterceptStrategy.java:77) [integration-runtime-1.8.0.fuse-750011-redhat-00001.jar!/:1.8.0.fuse-750011-redhat-00001]
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:110) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:197) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:79) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at java.util.TimerThread.mainLoop(Timer.java:555) [na:1.8.0_222]
      	at java.util.TimerThread.run(Timer.java:505) [na:1.8.0_222]
      2019-10-10 15:40:37.865  WARN 1 --- [/syndesis-timer] o.a.camel.component.timer.TimerConsumer  : Error processing exchange. Exchange[i-LqqK30MKxxX_HAWMaL9z]. Caused by: [org.apache.camel.NoSuchBeanException - No bean could be found in the registry for: bodyLogger]
      org.apache.camel.NoSuchBeanException: No bean could be found in the registry for: bodyLogger
      	at org.apache.camel.component.bean.RegistryBean.getBean(RegistryBean.java:94) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.component.bean.AbstractBeanProcessor.process(AbstractBeanProcessor.java:80) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.component.bean.AbstractBeanProcessor.process(AbstractBeanProcessor.java:70) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.language.bean.BeanExpression.invokeBean(BeanExpression.java:200) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.language.bean.BeanExpression.evaluate(BeanExpression.java:124) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.language.bean.BeanExpression.evaluate(BeanExpression.java:135) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.builder.ExpressionBuilder$82.evaluate(ExpressionBuilder.java:2027) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.support.ExpressionAdapter.evaluate(ExpressionAdapter.java:36) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.builder.ExpressionBuilder$76.evaluate(ExpressionBuilder.java:1836) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.support.ExpressionAdapter.evaluate(ExpressionAdapter.java:36) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.LogProcessor.process(LogProcessor.java:64) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:110) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:110) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at io.syndesis.integration.runtime.tracing.TracingInterceptStrategy$EventProcessor.process(TracingInterceptStrategy.java:77) ~[integration-runtime-1.8.0.fuse-750011-redhat-00001.jar!/:1.8.0.fuse-750011-redhat-00001]
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:110) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) ~[camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:197) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:79) [camel-core-2.21.0.fuse-750029-redhat-00001.jar!/:2.21.0.fuse-750029-redhat-00001]
      	at java.util.TimerThread.mainLoop(Timer.java:555) [na:1.8.0_222]
      	at java.util.TimerThread.run(Timer.java:505) [na:1.8.0_222]
      

      Integration without LOG step works without any error. (e.g. Timer to DB).

      When I disable Jaeger add-on

      oc patch syndesis app --type merge -p '{"spec":{"addons":{"jaeger":{"enabled":"false"}}}}'
      

      and republish the integrations, the issue is gone.

      Attachments

        Activity

          People

            cmiranda@redhat.com Claudio Miranda
            mkralik@redhat.com Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: