dataplaneapi icon indicating copy to clipboard operation
dataplaneapi copied to clipboard

Error setting up spoe: failed to read configuration

Open truck0321 opened this issue 6 months ago • 0 comments

I have an Haproxy Docker container that bind mounts to an NFS share containing the config files.
NFS has been causing some unrelated issues so I configured the mount to use CIFS. I can confirm that I can read and write to the share from within a busybox container that has the same bind mounts but the haproxy container just errors out with the below message when starting it.

[NOTICE] (1) : New program 'api' (8) forked [NOTICE] (1) : New worker (9) forked [NOTICE] (1) : Loading success. time="2024-07-30T17:00:42Z" level=fatal msg="error setting up spoe: failed to read configuration: cannot read /etc/haproxy/spoe/.dataplaneapi1705250482" [NOTICE] (1) : haproxy version is 3.0.2-a45a8e6 [NOTICE] (1) : path to executable is /usr/local/sbin/haproxy [ALERT] (1) : Current program 'api' (8) exited with code 1 (Exit) [ALERT] (1) : exit-on-failure: killing every processes with SIGTERM [ALERT] (1) : Current worker (9) exited with code 143 (Terminated) [WARNING] (1) : All workers exited. Exiting... (1)

This is running on an Ubuntu 20.04 fully updated server with haproxy version '3.0.2-a45a8e6'. I have another instance using the NFS share and I don't see any files in /etc/haproxy/spoe so I'm not sure what this is.

truck0321 avatar Jul 30 '24 17:07 truck0321