Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1116577

Summary: Unexpected error in VDSM and Engine log when adding/removing ethtools_opts
Product: [Retired] oVirt Reporter: GenadiC <gcheresh>
Component: vdsmAssignee: Antoni Segura Puimedon <asegurap>
Status: CLOSED CURRENTRELEASE QA Contact: GenadiC <gcheresh>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5CC: bazulay, bugs, danken, gklein, iheim, mgoldboi, myakove, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: 4.16.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1118699 (view as bug list) Environment:
Last Closed: 2014-10-17 12:42:01 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: 1118699    
Attachments:
Description Flags
engine, vdsm and supervdsm logs none

Description GenadiC 2014-07-06 13:09:29 UTC
Created attachment 914952 [details]
engine, vdsm and supervdsm logs

Description of problem:
If you add/remove ethtool_opts you get an error: BindingXMLRPC::1126::vds::(wrapper) unexpected error in VDSM log, though an action succeeds

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


How reproducible:
From time to time

Steps to Reproduce:
1. Add ethtool_opts in GUI or remove it (sometimes you see it when creating and sometimes when deleting ethtool_opts)
2. Check VDSM and Engine logs
3.

Actual results:
Unexpected exception Error in VDSM log and Failed to GetStatsVDS, error = Unexpected exception, code = 16 in engine log

Expected results:
No error messages in the logs

Additional info:
Usually it happens when trying to remove ethtool_opts with '-' sign in GUI

Comment 1 Dan Kenigsberg 2014-07-08 08:58:53 UTC
Thread-709::DEBUG::2014-07-06 15:54:25,853::sampling::619::vds::(_getInterfacesStats) Rate above 100%. DEBUG: ifid eth1 interval: 8.11740493774 thisRx 4293800384 thisTx 4294966838 samples [(1404651256.1012111, 1166912, 458), (1404651258.113075, 1176526, 458), (1404651260.125016, 1186458, 458), (1404651262.197691, 0, 0), (1404651264.218616, 0, 0)]
Thread-709::ERROR::2014-07-06 15:54:25,854::BindingXMLRPC::1126::vds::(wrapper) unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/rpc/BindingXMLRPC.py", line 1110, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/rpc/BindingXMLRPC.py", line 455, in getStats
    return api.getStats()
  File "/usr/share/vdsm/API.py", line 1245, in getStats
    decStats = self._cif._hostStats.get()
  File "/usr/share/vdsm/virt/sampling.py", line 514, in get
    stats = self._getInterfacesStats()
  File "/usr/share/vdsm/virt/sampling.py", line 619, in _getInterfacesStats
    for hs in self._samples])
KeyError: 'kaka'

Comment 2 Dan Kenigsberg 2014-08-21 23:21:13 UTC
*** Bug 1123610 has been marked as a duplicate of this bug. ***

Comment 3 Meni Yakove 2014-08-24 07:18:37 UTC
Another scenario:

Steps to Reproduce:
1. Configure a network with VLAN 0 and attach it to host with ethtool_opts
2. Change the network to be untagged
3. Look at the engine and vdsm logs

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