Bug 1250992

Summary: non-configured nics are reported as 'down' even if they have carrier signal
Product: [oVirt] ovirt-engine Reporter: Sahina Bose <sabose>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: medium    
Version: ---CC: alkaplan, bugs, danken, gklein, lsurette, mgoldboi, rbalakri, sabose, yeylon, ykaul, ylavi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-27 09:21:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1250032    
Attachments:
Description Flags
vdscaps output
none
getVdsStats output none

Description Sahina Bose 2015-08-06 11:44:05 UTC
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):


How reproducible:
Always

Steps to Reproduce:


Actual results:


Expected results:


Additional info:

Comment 1 Sahina Bose 2015-08-12 08:02:17 UTC
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?

Comment 2 Dan Kenigsberg 2015-08-16 08:53:13 UTC
Would you attach the output of getVdsCaps?

Comment 3 Sahina Bose 2015-08-17 07:29:02 UTC
Created attachment 1063660 [details]
vdscaps output

Comment 4 Sahina Bose 2015-08-17 07:29:42 UTC
Only ib0 and eth2 are used.

Comment 5 Dan Kenigsberg 2015-08-17 13:29:43 UTC
I'm so sorry - I need the output of getVdsStats, which includes nics' up-state.

Comment 6 Sahina Bose 2015-08-17 14:22:10 UTC
Created attachment 1063896 [details]
getVdsStats output

Comment 7 Red Hat Bugzilla Rules Engine 2015-10-19 10:56:44 UTC
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.

Comment 8 Dan Kenigsberg 2016-03-27 09:21:10 UTC
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.