-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve che.isCheServerReady() method (flapping route/ingress issue) #145
Comments
Nice description of the flapping issue is here: redhat-developer/rh-che#479 (comment) |
looks like there should be smth. similar to |
@rhopp yes we could introduce a polling check parameter to increase the rate on calls on remote API. |
Kamino closed and cloned this issue to eclipse/che |
It turns out, that once k8s ingress is created it could be flapping between two states for some time -
This is causing some problems in our Happy Path test scenario:
We first start server by
chectl server:start
and then (pretty immediately) we are starting workspaces bychectl workspace:start --devfile=<devfile>
.What's happening?
chectl server:start
starts the server. In the stepChe status check
it calls<cheurl>/api/system/state
to verify che server is up and running. This succeeds<cheurl>/api/system/state
) is part of pre-flight checks forworkspace:start
command, but because the route/ingress flapping issue this fails.We are implementing a workaround in our tests to overcome this issue (calling the ingress endpoint every second and waiting for multiple subsequent successful return codes), but we were thinking if it wouldn't be better to implement this logic into
che.isCheServerReady()
directly.WDYT @l0rd @benoitf ?
The text was updated successfully, but these errors were encountered: