Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-807

[Custom metrics] The METRICS_ENABLED environment variable is overridden by its default value

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Critical Critical
    • MTA 6.2.0
    • MTA 6.2.0
    • Hub
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Description of problem:

      Cannot disable metrics, False value is overridden by the default value (True)

       Version-Release number of selected component (if applicable):

      mta-operator-bundle-container-6.2.0-16

      How reproducible:

      100%

      Steps to Reproduce:

      1. On OpenShift, go to mta-hub deployment -> Environment tab
      2. Set METRICS_ENABLED=False

      Actual results:

      After few seconds the METRICS_ENABLED value resets to True

            [MTA-807] [Custom metrics] The METRICS_ENABLED environment variable is overridden by its default value

            Errata Tool added a comment -

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (Important: Migration Toolkit for Applications security and bug fix update), and where to find the updated files, follow the link below.

            If the solution does not work for you, open a new bug report.
            https://access.redhat.com/errata/RHSA-2023:4627

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (Important: Migration Toolkit for Applications security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:4627

            Closing as Not a Bug
            In order to disable metrics, need to edit the spec section of the Tackle CR with: `hub_metrics_enabled: false`

            Maayan Hadasi added a comment - Closing as Not a Bug In order to disable metrics, need to edit the spec section of the Tackle CR with: `hub_metrics_enabled: false`

            This issue is a test-blocker since it blocks disabled metrics

            Maayan Hadasi added a comment - This issue is a test-blocker since it blocks disabled metrics

              slucidi@redhat.com Samuel Lucidi
              mguetta1 Maayan Hadasi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: