Open Victoremepunto opened 2 years ago
Let's see if the ImagePullBackoff error appears anywhere in a pod's status conditions (I think it might but need to confirm)
At the moment we check the status conditions for a resource after it times out at this point: https://github.com/RedHatInsights/bonfire/blob/master/bonfire/openshift.py#L687
We could start checking these conditions during the observe
call, somewhere in here: https://github.com/RedHatInsights/bonfire/blob/master/bonfire/openshift.py#L610-L619 and fail fast if we see image pull backoff errors on pods.
https://github.com/RedHatInsights/ocviapy/pull/9 will help with this
bonfire deployment timeout for me, I used the wrong Image tag but that wasn't handled properly by bonfire - I checked and I saw the image pull back off message on openshift - bonfire should be able to handle this and fail the deployment.