Hi,
When I am installing an Operator with a wait condition such as:
wait_condition: type: “CatalogSourcesUnhealthy”
status: “False”
reason: “AllCatalogSourcesHealthy”
The role continues to the next task even when the operator is not fully ready and fails. Subsequent execution of the same role completes ok as a little time has elapsed and the operator is ready.
Task after the operator install fails with:
Error: TASK [storage_ocs : setup storage cluster] ******************************************************************************************************************************************************** fatal: [127.0.0.1]: FAILED! => {“changed”: false, “msg”: “Failed to find exact match for ocs.openshift.io/v1.StorageCluster by [kind, name, singularName, shortNames]”}
Is there a way to check something other than CatalogSourcesUnhealthy, can I put in an short delay (not ideal but might be an acceptable workaround) ?
Running on OpenShift 4.7
Ansible 2.9.24
I have tried both RH yum installed Ansible and pip3
And,
kubernetes.core
ommunity.kubernetes
Thanks,
Martin