You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make sure you don't have a config.ini file on your $HOME/.calm/config.ini
run something like calm get bps
See error
root ➜ /workspaces/calm-community (main ✗) $ calm get bps
[2022-07-24 09:06:30] [ERROR] [calm.dsl.config.context:62] Host IP not found. Please provide it in config file or set environment variable 'CALM_DSL_PC_IP'
[2022-07-24 09:06:30] [ERROR] [calm.dsl.config.context:53] Invalid config file location '/root/.calm/config.ini'
Expected behavior
It should use the environment variable, and if it doesn't exist, fallback to the default path
Findings/Troubleshooting Done
With inline configuration it works
calm -c config/forrester.ini get bps
** System Configuration:**
OS: container python:3-bullseye
Python: 3.10.4
The text was updated successfully, but these errors were encountered:
Describe the bug
CALM_DSL_CONFIG_FILE_LOCATION envvar is ignored. Inline -c config_file works.
Branch/Container
master
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should use the environment variable, and if it doesn't exist, fallback to the default path
Findings/Troubleshooting Done
With inline configuration it works
** System Configuration:**
The text was updated successfully, but these errors were encountered: