Advertisement
Guest User

Tandoor web app restart

a guest
Nov 28th, 2021
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.93 KB | None | 0 0
  1. [2021-11-28 18:44:53 +0000] [1070] [INFO] Booting worker with pid: 1070,
  2. [2021-11-28 18:45:24 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1070),
  3. [2021-11-28 18:45:25 +0000] [1] [WARNING] Worker with pid 1070 was terminated due to signal 9,
  4. [2021-11-28 18:45:25 +0000] [1071] [INFO] Booting worker with pid: 1071,
  5. [2021-11-28 18:45:55 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1071),
  6. [2021-11-28 18:45:56 +0000] [1] [WARNING] Worker with pid 1071 was terminated due to signal 9,
  7. [2021-11-28 18:45:56 +0000] [1072] [INFO] Booting worker with pid: 1072,
  8. [2021-11-28 18:46:26 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1072),
  9. [2021-11-28 18:46:27 +0000] [1] [WARNING] Worker with pid 1072 was terminated due to signal 9,
  10. [2021-11-28 18:46:27 +0000] [1073] [INFO] Booting worker with pid: 1073,
  11. [2021-11-28 18:46:57 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1073),
  12. [2021-11-28 18:46:58 +0000] [1] [WARNING] Worker with pid 1073 was terminated due to signal 9,
  13. [2021-11-28 18:46:58 +0000] [1074] [INFO] Booting worker with pid: 1074,
  14. [2021-11-28 18:47:28 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1074),
  15. [2021-11-28 18:47:29 +0000] [1] [WARNING] Worker with pid 1074 was terminated due to signal 9,
  16. [2021-11-28 18:47:29 +0000] [1075] [INFO] Booting worker with pid: 1075,
  17. [2021-11-28 18:47:59 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1075),
  18. [2021-11-28 18:48:00 +0000] [1] [WARNING] Worker with pid 1075 was terminated due to signal 9,
  19. [2021-11-28 18:48:00 +0000] [1076] [INFO] Booting worker with pid: 1076,
  20. [2021-11-28 18:48:30 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1076),
  21. [2021-11-28 18:48:31 +0000] [1] [WARNING] Worker with pid 1076 was terminated due to signal 9,
  22. [2021-11-28 18:48:31 +0000] [1077] [INFO] Booting worker with pid: 1077,
  23. [2021-11-28 18:49:01 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1077),
  24. [2021-11-28 18:49:02 +0000] [1] [WARNING] Worker with pid 1077 was terminated due to signal 9,
  25. [2021-11-28 18:49:02 +0000] [1078] [INFO] Booting worker with pid: 1078,
  26. [2021-11-28 18:49:28 +0000] [1] [INFO] Handling signal: term,
  27. Updating database,
  28. Traceback (most recent call last):,
  29. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection,
  30. self.connect(),
  31. File "/opt/recipes/venv/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner,
  32. return func(*args, **kwargs),
  33. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 200, in connect,
  34. self.connection = self.get_new_connection(conn_params),
  35. File "/opt/recipes/venv/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner,
  36. return func(*args, **kwargs),
  37. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection,
  38. connection = Database.connect(**conn_params),
  39. File "/opt/recipes/venv/lib/python3.9/site-packages/psycopg2/__init__.py", line 122, in connect,
  40. conn = _connect(dsn, connection_factory=connection_factory, **kwasync),
  41. psycopg2.OperationalError: could not connect to server: Operation timed out,
  42. Is the server running on host "db_recipes" (172.18.0.2) and accepting,
  43. TCP/IP connections on port 5432?,
  44. ,
  45. ,
  46. The above exception was the direct cause of the following exception:,
  47. ,
  48. Traceback (most recent call last):,
  49. File "/opt/recipes/manage.py", line 15, in <module>,
  50. execute_from_command_line(sys.argv),
  51. File "/opt/recipes/venv/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line,
  52. utility.execute(),
  53. File "/opt/recipes/venv/lib/python3.9/site-packages/django/core/management/__init__.py", line 395, in execute,
  54. django.setup(),
  55. File "/opt/recipes/venv/lib/python3.9/site-packages/django/__init__.py", line 24, in setup,
  56. apps.populate(settings.INSTALLED_APPS),
  57. File "/opt/recipes/venv/lib/python3.9/site-packages/django/apps/registry.py", line 122, in populate,
  58. app_config.ready(),
  59. File "/opt/recipes/venv/lib/python3.9/site-packages/django_prometheus/apps.py", line 23, in ready,
  60. ExportMigrations(),
  61. File "/opt/recipes/venv/lib/python3.9/site-packages/django_prometheus/migrations.py", line 52, in ExportMigrations,
  62. executor = MigrationExecutor(connections[alias]),
  63. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/migrations/executor.py", line 18, in __init__,
  64. self.loader = MigrationLoader(self.connection),
  65. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/migrations/loader.py", line 53, in __init__,
  66. self.build_graph(),
  67. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/migrations/loader.py", line 220, in build_graph,
  68. self.applied_migrations = recorder.applied_migrations(),
  69. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/migrations/recorder.py", line 77, in applied_migrations,
  70. if self.has_table():,
  71. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/migrations/recorder.py", line 55, in has_table,
  72. with self.connection.cursor() as cursor:,
  73. File "/opt/recipes/venv/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner,
  74. return func(*args, **kwargs),
  75. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 259, in cursor,
  76. return self._cursor(),
  77. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 235, in _cursor,
  78. self.ensure_connection(),
  79. File "/opt/recipes/venv/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner,
  80. return func(*args, **kwargs),
  81. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection,
  82. self.connect(),
  83. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/utils.py", line 90, in __exit__,
  84. raise dj_exc_value.with_traceback(traceback) from exc_value,
  85. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection,
  86. self.connect(),
  87. File "/opt/recipes/venv/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner,
  88. return func(*args, **kwargs),
  89. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 200, in connect,
  90. self.connection = self.get_new_connection(conn_params),
  91. File "/opt/recipes/venv/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner,
  92. return func(*args, **kwargs),
  93. File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection,
  94. connection = Database.connect(**conn_params),
  95. File "/opt/recipes/venv/lib/python3.9/site-packages/psycopg2/__init__.py", line 122, in connect,
  96. conn = _connect(dsn, connection_factory=connection_factory, **kwasync),
  97. django.db.utils.OperationalError: could not connect to server: Operation timed out,
  98. Is the server running on host "db_recipes" (172.18.0.2) and accepting,
  99. TCP/IP connections on port 5432?,
  100.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement