Bug 1079719

Summary: OVIRT35 - [RFE] Display of NIC Slave/Bond fault on Event Log
Product: [Retired] oVirt Reporter: Alona Kaplan <alkaplan>
Component: ovirt-engine-coreAssignee: Alona Kaplan <alkaplan>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5CC: gklein, iheim, lvernia, mpavlik, rbalakri, yeylon
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: Doc Type: Enhancement
Doc Text:
When the status of the interface/bond is changed an event should be reported in the following cases- 1. There is a network or label on the interface/bond 2. The interface is a slave of a bond and 1 is true for the parent bond. There won't be more than one event per interface each 30 minutes. The new events are- HOST_INTERFACE_STATE_UP, HOST_INTERFACE_STATE_DOWN, HOST_BOND_SLAVE_STATE_UP, HOST_BOND_SLAVE_STATE_DOWN The user can subscribe to ovirt-engine-notifier to get notifications on those events via UI or configuration.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:30:32 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: 987299    
Bug Blocks:    

Description Alona Kaplan 2014-03-23 13:21:07 UTC
1) Report a warning to the event log on for bond which a network is configured on top of them and one or more of their slaves is down

2) Add an icon next to the bond name in the Web Admin UI in order to indicate its current status (e.g., UP, UP w/ a slave fault, DOWN)

Comment 1 Alona Kaplan 2014-03-24 13:55:34 UTC
It looks like we need to log the status of individual NICs, even when no bond configuration exists. Let's log the following:

- If a NIC (or slave) goes down: "Interface "x", changed state to down"
- If a NIC (or slave) goes up: "Interface "x", changed state to up"
- If a bond goes down: "Bond "x", changed state to down"
- If a bond goes up: "Bond "x", changed state to up"

Comment 2 Alona Kaplan 2014-03-26 11:05:14 UTC
When the status of the interface/bond is changed an event should be
reported in the following cases-
1. There is a network or label on the interface/bond
2. The interface is a slave of a bond and 1 is true for the parent bond.

There won't be more than one event per interface each 30 minutes.

Comment 3 Lior Vernia 2014-07-20 08:48:38 UTC
*** Bug 1063683 has been marked as a duplicate of this bug. ***

Comment 4 Michael Burman 2014-07-27 08:59:47 UTC
Verified on - oVirt Engine Version: 3.5.0-0.0.master.20140722232058.git8e1babc.el6

Comment 5 Sandro Bonazzola 2014-10-17 12:30:32 UTC
oVirt 3.5 has been released and should include the fix for this issue.