From 2871a87f7ab523586e6c36207e4a22d9e81f320b Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Thu, 14 May 2020 06:21:58 +0200 Subject: [PATCH] How to unblock rawhide updates in bodhi Signed-off-by: Clement Verna --- unblock_bodhi_rawhide_updates.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 unblock_bodhi_rawhide_updates.md diff --git a/unblock_bodhi_rawhide_updates.md b/unblock_bodhi_rawhide_updates.md new file mode 100644 index 0000000..c130c99 --- /dev/null +++ b/unblock_bodhi_rawhide_updates.md @@ -0,0 +1,16 @@ +# How to unblock Bodhi rawhide updates + +In the case where the rawhide updates in Bodhi are stuck in testing, it often means that one of the following +process is not working properly. + +Either the `bodhi-celery-beat` pod in openshift (used to schedule tasks at regular interval) is not triggering the +`approve_testing_task` or the `bodhi-celery` pod is failing to process that task. + +To unblock these update once can restart these pods. To do so ssh to the os-master01 hosts and run the following commands + +``` +$ oc -n bodhi rollout latest dc/bodhi-celery-beat +$ oc -n bodhi rollout latest dc/bodhi-celery +``` + +Note using the `rollout` command allow us not to have any downtime.