Hi,

I have issue with config check command:

# podman run --rm --name haproxy_cfg_test --user root -v
/etc/haproxy:/etc/haproxy:ro docker.io/library/haproxy:3.4.0-alpine haproxy
-c -V -dD -dW -f /etc/haproxy/haproxy.cfg_backup
[NOTICE]   (1) : haproxy version is 3.4.0-64a335366
[DIAG]     (1) : Created 8 threads split into 8 groups
[ALERT]    (1) : Some warnings were found and 'zero-warning' is set.
Aborting.

End exit code = 1

Minimal config:

defaults
    mode http
    timeout client 30m
    timeout connect 4s
    timeout server 30m
    timeout check 5s

frontend stats
    bind 127.9.0.1:9101
    stats enable
    stats uri /


On version 3.2.19 everything is ok:

# podman run --rm --name haproxy_cfg_test --user root -v
/etc/haproxy:/etc/haproxy:ro docker.io/library/haproxy:3.2.19-alpine
haproxy -c -V -dD -dW -f /etc/haproxy/haproxy.cfg_backup
Configuration file is valid

Exit code = 0

I can’t understand where is problem with config check?

Thanks!

Reply via email to