Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12188

BulkRequests should log more details of why it failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 25.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2019 - August 14th

      Description

      If a build request (elastic search) fails, it does not log the actual error, just that it failed.
      Instead it should provide additional information what actually went wrong.

      This is how it looks now

      2019-07-29T06:24:55,967 | INFO  | kafka-consumer-15 | BulkRequest                      | 223 - org.opennms.features.jest.client - 25.0.0.SNAPSHOT | Retrying now ...
      2019-07-29T06:24:55,996 | INFO  | kafka-consumer-15 | BulkRequest                      | 223 - org.opennms.features.jest.client - 25.0.0.SNAPSHOT | An error occurred while executing the bulk request: One or more of the items in the Bulk request failed, check BulkResult.getItems() for more information..
      2019-07-29T06:24:56,057 | ERROR | kafka-consumer-15 | AbstractFlowAdapter              | 240 - org.opennms.features.telemetry.protocols.flows - 25.0.0.SNAPSHOT | Failed to persist one or more packets: Could not perform bulk operation
      

        Attachments

          Activity

            People

            • Assignee:
              cpape Christian Pape
              Reporter:
              mvr Markus von RĂ¼den
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: