dataplaneapi icon indicating copy to clipboard operation
dataplaneapi copied to clipboard

/v2/services/haproxy/configuration/raw not publishing "_version":4

Open james-green-affinity opened this issue 2 years ago • 2 comments

I am currently running haproxy.

Integrate: root@ip-10-0-101-101:/var/www/internal-api# haproxy -v HAProxy version 2.4.21-1ppa1~focal 2023/01/28 - https://haproxy.org/ Running on: Linux 5.15.0-1030-aws #34~20.04.1-Ubuntu SMP Tue Jan 24 15:16:46 UTC 2023 x86_64

Test Environment: root@ip-10-0-101-95:/var/log# haproxy -v HAProxy version 2.4.23-1ppa1~focal 2023/06/10 - https://haproxy.org/ Status: long-term supported branch - will stop receiving fixes around Q2 2026. Running on: Linux 5.15.0-1039-aws #44~20.04.1-Ubuntu SMP Thu Jun 22 12:21:12 UTC 2023 x86_64

My integrate environment does output successfully: When I run: curl -X GET --user admin:password"http://127.0.0.1:5555/v2/services/haproxy/configuration/raw" | grep version I expect to see the output of "_version":4

On my test environment when I run that same command I can not see _version anymore

james-green-affinity avatar Jun 29 '23 16:06 james-green-affinity

My dataplain API is https://github.com/haproxytech/dataplaneapi/releases/download/v2.4.4/dataplaneapi_2.4.4_Linux_x86_64.tar.gz

james-green-affinity avatar Jun 29 '23 16:06 james-green-affinity

Hi we've done some fixes to the raw configuration endpoint. but note that v2.4 is EOL, and you can use from 2.6 and newer to test this.

mjuraga avatar Oct 16 '23 09:10 mjuraga