-
-
Notifications
You must be signed in to change notification settings - Fork 496
Open
Labels
Description
What happened
The project doesn't start.
Environment
- OS: Ubuntu 24.04
- IntelOwl version: 6.3.1
What did you expect to happen
The project start correctly
How to reproduce your issue
Set the env var to:
ELASTICSEARCH_BI_ENABLED=False
ELASTICSEARCH_BI_HOST=https://elasticsearch:9200
ELASTICSEARCH_BI_INDEX=test-bi
and start the project with:
./start test up --elastic
Error messages and logs
intelowl_uwsgi | The above exception was the direct cause of the following exception:
intelowl_uwsgi |
intelowl_uwsgi | Traceback (most recent call last):
intelowl_uwsgi | File "/opt/deploy/intel_owl/manage.py", line 25, in <module>
intelowl_uwsgi | main()
intelowl_uwsgi | File "/opt/deploy/intel_owl/manage.py", line 21, in main
intelowl_uwsgi | execute_from_command_line(sys.argv)
intelowl_uwsgi | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
intelowl_uwsgi | utility.execute()
intelowl_uwsgi | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 382, in execute
intelowl_uwsgi | settings.INSTALLED_APPS
intelowl_uwsgi | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 102, in __getattr__
intelowl_uwsgi | self._setup(name)
intelowl_uwsgi | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 89, in _setup
intelowl_uwsgi | self._wrapped = Settings(settings_module)
intelowl_uwsgi | ^^^^^^^^^^^^^^^^^^^^^^^^^
intelowl_uwsgi | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 217, in __init__
intelowl_uwsgi | mod = importlib.import_module(self.SETTINGS_MODULE)
intelowl_uwsgi | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
intelowl_uwsgi | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
intelowl_uwsgi | return _bootstrap._gcd_import(name[level:], package, level)
intelowl_uwsgi | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
intelowl_uwsgi | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
intelowl_uwsgi | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
intelowl_uwsgi | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
intelowl_uwsgi | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
intelowl_uwsgi | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
intelowl_uwsgi | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
intelowl_uwsgi | File "/opt/deploy/intel_owl/intel_owl/settings/__init__.py", line 72, in <module>
intelowl_uwsgi | from .elasticsearch import * # lgtm [py/polluting-import]
intelowl_uwsgi | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
intelowl_uwsgi | File "/opt/deploy/intel_owl/intel_owl/settings/elasticsearch.py", line 25, in <module>
intelowl_uwsgi | f"ELASTICSEARCH BI client configuration did not connect correctly: {ELASTICSEARCH_BI_CLIENT.info()}"
intelowl_uwsgi | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
intelowl_uwsgi | File "/usr/local/lib/python3.11/site-packages/elasticsearch/_sync/client/utils.py", line 455, in wrapped
intelowl_uwsgi | return api(*args, **kwargs)
intelowl_uwsgi | ^^^^^^^^^^^^^^^^^^^^
intelowl_uwsgi | File "/usr/local/lib/python3.11/site-packages/elasticsearch/_sync/client/__init__.py", line 3042, in info
intelowl_uwsgi | return self.perform_request( # type: ignore[return-value]
intelowl_uwsgi | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
intelowl_uwsgi | File "/usr/local/lib/python3.11/site-packages/elasticsearch/_sync/client/_base.py", line 271, in perform_request
intelowl_uwsgi | response = self._perform_request(
intelowl_uwsgi | ^^^^^^^^^^^^^^^^^^^^^^
intelowl_uwsgi | File "/usr/local/lib/python3.11/site-packages/elasticsearch/_sync/client/_base.py", line 316, in _perform_request
intelowl_uwsgi | meta, resp_body = self.transport.perform_request(
intelowl_uwsgi | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
intelowl_uwsgi | File "/usr/local/lib/python3.11/site-packages/elastic_transport/_transport.py", line 342, in perform_request
intelowl_uwsgi | resp = node.perform_request(
intelowl_uwsgi | ^^^^^^^^^^^^^^^^^^^^^
intelowl_uwsgi | File "/usr/local/lib/python3.11/site-packages/elastic_transport/_node/_http_urllib3.py", line 202, in perform_request
intelowl_uwsgi | raise err from e
intelowl_uwsgi | elastic_transport.TlsError: TLS error caused by: TlsError(TLS error caused by: SSLError([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)))
intelowl_uwsgi | Issue with migration exiting
intelowl_uwsgi exited with code 1
Gracefully stopping... (press Ctrl+C again to force)
dependency failed to start: container intelowl_uwsgi exited (1)