-
Notifications
You must be signed in to change notification settings - Fork 74
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
Unable to correctly add server by runtime endpoint with check. #299
Comments
sync667
changed the title
Unable to correctly add server with runtime with check.
Unable to correctly add server by runtime endpoint with check.
Apr 6, 2023
@sync667 Actually, I think if you added curl examples that would be useful. I tried to use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I check many versions and so on besides only 2.7 have adding servers to backend with runtime. Maybe after so many hours i missed something, but at this point it looks like there are two problems with API. First when servers is added by /v2/services/haproxy/runtime/servers POST there is no other way to enable it (so set state to ready) then make second request to transit endpoint. Would be much easier if we could set state on add request.
But bug is when server is normally added with check enabled etc. after state transit to ready we got no health check. There is no other way to set it again after that by Data Plane API. Only fix that exists is to use Runtime API with enable health command, but this one is not implemented on Data Plane.
I think there is no point in adding here now my body from requests, because it very simple and i tried it with many params to be sure i'm not missing something.
The text was updated successfully, but these errors were encountered: