docker-swarm-keepalived icon indicating copy to clipboard operation
docker-swarm-keepalived copied to clipboard

Fail to start "is not a regular non-executable file"

Open scrhall opened this issue 2 years ago • 1 comments

Hi, when i use in a swarm with 3 manager nodes, one of then fails with this:

*** CONTAINER_LOG_LEVEL = 3 (info)
*** Search service in CONTAINER_SERVICE_DIR = /container/service :
*** link /container/service/keepalived/startup.sh to /container/run/startup/keepalived
*** link /container/service/keepalived/process.sh to /container/run/process/keepalived/run
*** link /container/service/keepalived/finish.sh to /container/run/process/keepalived/finish
*** Set environment for startup files
*** Environment files will be proccessed in this order : 
Caution: previously defined variables will not be overriden.
/container/environment/99-default/default.yaml
To see how this files are processed and environment variables values,
run this container with '--loglevel debug'
/container/tool/run:294: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  env_vars = yaml.load(f)
*** Running /container/run/startup/keepalived...
*** Set environment for container process
*** Environment files will be proccessed in this order : 
Caution: previously defined variables will not be overriden.
/container/environment/99-default/default.yaml
To see how this files are processed and environment variables values,
run this container with '--loglevel debug'
*** Running /container/run/process/keepalived/run...
Waiting config file /usr/local/etc/keepalived/keepalived.confok
Thu Nov 24 07:54:41 2022: Starting Keepalived v2.0.20 (01/22,2020)
Thu Nov 24 07:54:41 2022: Running on Linux 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30) (built for Linux 4.19.36)
Thu Nov 24 07:54:41 2022: Command line: '/usr/local/sbin/keepalived' '-f' '/usr/local/etc/keepalived/keepalived.conf'
Thu Nov 24 07:54:41 2022:               '--dont-fork' '--log-console' '--log-detail' '--dump-conf'
Thu Nov 24 07:54:41 2022: Configuration file '/usr/local/etc/keepalived/keepalived.conf' is not a regular non-executable file
Thu Nov 24 07:54:41 2022: Stopped Keepalived v2.0.20 (01/22,2020)
*** /container/run/process/keepalived/run exited with status 6
*** Running /container/run/process/keepalived/finish...
*** Killing all processes...

how can i fix this?

scrhall avatar Nov 24 '22 08:11 scrhall