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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/cc72d2be-5385-4b33-80b6-e1eea2741ad4n%40googlegroups.com.

Reply via email to