Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-551

If all clients (in InsightsMultiClient) fail then WARN is logged

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • Insights
    • None

      If all clients (in InsightsMultiClient) fail then WARN is logged:

      9:46:28,086 WARN  [org.jboss.eap.insights.report] (ServerService Thread Pool -- 1) Scheduled send failed: com.redhat.insights.InsightsException: I4ASR0019: All clients failed: [InsightsApacheHttpClient{keyFile= /etc/pki/consumer/key.pem, certFile= /etc/pki/consumer/cert.pem, url= https://cert.console.redhat.com/api/ingress/v1/upload}, com.redhat.insights.http.InsightsFileWritingClient@141929d2]
              at com.redhat.insights@7.4.10.GA-redhat-SNAPSHOT//com.redhat.insights.http.InsightsMultiClient.sendInsightsReport(InsightsMultiClient.java:50)
              at com.redhat.insights@7.4.10.GA-redhat-SNAPSHOT//com.redhat.insights.InsightsReportController.lambda$generate$0(InsightsReportController.java:121)
              at com.redhat.insights@7.4.10.GA-redhat-SNAPSHOT//org.jboss.eap.insights.report.JBossInsightsScheduler.lambda$scheduleAtFixedRate$0(JBossInsightsScheduler.java:59)
              at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
              at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
              at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at java.base/java.lang.Thread.run(Thread.java:834)
              at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.JBossThread.run(JBossThread.java:513)
      

      Expected result: Above log will be on DEBUG level.

      There is used default configuration however report cannot be sent due to missing certs/tokens. It's supposed this will be a common case for all customers without Insights.

      EAP customers are very sensitive to any WARN/ERROR logs and they have automatic alarm tooling for those any WARN/ERROR logs. As reporting to Insights is enabled by default, this would cause alarms for most of EAP customers.

            ehugonne1@redhat.com Emmanuel Hugonnet
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: