From 1fb6c82482abe7a447085bb44a4615804713b869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Thu, 17 Apr 2025 13:06:36 +0200 Subject: [PATCH] Don't use --preload, it causes threading errors with Fedora Messaging on Python 3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref: https://github.com/fedora-infra/fedora-messaging/issues/431 Signed-off-by: Aurélien Bompard --- roles/openshift-apps/bodhi/templates/deploymentconfig.yml.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/bodhi/templates/deploymentconfig.yml.j2 b/roles/openshift-apps/bodhi/templates/deploymentconfig.yml.j2 index 04c398220b..b4c9399eed 100644 --- a/roles/openshift-apps/bodhi/templates/deploymentconfig.yml.j2 +++ b/roles/openshift-apps/bodhi/templates/deploymentconfig.yml.j2 @@ -45,7 +45,9 @@ items: - name: bodhi-web image: bodhi-base:latest command: ["gunicorn"] - args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-k", "gthread", "--threads", "2", "--preload", "--log-file=-"] + # Don't use --preload, it causes threading errors with Fedora Messaging on Python 3.13 + # https://github.com/fedora-infra/fedora-messaging/issues/431 + args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-k", "gthread", "--threads", "2", "--log-file=-"] ports: - containerPort: 8080 name: web