From 6f7710eaa4aa072947023457d5bcdb0dd60ded68 Mon Sep 17 00:00:00 2001 From: Daniel Pawlik Date: Sat, 20 Jul 2024 12:29:11 +0200 Subject: [PATCH] Add workaround for openshift-marketplace ImagePullBackOff error It seems that on the CI, we have many times same issue with the OpenShift Marketplace ImagePullBackOff error. This commit is applying solution proposed by the CRC community [1]. [1] https://github.com/crc-org/crc/issues/4109#issuecomment-2042497411 Change-Id: I1572332044dad4787df685e0e6a1e6204aac2187 --- roles/prepare-crc-extracted/tasks/ensure_services_up.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/prepare-crc-extracted/tasks/ensure_services_up.yaml b/roles/prepare-crc-extracted/tasks/ensure_services_up.yaml index ec34829abc..ec24808262 100644 --- a/roles/prepare-crc-extracted/tasks/ensure_services_up.yaml +++ b/roles/prepare-crc-extracted/tasks/ensure_services_up.yaml @@ -1,4 +1,10 @@ --- +# https://github.com/crc-org/crc/issues/4109#issuecomment-2042497411 +- name: Delete all openshift-marketplace pods + ansible.builtin.command: | + oc delete pods --all -n openshift-marketplace + changed_when: false + - name: Copy script ensure_services_up.sh ansible.builtin.copy: src: ensure_services_up.sh