Bug 1240719

Summary: [RFE] - Send an events to engine upon network changes
Product: [oVirt] vdsm Reporter: Yevgeny Zaspitsky <yzaspits>
Component: GeneralAssignee: Edward Haas <edwardh>
Status: CLOSED WONTFIX QA Contact: Meni Yakove <myakove>
Severity: medium Docs Contact:
Priority: medium    
Version: ---CC: bugs, danken, gcheresh, knarra, lpeer, lsurette, masayag, mgoldboi, myakove, pablo.iranzo, rbalakri, Rhev-m-bugs, srevivo, ycui, ykaul, ylavi
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: ylavi: ovirt-future?
ylavi: planning_ack?
ylavi: devel_ack?
ylavi: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: host should notify Engine of networking changes: up, done, speed change, new nic, lost nic, new IP address, lost IP address Reason: Result:
Story Points: ---
Clone Of: 980363 Environment:
Last Closed: 2018-06-06 07:40:50 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: 1324479    
Bug Blocks: 980363, 988469, 1058499, 1187461, 1214636, 1246047, 1281666, 1317457, 1377302, 1509007    

Description Yevgeny Zaspitsky 2015-07-07 14:54:39 UTC
+++ This bug was initially created as a clone of Bug #980363 +++

Description of problem:
After attaching network to the Host NIC the speed of 0 or 1 is displayed in the GUI and is shown id DB. 
getVdsCaps and getVdsStats report the correct speed of 1000

Version-Release number of selected component (if applicable):


How reproducible:
Sometime

Steps to Reproduce:
1. Create network in the Cluster
2. Attach network to the host with SetupNetworks
3.

Actual results:
 The speed of interface is changed from 1000 to 0 or 1 in DB and GUI

Expected results:
The speed should remain 1000

Additional info:
Output of VdsStats for eth3 
'eth3': {'macAddr': '',
                            'name': 'eth3',
                            'rxDropped': '0',
                            'rxErrors': '0',
                            'rxRate': '0.0',
                            'speed': '1000',
                            'state': 'up',
                            'txDropped': '0',
                            'txErrors': '0',
                            'txRate': '0.0'}}

Comment 1 Yaniv Lavi 2016-01-27 09:29:53 UTC
*** Bug 999947 has been marked as a duplicate of this bug. ***

Comment 2 Yaniv Lavi 2016-01-27 09:30:27 UTC
*** Bug 1214636 has been marked as a duplicate of this bug. ***

Comment 3 Dan Kenigsberg 2016-03-27 11:30:19 UTC
Martin, please add the Engine + Vdsm patches to this bug.

Comment 4 Mike McCune 2016-03-28 23:09:17 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 5 Sandro Bonazzola 2016-05-02 10:07:19 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 7 Dan Kenigsberg 2017-02-19 11:09:58 UTC
https://gerrit.ovirt.org/#/q/topic:dhclient-event-handler gives us events when a new address arrives via dhcp.

We would like to have notifications also on
- nic speed change
- new/removed nic
- new/removed ad_partner_mac

Comment 8 Yaniv Lavi 2018-06-06 07:40:50 UTC
Closing old RFEs, please reopen if still needed.
Patches are always welcomed.