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

check_hw_ib gives an unhelpful message when the adapter is missing #111

Open
OleHolmNielsen opened this issue Feb 1, 2022 · 1 comment

Comments

@OleHolmNielsen
Copy link

We're running the NHC 1.4.3 RC1 RPM lbnl-nhc-1.4.3-1.el8.noarch on ~100 AlmaLinux 8.5 systems.
These servers have Cornelis (Intel) Omni-Path 100 Gbit adapters, and I check them with this rule in nhc.conf:

d*.nifl.fysik.dtu.dk  || check_hw_ib 100

Due to some hardware testing I removed the adapter, and now NHC rightly gives an error message, albeit a strange one:

ERROR:  nhc:  Health check failed:  check_hw_ib:  Version mismatch between kernel OFED drivers and userspace OFED libraries.

I wonder if a more informative error message could be issued, such as "missing network interface" or similar?
Thanks,
Ole

@OleHolmNielsen
Copy link
Author

I propose a patch to lbnl_hw.nhc:
lbnl_hw.nhc.diff.txt
When no IB device is present NHC prints this error:

# nhc
ERROR:  nhc:  Health check failed:  check_hw_ib:  No Infiniband device was found.

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