Skip to content

Flower container did not start #1016

@index-git

Description

@index-git

After release v1.23.0 Flower container did not start. Logs:

Checking PostgreSQL role service
Traceback (most recent call last):
  File "/code/src/geoserver/role_service.py", line 69, in check_jdbc_role_service
    db_util.get_connection_pool(db_uri_str=role_service_db_uri, encapsulate_exception=False)
  File "/code/src/db/util.py", line 32, in get_connection_pool
    raise exc
  File "/code/src/db/util.py", line 22, in get_connection_pool
    connection_pool = psycopg2.pool.ThreadedConnectionPool(3, 20,
  File "/usr/local/lib/python3.8/dist-packages/psycopg2/pool.py", line 161, in __init__
    AbstractConnectionPool.__init__(
  File "/usr/local/lib/python3.8/dist-packages/psycopg2/pool.py", line 59, in __init__
    self._connect()
  File "/usr/local/lib/python3.8/dist-packages/psycopg2/pool.py", line 63, in _connect
    conn = psycopg2.connect(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/dist-packages/psycopg2/__init__.py", line 122, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not translate host name "host.docker.internal" to address: Name or service not known


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "wait_for_deps.py", line 165, in <module>
    main()
  File "wait_for_deps.py", line 54, in main
    check_jdbc_role_service(settings.LAYMAN_ROLE_SERVICE_URI, settings.LAYMAN_ROLE_SERVICE_SCHEMA)
  File "/code/src/geoserver/role_service.py", line 72, in check_jdbc_role_service
    raise Exception(f"Failed to connect to role service database {secret_conn_dict}") from exc
Exception: Failed to connect to role service database ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions