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

Route detection fails on CoreOS due to /sbin/ip not being present #12

Closed
kmalec opened this issue Jun 8, 2017 · 0 comments
Closed

Route detection fails on CoreOS due to /sbin/ip not being present #12

kmalec opened this issue Jun 8, 2017 · 0 comments

Comments

@kmalec
Copy link

kmalec commented Jun 8, 2017

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

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

No branches or pull requests

1 participant