Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-3409

SNMP trap collector using outdated configuration library

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • New Delhi Release
    • London Release, Montreal Release
    • dcae-services
    • None

      dcae-snmptrap-collector is being built using an outdated version of the configuration library (onap-dcae-cbs-docker-client).  It is using version 2.1.0 of the library, which expects the config binding service (CBS) to be present.  CBS is no longer deployed, so the attempt to retrieve a configuration from CBS fails and the application defaults to a development configuration that expects to see the message router running on localhost.   A newer version of the library (2.2.1) fetches the configuration from a local file.

      In July 2021, the setup.py file was changed to use the 2.2.1 library, but the requirements.txt file was not updated.  The requirements.txt file is the source for library version information when the snmptrap-collector Docker image is built.

      Note that simply changing requirements.txt to use the 2.2.1 library isn't sufficient.  There are other dependency issues that need to be resolved.

      The fact that the problem has gone undetected for 2 years suggests that the trap collector is not being used and should probably be deprecated.

       

            jackl Jack Lucas
            jackl Jack Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: