From d685007fd63643b8652ee1cf760e4498e129d4ff Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Tue, 26 May 2020 21:21:38 +0200 Subject: [PATCH] bodhi: configure the openshift haproxy timeout to 120s for bodhi-web Signed-off-by: Clement Verna --- playbooks/openshift-apps/bodhi.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/openshift-apps/bodhi.yml b/playbooks/openshift-apps/bodhi.yml index 7180550fbd..9bdc589318 100644 --- a/playbooks/openshift-apps/bodhi.yml +++ b/playbooks/openshift-apps/bodhi.yml @@ -151,3 +151,7 @@ - name: Scale up pods command: oc -n bodhi scale dc/bodhi-web --replicas={{ bodhi_openshift_pods }} when: env == "staging" + - name: Set the timeout to the openshift route + command: "oc -n bodhi annotate route bodhi-web --overwrite haproxy.router.openshift.io/timeout=120s" + tags: + - route-timeout