Staging resultsdb is crashing in a loop #12616

Open
opened 2025-06-27 07:14:26 +00:00 by adamwill · 2 comments

See subject. Logs:

[Fri Jun 27 07:10:56.244415 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] mod_wsgi (pid=55): Failed to exec Python script file '/tmp/mod_wsgi-localhost:5001:1000780000/handler.wsgi'.
[Fri Jun 27 07:10:56.244436 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] mod_wsgi (pid=55): Exception occurred processing WSGI script '/tmp/mod_wsgi-localhost:5001:1000780000/handler.wsgi'.
[Fri Jun 27 07:10:56.245660 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] Traceback (most recent call last):
[Fri Jun 27 07:10:56.247716 2025] [wsgi:info] [pid 1:tid 1] mod_wsgi (pid=55): Process 'localhost:5001' to be deregistered, as server is restarting or being shutdown.
[Fri Jun 27 07:10:56.247730 2025] [wsgi:info] [pid 1:tid 1] mod_wsgi (pid=55): Process 'localhost:5001' has been deregistered and will no longer be monitored.
[Fri Jun 27 07:10:56.294745 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/tmp/mod_wsgi-localhost:5001:1000780000/handler.wsgi", line 90, in <module>
[Fri Jun 27 07:10:56.294761 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     handler = mod_wsgi.server.ApplicationHandler(entry_point,
[Fri Jun 27 07:10:56.294765 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]             application_type=application_type, callable_object=callable_object,
[Fri Jun 27 07:10:56.294768 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ...<2 lines>...
[Fri Jun 27 07:10:56.294771 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]             debugger_startup=debugger_startup, enable_recorder=enable_recorder,
[Fri Jun 27 07:10:56.294774 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]             recorder_directory=recorder_directory)
[Fri Jun 27 07:10:56.294782 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/mod_wsgi/server/__init__.py", line 1477, in __init__
[Fri Jun 27 07:10:56.294786 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     exec(code, self.module.__dict__)
[Fri Jun 27 07:10:56.294788 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Fri Jun 27 07:10:56.294794 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/usr/share/resultsdb/resultsdb.wsgi", line 4, in <module>
[Fri Jun 27 07:10:56.294797 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     application = create_app()
[Fri Jun 27 07:10:56.294803 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/resultsdb/__init__.py", line 111, in create_app
[Fri Jun 27 07:10:56.294806 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     init_session(app)
[Fri Jun 27 07:10:56.294808 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ~~~~~~~~~~~~^^^^^
[Fri Jun 27 07:10:56.294814 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/resultsdb/__init__.py", line 247, in init_session
[Fri Jun 27 07:10:56.294817 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     app.server_session = Session(app)
[Fri Jun 27 07:10:56.294820 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]                          ~~~~~~~^^^^^
[Fri Jun 27 07:10:56.294825 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/flask_session/__init__.py", line 27, in __init__
[Fri Jun 27 07:10:56.294828 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     self.init_app(app)
[Fri Jun 27 07:10:56.294831 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ~~~~~~~~~~~~~^^^^^
[Fri Jun 27 07:10:56.294837 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/flask_session/__init__.py", line 41, in init_app
[Fri Jun 27 07:10:56.294840 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     app.session_interface = self._get_interface(app)
[Fri Jun 27 07:10:56.294843 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]                             ~~~~~~~~~~~~~~~~~~~^^^^^
[Fri Jun 27 07:10:56.294850 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/flask_session/__init__.py", line 165, in _get_interface
[Fri Jun 27 07:10:56.294854 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     session_interface = SqlAlchemySessionInterface(
[Fri Jun 27 07:10:56.294857 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]         **common_params,
[Fri Jun 27 07:10:56.294859 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ...<5 lines>...
[Fri Jun 27 07:10:56.294862 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]         cleanup_n_requests=SESSION_CLEANUP_N_REQUESTS,
[Fri Jun 27 07:10:56.294865 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     )
[Fri Jun 27 07:10:56.294872 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/flask_session/sqlalchemy/sqlalchemy.py", line 103, in __init__
[Fri Jun 27 07:10:56.294875 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     self.sql_session_model = create_session_model(
[Fri Jun 27 07:10:56.294879 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]                              ~~~~~~~~~~~~~~~~~~~~^
[Fri Jun 27 07:10:56.294882 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]         client, table, schema, bind_key, sequence
[Fri Jun 27 07:10:56.294884 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Fri Jun 27 07:10:56.294887 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     )
[Fri Jun 27 07:10:56.294890 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ^
[Fri Jun 27 07:10:56.294895 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/flask_session/sqlalchemy/sqlalchemy.py", line 21, in create_session_model
[Fri Jun 27 07:10:56.294899 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     class Session(db.Model):
[Fri Jun 27 07:10:56.294901 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ...<19 lines>...
[Fri Jun 27 07:10:56.294904 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]             return f"<Session data {self.data}>"
[Fri Jun 27 07:10:56.294910 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/flask_sqlalchemy/model.py", line 92, in __init__
[Fri Jun 27 07:10:56.294913 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     super().__init__(name, bases, d, **kwargs)
[Fri Jun 27 07:10:56.294916 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
[Fri Jun 27 07:10:56.294922 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/flask_sqlalchemy/model.py", line 144, in __init__
[Fri Jun 27 07:10:56.294925 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     super().__init__(name, bases, d, **kwargs)
[Fri Jun 27 07:10:56.294928 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
[Fri Jun 27 07:10:56.294933 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/sqlalchemy/orm/decl_api.py", line 198, in __init__
[Fri Jun 27 07:10:56.294937 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     _as_declarative(reg, cls, dict_)
[Fri Jun 27 07:10:56.294939 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
[Fri Jun 27 07:10:56.294945 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/sqlalchemy/orm/decl_base.py", line 244, in _as_declarative
[Fri Jun 27 07:10:56.294949 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     return _MapperConfig.setup_mapping(registry, cls, dict_, None, {})
[Fri Jun 27 07:10:56.294951 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Fri Jun 27 07:10:56.294958 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/sqlalchemy/orm/decl_base.py", line 325, in setup_mapping
[Fri Jun 27 07:10:56.294962 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     return _ClassScanMapperConfig(
[Fri Jun 27 07:10:56.294965 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]         registry, cls_, dict_, table, mapper_kw
[Fri Jun 27 07:10:56.294967 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     )
[Fri Jun 27 07:10:56.294973 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/sqlalchemy/orm/decl_base.py", line 576, in __init__
[Fri Jun 27 07:10:56.294976 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     self._setup_table(table)
[Fri Jun 27 07:10:56.294979 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ~~~~~~~~~~~~~~~~~^^^^^^^
[Fri Jun 27 07:10:56.294986 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/sqlalchemy/orm/decl_base.py", line 1755, in _setup_table
[Fri Jun 27 07:10:56.294989 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     table_cls(
[Fri Jun 27 07:10:56.294991 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ~~~~~~~~~^
[Fri Jun 27 07:10:56.294994 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]         tablename,
[Fri Jun 27 07:10:56.294997 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]         ^^^^^^^^^^
[Fri Jun 27 07:10:56.295000 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ...<3 lines>...
[Fri Jun 27 07:10:56.295002 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]         **table_kw,
[Fri Jun 27 07:10:56.295005 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]         ^^^^^^^^^^^
[Fri Jun 27 07:10:56.295008 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ),
[Fri Jun 27 07:10:56.295011 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ^
[Fri Jun 27 07:10:56.295016 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/flask_sqlalchemy/model.py", line 171, in __table_cls__
[Fri Jun 27 07:10:56.295019 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     return sa.Table(*args, **kwargs)
[Fri Jun 27 07:10:56.295022 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]            ~~~~~~~~^^^^^^^^^^^^^^^^^
[Fri Jun 27 07:10:56.295045 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "<string>", line 2, in __new__
[Fri Jun 27 07:10:56.295052 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/sqlalchemy/util/deprecations.py", line 281, in warned
[Fri Jun 27 07:10:56.295055 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     return fn(*args, **kwargs)  # type: ignore[no-any-return]
[Fri Jun 27 07:10:56.295060 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/sqlalchemy/sql/schema.py", line 429, in __new__
[Fri Jun 27 07:10:56.295064 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     return cls._new(*args, **kw)
[Fri Jun 27 07:10:56.295067 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]            ~~~~~~~~^^^^^^^^^^^^^
[Fri Jun 27 07:10:56.295072 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]   File "/venv/lib64/python3.13/site-packages/sqlalchemy/sql/schema.py", line 461, in _new
[Fri Jun 27 07:10:56.295075 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     raise exc.InvalidRequestError(
[Fri Jun 27 07:10:56.295078 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     ...<5 lines>...
[Fri Jun 27 07:10:56.295080 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558]     )
[Fri Jun 27 07:10:56.295096 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] sqlalchemy.exc.InvalidRequestError: Table 'sessions' is already defined for this MetaData instance.  Specify 'extend_existing=True' to redefine options and columns on an existing Table object.
See subject. Logs: ``` [Fri Jun 27 07:10:56.244415 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] mod_wsgi (pid=55): Failed to exec Python script file '/tmp/mod_wsgi-localhost:5001:1000780000/handler.wsgi'. [Fri Jun 27 07:10:56.244436 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] mod_wsgi (pid=55): Exception occurred processing WSGI script '/tmp/mod_wsgi-localhost:5001:1000780000/handler.wsgi'. [Fri Jun 27 07:10:56.245660 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] Traceback (most recent call last): [Fri Jun 27 07:10:56.247716 2025] [wsgi:info] [pid 1:tid 1] mod_wsgi (pid=55): Process 'localhost:5001' to be deregistered, as server is restarting or being shutdown. [Fri Jun 27 07:10:56.247730 2025] [wsgi:info] [pid 1:tid 1] mod_wsgi (pid=55): Process 'localhost:5001' has been deregistered and will no longer be monitored. [Fri Jun 27 07:10:56.294745 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/tmp/mod_wsgi-localhost:5001:1000780000/handler.wsgi", line 90, in <module> [Fri Jun 27 07:10:56.294761 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] handler = mod_wsgi.server.ApplicationHandler(entry_point, [Fri Jun 27 07:10:56.294765 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] application_type=application_type, callable_object=callable_object, [Fri Jun 27 07:10:56.294768 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ...<2 lines>... [Fri Jun 27 07:10:56.294771 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] debugger_startup=debugger_startup, enable_recorder=enable_recorder, [Fri Jun 27 07:10:56.294774 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] recorder_directory=recorder_directory) [Fri Jun 27 07:10:56.294782 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/mod_wsgi/server/__init__.py", line 1477, in __init__ [Fri Jun 27 07:10:56.294786 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] exec(code, self.module.__dict__) [Fri Jun 27 07:10:56.294788 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Fri Jun 27 07:10:56.294794 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/usr/share/resultsdb/resultsdb.wsgi", line 4, in <module> [Fri Jun 27 07:10:56.294797 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] application = create_app() [Fri Jun 27 07:10:56.294803 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/resultsdb/__init__.py", line 111, in create_app [Fri Jun 27 07:10:56.294806 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] init_session(app) [Fri Jun 27 07:10:56.294808 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~~~~~~~~~^^^^^ [Fri Jun 27 07:10:56.294814 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/resultsdb/__init__.py", line 247, in init_session [Fri Jun 27 07:10:56.294817 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] app.server_session = Session(app) [Fri Jun 27 07:10:56.294820 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~~~~^^^^^ [Fri Jun 27 07:10:56.294825 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/flask_session/__init__.py", line 27, in __init__ [Fri Jun 27 07:10:56.294828 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] self.init_app(app) [Fri Jun 27 07:10:56.294831 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~~~~~~~~~~^^^^^ [Fri Jun 27 07:10:56.294837 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/flask_session/__init__.py", line 41, in init_app [Fri Jun 27 07:10:56.294840 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] app.session_interface = self._get_interface(app) [Fri Jun 27 07:10:56.294843 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~~~~~~~~~~~~~~~~^^^^^ [Fri Jun 27 07:10:56.294850 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/flask_session/__init__.py", line 165, in _get_interface [Fri Jun 27 07:10:56.294854 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] session_interface = SqlAlchemySessionInterface( [Fri Jun 27 07:10:56.294857 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] **common_params, [Fri Jun 27 07:10:56.294859 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ...<5 lines>... [Fri Jun 27 07:10:56.294862 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] cleanup_n_requests=SESSION_CLEANUP_N_REQUESTS, [Fri Jun 27 07:10:56.294865 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ) [Fri Jun 27 07:10:56.294872 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/flask_session/sqlalchemy/sqlalchemy.py", line 103, in __init__ [Fri Jun 27 07:10:56.294875 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] self.sql_session_model = create_session_model( [Fri Jun 27 07:10:56.294879 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~~~~~~~~~~~~~~~~~^ [Fri Jun 27 07:10:56.294882 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] client, table, schema, bind_key, sequence [Fri Jun 27 07:10:56.294884 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Fri Jun 27 07:10:56.294887 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ) [Fri Jun 27 07:10:56.294890 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ^ [Fri Jun 27 07:10:56.294895 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/flask_session/sqlalchemy/sqlalchemy.py", line 21, in create_session_model [Fri Jun 27 07:10:56.294899 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] class Session(db.Model): [Fri Jun 27 07:10:56.294901 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ...<19 lines>... [Fri Jun 27 07:10:56.294904 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] return f"<Session data {self.data}>" [Fri Jun 27 07:10:56.294910 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/flask_sqlalchemy/model.py", line 92, in __init__ [Fri Jun 27 07:10:56.294913 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] super().__init__(name, bases, d, **kwargs) [Fri Jun 27 07:10:56.294916 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ [Fri Jun 27 07:10:56.294922 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/flask_sqlalchemy/model.py", line 144, in __init__ [Fri Jun 27 07:10:56.294925 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] super().__init__(name, bases, d, **kwargs) [Fri Jun 27 07:10:56.294928 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ [Fri Jun 27 07:10:56.294933 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/sqlalchemy/orm/decl_api.py", line 198, in __init__ [Fri Jun 27 07:10:56.294937 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] _as_declarative(reg, cls, dict_) [Fri Jun 27 07:10:56.294939 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ [Fri Jun 27 07:10:56.294945 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/sqlalchemy/orm/decl_base.py", line 244, in _as_declarative [Fri Jun 27 07:10:56.294949 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) [Fri Jun 27 07:10:56.294951 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Fri Jun 27 07:10:56.294958 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/sqlalchemy/orm/decl_base.py", line 325, in setup_mapping [Fri Jun 27 07:10:56.294962 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] return _ClassScanMapperConfig( [Fri Jun 27 07:10:56.294965 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] registry, cls_, dict_, table, mapper_kw [Fri Jun 27 07:10:56.294967 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ) [Fri Jun 27 07:10:56.294973 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/sqlalchemy/orm/decl_base.py", line 576, in __init__ [Fri Jun 27 07:10:56.294976 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] self._setup_table(table) [Fri Jun 27 07:10:56.294979 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~~~~~~~~~~~~~~^^^^^^^ [Fri Jun 27 07:10:56.294986 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/sqlalchemy/orm/decl_base.py", line 1755, in _setup_table [Fri Jun 27 07:10:56.294989 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] table_cls( [Fri Jun 27 07:10:56.294991 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~~~~~~^ [Fri Jun 27 07:10:56.294994 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] tablename, [Fri Jun 27 07:10:56.294997 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ^^^^^^^^^^ [Fri Jun 27 07:10:56.295000 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ...<3 lines>... [Fri Jun 27 07:10:56.295002 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] **table_kw, [Fri Jun 27 07:10:56.295005 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ^^^^^^^^^^^ [Fri Jun 27 07:10:56.295008 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ), [Fri Jun 27 07:10:56.295011 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ^ [Fri Jun 27 07:10:56.295016 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/flask_sqlalchemy/model.py", line 171, in __table_cls__ [Fri Jun 27 07:10:56.295019 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] return sa.Table(*args, **kwargs) [Fri Jun 27 07:10:56.295022 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~~~~~^^^^^^^^^^^^^^^^^ [Fri Jun 27 07:10:56.295045 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "<string>", line 2, in __new__ [Fri Jun 27 07:10:56.295052 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/sqlalchemy/util/deprecations.py", line 281, in warned [Fri Jun 27 07:10:56.295055 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] return fn(*args, **kwargs) # type: ignore[no-any-return] [Fri Jun 27 07:10:56.295060 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/sqlalchemy/sql/schema.py", line 429, in __new__ [Fri Jun 27 07:10:56.295064 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] return cls._new(*args, **kw) [Fri Jun 27 07:10:56.295067 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ~~~~~~~~^^^^^^^^^^^^^ [Fri Jun 27 07:10:56.295072 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] File "/venv/lib64/python3.13/site-packages/sqlalchemy/sql/schema.py", line 461, in _new [Fri Jun 27 07:10:56.295075 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] raise exc.InvalidRequestError( [Fri Jun 27 07:10:56.295078 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ...<5 lines>... [Fri Jun 27 07:10:56.295080 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] ) [Fri Jun 27 07:10:56.295096 2025] [wsgi:error] [pid 55:tid 62] [remote 10.129.2.2:49558] sqlalchemy.exc.InvalidRequestError: Table 'sessions' is already defined for this MetaData instance. Specify 'extend_existing=True' to redefine options and columns on an existing Table object. ```
Contributor

That is probably caused by staging datacenter move, we are currently moving openshift apps from IAD2 to RDU3, some issues on staging are expected.

That is probably caused by staging datacenter move, we are currently moving openshift apps from IAD2 to RDU3, some issues on staging are expected.
Contributor

Metadata Update from @zlopez:

  • Issue priority set to: Waiting on Assignee (was: Needs Review)
  • Issue tagged with: low-gain, medium-trouble
**Metadata Update from @zlopez**: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: low-gain, medium-trouble
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Infrastructure/fedora-infrastructure#12616
No description provided.