The connection string is quoted in the values.yaml
mongodbConnectionStringAuth: "
"
Hi CostlyOstrich36 thanks for the help! Following Atlas Mongo documentation the connection string follows the format:
None
I run into parsing issues due to the +srv
using Helm Chart: clearml-7.14.2
.mongodbConnectionStringAuth
Traceback (most recent call last):
File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/opt/clearml/apiserver/server.py", line 5, in <module>
from apiserver.config_repo import config
File "/opt/clearml/apiserver/config_repo.py", line 3, in <module>
config = BasicConfig()
File "/opt/clearml/apiserver/config/basic.py", line 66, in __init__
self._config = self._reload()
File "/opt/clearml/apiserver/config/basic.py", line 132, in _reload
extra_config_values = self._read_extra_env_config_values()
File "/opt/clearml/apiserver/config/basic.py", line 106, in _read_extra_env_config_values
result, ConfigFactory.parse_string(f"{path}: {os.environ[key]}")
File "/usr/local/lib/python3.9/site-packages/pyhocon/config_parser.py", line 191, in parse_string
return ConfigParser().parse(content, basedir, resolve, unresolved_value)
File "/usr/local/lib/python3.9/site-packages/pyhocon/config_parser.py", line 454, in parse
config = config_expr.parseString(content, parseAll=True)[0]
File "/usr/local/lib/python3.9/site-packages/pyparsing/util.py", line 256, in _inner
return fn(self, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/pyparsing/core.py", line 1199, in parse_string
raise exc.with_traceback(None)
pyparsing.exceptions.ParseException: Expected end of text, found '+' (at char 30), (line:1, col:31)
Hi SlipperySparrow72 , what are the issues you're running into?
I think the parsing of the configuration fails, perhaps quoting the connection string will help