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

Race condition on ALEC's config bundle after installation

    XMLWordPrintable

    Details

    • Sprint:
      Horizon 2021 - Apr 14 - Apr 28, Horizon 2021 - Apr 28 - May 12
    • HB Backlog Status:
      Backlog

      Description

      Even before ALEC was named that way (when it was OCE), I found that the bundle called ALEC :: Integrations :: OpenNMS :: Config sometimes starts correctly, and sometimes doesn't; observed on all its version, tested on pre-H24, H24, H25, and H26.

      The behavior is random, and hard to reproduce consistently, which is why I think it could be a race condition.

      The only workaround I found is doing the following:

      admin@opennms> bundle:list | grep "ALEC.*Config"
      422 │ Active   │  80 │ 1.0.2                   │ ALEC :: Integrations :: OpenNMS :: Config
      admin@opennms> bundle:stop 422
      admin@opennms> bundle:start 422
      

      After that, all the custom event definitions for ALEC are loaded as expected, and the advanced correlation features work as intended. Without it, some events won't have a proper definition and because of that, the correlations won't trigger.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              swachter Stefan Wachter
              Reporter:
              agalue Alejandro Galue
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                HB Grooming Date:

                  Git Integration