Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-9983

Make env variables behavior consistent

Details

    • Bug
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • 2.26.0, 2.25.0, 2.27.0, 2.28.0
    • None
    • PMM Server
    • Yes
    • Yes
    • Yes
    • Server Features

    Description

      User Impact:

      We have several problems with ENV variables:

      1) ENABLE_BACKUP_MANAGEMENT=1 doesn't prevent this setting change via UI

      2) ENABLE_DBAAS=0  doesn't prevent this setting change via UI

      while *ENABLE_DBAAS=1 ,*for example, prevents changes from UI, this is confusing for the user since effect of docker env variables is not consistent. 

      Steps to Reproduce:
      #1 create pmm-server with following docker env variable -e ENABLE_BACKUP_MANAGEMENT=1 -e ENABLE_DBAAS=1
      -e ENABLE_ALERTING=1
      #2 navigate to advance settings and try to turn off the feature via their own toggle.

      Actual Result:
      All features will trigger the following  alert messages fe. Alerting is enabled via ENABLE_ALERTING environment variable. 
      The second alert is : Error: Request failed with status code 400

      Expected Result:
      Backup Managment toggle should have the same behavior.

      Additional info:

      Attachments

        Activity

          People

            artem.gavrilov Artem Gavrilov
            vojtech.koval Vojtech Koval
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Smart Checklist