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

Replace custom bash templating with Confd and streamline entrypoint script

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 24.1.0
    • Fix Version/s: 25.0.0
    • Component/s: Container Image
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      We use right now a custom bash templating and all this logic is implemented in the entry point script. Delegate the templating to confd and remove this logic from the entry point to make it easier to maintain and to enhance.

      The entry point script was enhanced also to run with Cassandra and Newts and required

      a) to run with a different startup command -c
      b) to configure the time series and Cassandra endpoints correctly and also set the time storage strategy from "rrd" to "newts"

      Refactoring the script to remove the necessity to set a different startup command and use the time storage strategy variable instead, cause this needs to be set anyways.

        Attachments

          Activity

            People

            • Assignee:
              indigo Ronny Trommer
              Reporter:
              indigo Ronny Trommer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: