I have recently build solution using composure and getting error for Postgres database is not reachable
2024-10-24 14:33:41,196 WARNING django-csp could not be found, not updating Content-Security-Policy. Please make sure CSP is configured. This can be done by your reverse proxy, django-csp or a custom CSP handler via SAML_CSP_HANDLER. See https://djangosaml2.readthedocs.io/contents/security.html#content-security-policy for more information. This warning can be disabled by setting SAML_CSP_HANDLER=''in your settings. Checking Waldur MasterMind services... Database PostgreSQL connection [**ERROR**] Task runners (Celery workers) [OK] Queue and cache server (Redis) connection [OK]
and
File "/usr/local/lib/python3.11/site-packages/kombu/connection.py", line 476, in _reraise_as_library_errors raise ConnectionError(str(exc)) from exc kombu.exceptions.OperationalError: Error -2 connecting to **_waldur-queue:6379_**. Name or service not known.
and while creating user
File "/usr/local/lib/python3.11/site-packages/psycopg2/__init__.py", line 122, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ django.db.utils.OperationalError: **_could not translate host name "waldur-db" to address_**: Name or service not known
I have recently build solution using composure and getting error for Postgres database is not reachable
2024-10-24 14:33:41,196 WARNING django-csp could not be found, not updating Content-Security-Policy. Please make sure CSP is configured. This can be done by your reverse proxy, django-csp or a custom CSP handler via SAML_CSP_HANDLER. See https://djangosaml2.readthedocs.io/contents/security.html#content-security-policy for more information. This warning can be disabled by settingSAML_CSP_HANDLER=''in your settings. Checking Waldur MasterMind services... Database PostgreSQL connection [**ERROR**] Task runners (Celery workers) [OK] Queue and cache server (Redis) connection [OK]and
File "/usr/local/lib/python3.11/site-packages/kombu/connection.py", line 476, in _reraise_as_library_errors raise ConnectionError(str(exc)) from exc kombu.exceptions.OperationalError: Error -2 connecting to **_waldur-queue:6379_**. Name or service not known.and while creating user
File "/usr/local/lib/python3.11/site-packages/psycopg2/__init__.py", line 122, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ django.db.utils.OperationalError: **_could not translate host name "waldur-db" to address_**: Name or service not known