when enabling ldap support in values.yaml. This error occurs in the geonode log:
Traceback (most recent call last):
File "/usr/src/geonode/./geonode/wsgi.py", line 29, in <module>
application = get_wsgi_application()
File "/usr/local/lib/python3.10/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application
django.setup(set_prefix=False)
File "/usr/local/lib/python3.10/dist-packages/django/__init__.py", line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/usr/local/lib/python3.10/dist-packages/django/conf/__init__.py", line 82, in __getattr__
self._setup(name)
File "/usr/local/lib/python3.10/dist-packages/django/conf/__init__.py", line 69, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python3.10/dist-packages/django/conf/__init__.py", line 170, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/src/geonode/./geonode/settings.py", line 2395, in <module>
LDAP_ENABLED = strtobool(os.getenv("LDAP_ENABLED", "False"))
NameError: name 'strtobool' is not defined
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. GAME OVER ***
This also might only occur if also sentry is enabled. I guess the geonode-k8s-settings.py is just misses to import from distutils.util import strtobool
Reproduction Steps
best to provide your values.yaml, a brief description of your cluster and version of geonode-k8s here.
Behavior
A description of what you expected to happen and what actually happened.
Additional Information
Any additional information or context that may be helpful in resolving the bug.
Bug Description
when enabling ldap support in values.yaml. This error occurs in the geonode log:
This also might only occur if also sentry is enabled. I guess the geonode-k8s-settings.py is just misses to import
from distutils.util import strtobool
Reproduction Steps
best to provide your values.yaml, a brief description of your cluster and version of geonode-k8s here.
Behavior
A description of what you expected to happen and what actually happened.
Additional Information
Any additional information or context that may be helpful in resolving the bug.