Bug 1250992 - non-configured nics are reported as 'down' even if they have carrier signal
Summary: non-configured nics are reported as 'down' even if they have carrier signal
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: ---
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: bugs@ovirt.org
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks: 1250032
TreeView+ depends on / blocked
 
Reported: 2015-08-06 11:44 UTC by Sahina Bose
Modified: 2022-07-05 13:35 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-27 09:21:10 UTC
oVirt Team: Network
Embargoed:


Attachments (Terms of Use)
vdscaps output (13.89 KB, text/plain)
2015-08-17 07:29 UTC, Sahina Bose
no flags Details
getVdsStats output (8.97 KB, text/plain)
2015-08-17 14:22 UTC, Sahina Bose
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-46985 0 None None None 2022-07-05 13:35:52 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.