Failed to start consul server in bootstrap mode using systemctl #7674
Labels
theme/operator-usability
Replaces UX. Anything related to making things easier for the practitioner
type/docs
Documentation needs to be created/updated/clarified
Overview of the Issue
I followed this documentation: https://learn.hashicorp.com/consul/datacenter-deploy/deployment-guide
I set
bootstrap = true
in server.hcl. (In our scenario, we have to use bootstrap=true at the initialization of our installation. Because we need to start only one server ahead of everything.)
After all the steps, when I ran
systemctl start consul
, it stuck for a few seconds and then failed.When I use journalctl -xe to check the error, there is no ERROR logs but only WARN and INFO logs.
I guess it is the WARN log that stopped consul from being startup??
I ran the startup command manually, and it started successfully also with WARN logs. And everything works fine. But it didn't work with
systemctl
command.This is my consul.service file:
Reproduction Steps
systemctl start consul
Consul info for Server
Server info
Operating system and Environment details
CentOS Linux release 7.6.1810 (Core)
Linux tbds-10-1-0-106 3.10.0-1062.9.1.el7.x86_64 #1 SMP Fri Dec 6 15:49:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: