Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if consul_client_address set (in consul.conf), in the upstart script do not set -client flag … #205

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lhoss
Copy link
Collaborator

@lhoss lhoss commented Aug 30, 2017

…(from unconfigurable interface 'eth0')

In particular this fixes consul (upstart) service script deployment on any hosts that has an eth0 interface, which is not the expected interface you want consul to listen on.
It ensures that with following settings, the upstart script does not anymore set a buggy -client= parameter. Instead consul gets the correct client_address (here "0.0.0.0" ) from consul.conf

consul_dynamic_bind: false
consul_client_address_bind: true
consul_client_address: "0.0.0.0"

ps: this also fixes #136 (as suggested in #136 (comment) by @nickvanw )

…do not set -client flag (from unconfigurable interface 'eth0')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove redundant consule CLI flags at consul init script
2 participants