You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the raw configuration update endpoint with the validation option but I cannot get it working.
The version that I'm using is
HAProxy Data Plane API v3.0.4-ee1 d354a7ec
When I use the only_validate option, I only have this response :
validation error: exit status 1
I tired to put some commands in the parameters as mentioned in #342 without success.
I even tried with a /bin/true as validate_cmd and still got the same error.
Am I missing something ? Debug logs do not add any informations regarding the error
The text was updated successfully, but these errors were encountered:
Since this is regarding the enterprise version, this issue has been handled by HAProxy's support.
But for other people reading this issue:
the validate_cmd option has no impact here because it is only used with transactions, not the /raw API
the issue is certainly a miss-configured haproxy (or hapee-lb for enterprise) binary
we have improved the only_validate feature to return HAProxy's errors in the response, instead of just returning the exit status. This will be available in the next release.
Hi,
I'm trying to use the raw configuration update endpoint with the validation option but I cannot get it working.
The version that I'm using is
When I use the
only_validate
option, I only have this response :I tired to put some commands in the parameters as mentioned in #342 without success.
I even tried with a
/bin/true
asvalidate_cmd
and still got the same error.Am I missing something ? Debug logs do not add any informations regarding the error
The text was updated successfully, but these errors were encountered: