allegro / allegro/ralph

Service Crashes

Abierto
#3,919 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
2.5k
Forks
593
Merge medio
2 d 9 h
PR fusionados (30 d)
6

Descripción

Hey there!

The service crashes every now and then and it's constant. I have tried everything. Here is the trace.

```
Nov 05 13:50:40 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: !!!
Nov 05 13:50:40 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: !!! WARNING: configuration file should have a valid Python extension.
Nov 05 13:50:40 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: !!!
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: Traceback (most recent call last):
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/lib/python3.10/site-packages/gunicorn/arbiter.py", line 208, in run
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: self.sleep()
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/lib/python3.10/site-packages/gunicorn/arbiter.py", line 359, in sleep
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: ready = select.select([self.PIPE[0]], [], [], 1.0)
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/lib/python3.10/site-packages/gunicorn/arbiter.py", line 241, in handle_chld
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: self.reap_workers()
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/lib/python3.10/site-packages/gunicorn/arbiter.py", line 559, in reap_workers
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: self.cfg.child_exit(self, worker)
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/var/local/ralph/gunicorn.ini", line 18, in child_exit
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: multiprocess.mark_process_dead(worker.pid)
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/lib/python3.10/site-packages/prometheus_client/multiprocess.py", line 169, in mark_process_dead
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: for f in glob.glob(os.path.join(path, f'gauge_{mode}_{pid}.db')):
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/usr/lib/python3.10/posixpath.py", line 76, in join
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: a = os.fspath(a)
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: TypeError: expected str, bytes or os.PathLike object, not NoneType
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: During handling of the above exception, another exception occurred:
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: Traceback (most recent call last):
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/bin/gunicorn", line 8, in
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: sys.exit(run())
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 66, in run
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/lib/python3.10/site-packages/gunicorn/app/base.py", line 235, in run
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: super().run()
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/lib/python3.10/site-packages/gunicorn/app/base.py", line 71, in run
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: Arbiter(self).run()
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/lib/python3.10/site-packages/gunicorn/arbiter.py", line 234, in run
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: self.stop(False)
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/lib/python3.10/site-packages/gunicorn/arbiter.py", line 395, in stop
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: time.sleep(0.1)
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/lib/python3.10/site-packages/gunicorn/arbiter.py", line 241, in handle_chld
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: self.reap_workers()
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/lib/python3.10/site-packages/gunicorn/arbiter.py", line 559, in reap_workers
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: self.cfg.child_exit(self, worker)
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/var/local/ralph/gunicorn.ini", line 18, in child_exit
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: multiprocess.mark_process_dead(worker.pid)
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/opt/ralph/ralph-core/lib/python3.10/site-packages/prometheus_client/multiprocess.py", line 169, in mark_process_dead
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: for f in glob.glob(os.path.join(path, f'gauge_{mode}_{pid}.db')):
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: File "/usr/lib/python3.10/posixpath.py", line 76, in join
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: a = os.fspath(a)
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net gunicorn[320136]: TypeError: expected str, bytes or os.PathLike object, not NoneType
Nov 05 15:48:59 mci-swift-ralph-ipam.srv.infra.7hoop.net systemd[1]: ralph.service: Main process exited, code=exited, status=1/FAILURE
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.