-
Notifications
You must be signed in to change notification settings - Fork 53
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
Route detection fails on CoreOS due to /sbin/ip not being present #12
Comments
schmichael
added a commit
that referenced
this issue
Jun 22, 2017
Fixes #12 Manually tested on Ubuntu 17.04 (`/sbin/ip`) and CoreOS 1409.2.0 (`/usr/bin/ip`).
magiconair
added a commit
to hashicorp/consul
that referenced
this issue
Oct 31, 2017
magiconair
added a commit
to hashicorp/consul
that referenced
this issue
Oct 31, 2017
slackpad
pushed a commit
to hashicorp/consul
that referenced
this issue
Nov 1, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Followup from hashicorp/nomad#2696
Code tries to execute
/sbin/ip route
, which fails on CoreOS - they ship iproute2 in/usr/bin/ip
Related line from Nomad server log:
Jun 07 19:32:01 ip-10-249-200-172 nomad[22507]: ==> Failed to parse HTTP advertise address: Unable to parse default advertise address: Unable to parse address template "{{ GetPrivateIP }}": unable to execute sockaddr input "{{ GetPrivateIP }}": template: sockaddr.Parse:1:3: executing "sockaddr.Parse" at <GetPrivateIP>: error calling GetPrivateIP: fork/exec /sbin/ip: no such file or directory
The text was updated successfully, but these errors were encountered: