-
Notifications
You must be signed in to change notification settings - Fork 78
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
force_tlsv... configurations require DataPlane API restart to take effect #354
Comments
Hi thank you for the report, we'll take a look at this. |
@cepitacio I have not been able to reproduce this yet on master, but just to make sure: have you checked your logs when doing this? Are the reloads working? Because in some cases a reload might fail but the API still responds OK. |
@oliwer the dataplane api is reloading successfully I just ran this:
Bind was added and resulted:
Here are the logs when running above command:
I ran:
Result:
I even tried to reload dataplane api again but I get the same result. After restarting dataplane api I get:
|
Thanks! I managed to reproduce, and I have a lead: there seems to be a type mismatch between |
When adding or updating bind resources with any force_tlsv... configuration (e.g., force_tlsv12, force_tlsv13, etc.) through the HAProxy DataPlane API, the changes do not take effect unless the DataPlane API service is restarted.
Querying the configuration after committing the transaction and reloading HAProxy does not show the force_tlsv... fields as active. Restarting the DataPlane API service resolves the issue. This occurs consistently, regardless of whether the resource is created using POST or updated using PUT.
Reproduced on HAproxy Data Plane API version:
v2.9.2
v2.9.8
Steps to reproduce:
Result even after reload:
Result after restart:
The text was updated successfully, but these errors were encountered: