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

Setting Instance ID via minon-config.yaml doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 26.2.2, 27.0.3
    • Fix Version/s: Next
    • Component/s: Minion
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • HB Backlog Status:
      Backlog

      Description

      To use a shared Kafka cluster across multiple independent OpenNMS environments, you must set the "org.opennms.instance.id" property in OpenNMS and its Minions to guarantee unique Topic names in Kafka.

      Then the confd based configuration was introduced, that property was supposed to be available via the YAML file:

      https://github.com/OpenNMS/opennms/blob/develop/opennms-container/minion/container-fs/confd/conf.d/instance-id.properties.toml

      Unfortunately, that is not working. It is ignored by the Minion when passed that property via the YAML file, and the default prefix is used.

      The workaround is passing custom.properties (or custom.system.properties) via volume mount.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              agalue Alejandro Galue
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                HB Grooming Date:

                  Git Integration