-
Notifications
You must be signed in to change notification settings - Fork 449
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
ohai WARN: unable to detect ipaddress, macaddress #397
Comments
What operating system platform and version is this? |
Same issue on Gentoo using the portage ebuild for ohai 7.0.4. IP address detection stops functioning. I realize gentoo is not a supported platform, but thought it might provide a further hint.
|
Could you run |
not much dcuidev1 portage # ohai -l debug |
FIX: On Gentoo, at least, /sbin/ip does not exist. Gentoo's ebuild for iproute2 places "ip" in "/bin/". Softlink addresses the issue for now. Perhaps Ohai can check for the executable in both /bin and /sbin |
should probably just invoke ip and let the PATH pick it up. if we don't have /sbin in the PATH on platforms then that should get fixed somewhere very early in ohai. |
Same trouble on CoreOS. Not surprisingly since it is based on Gentoo packages too. |
Slightly different but ipaddress/macaddress and the whole network Mash is not detected on XenServer 6.5 which is Centos 5.10 based. Interface names have not changed, but "ip addr" acts weird :-/
Any ideas? |
XenServer 6.5 is probably #343 Please try to keep issues on one track. |
@lamont-granquist Sorry you are totally right, I only searched for Xen and #343 didn't pop up. I'll be more carefully in the future :) |
A fix for gentoo/coreos is merged in #510. Can this issue be closed? |
Ohai: 7.2.4
app chef # ohai > test.ohai
[2014-08-23T05:08:39+03:00] WARN: unable to detect ipaddress
[2014-08-23T05:08:39+03:00] WARN: unable to detect macaddress
app chef #
it did at least detect the gateway:
network info :
other info
The text was updated successfully, but these errors were encountered: