Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
OpenShiftAssistant awaitApplicationReadinessOrFail wrong pod #1011
I am manually deploying an application using OpenShiftAssistant.
I am using this simple code to deploy next wait:
After the call of the method awaitApplicationReadinessOrFail the postgresql app pod must be running.
After the call of the method awaitApplicationReadinessOrFail the postgresql app pod is in the state Pending.
Steps To Reproduce
Don't have the image pulled. (In this case the status of postgresql-1-XXXX is defined to Container creating and postgresql-1-deploy is defined to Running)
When I deploy my app two pods are processing :
The method awaitApplicationReadinessOrFail check pods starting with postgres and return true (so done) when one his running. However at this time two pods are founds and the deployed one is running. So I guess you could have a filter to check that the name don't end with deploy to check the status on the expected pod.