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

Ensure all network interfaces are up before starting in upstart config #162

Merged
merged 1 commit into from
Aug 7, 2015

Conversation

jbarbuto
Copy link
Contributor

@jbarbuto jbarbuto commented Aug 6, 2015

The previous approach is problematic when there are multiple interfaces on the host and consul is bound to only one, resulting in errors like

==> Error starting agent: Failed to start Consul server: Failed to start RPC layer: listen tcp 10.0.2.15:8300: bind: cannot assign requested address

Despite what http://upstart.ubuntu.com/cookbook/#normal-start says, this is the preferred approach as elaborated on at https://lists.debian.org/debian-devel/2013/08/msg00686.html. https://github.com/hashicorp/consul/blob/master/terraform/aws/scripts/ubuntu/upstart.conf takes the same approach as well.

@aj-jester
Copy link

🚄 LGTM

solarkennedy added a commit that referenced this pull request Aug 7, 2015
Ensure all network interfaces are up before starting in upstart config
@solarkennedy solarkennedy merged commit a5ca144 into voxpupuli:master Aug 7, 2015
@solarkennedy
Copy link
Contributor

Thanks!

@jbarbuto jbarbuto deleted the upstart_start_on branch August 7, 2015 15:45
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.

3 participants