Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
This might be because UI is trying to send a converted value (15d) instead of '360h' in Env.Var. @Denys Kondratenko, can you test this if you set '15d' in DATA_RETENTION.
Based on the result of this test, we can proceed with the issue based on priority and possible workarounds.
User impact:
user can't enable features or set any "Advanced Settings" if Data retention is set with help of environment variable.
Steps to reproduce:
set environment variable for pmm:
DATA_RETENTION="360h" # 15 days
login to pmm, go to Settings->Advanced settings
try to change any parameter, like DBaaS enablement, or Public Address. Hit Apply changes.
Actual result:
no changes to the settings applied, error displayed.
Expected result:
Error should appear only when field that was mandated by env variable is changed.
Settings unrelated to the dictated by env should be changed.
Ability to set Public address and other advanced settings.
Workaround:
remove env variable setting.
Details: