Red Hat Bugzilla – Bug 1250992
non-configured nics are reported as 'down' even if they have carrier signal
Last modified: 2016-03-27 05:21:10 EDT
Description of problem:
Networks sub-tab of Host, shows the network interface status as DOWN, even if the network interface is not in use
Version-Release number of selected component (if applicable):
Steps to Reproduce:
If a NIC does not have an associated IP address, can it be assumed that this is not in use, and show the status as UNASSIGNED or some other status than DOWN?
Would you attach the output of getVdsCaps?
Created attachment 1063660 [details]
Only ib0 and eth2 are used.
I'm so sorry - I need the output of getVdsStats, which includes nics' up-state.
Created attachment 1063896 [details]
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
Sahina, sorry for the very slow response, but according to comment 6 all nics (apart of eth2 and ib0) are reported as 'down' by the kernel.
You might be referring to the difference between IFF_UP and IFF_LOWER_UP. Vdsm reports /sys/class/net/nic/operstate which I believe the logical AND of the two. So nics that are configured to be down, yet could have had carrier, are still reported as 'down'.
This was intentional, as their current state is not usable. It could have been nice to report IFF_LOWER_UP as well, but we have no plans to do it in the immediate future.