Bug 1116577 - Unexpected error in VDSM and Engine log when adding/removing ethtools_opts
Summary: Unexpected error in VDSM and Engine log when adding/removing ethtools_opts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: 3.5
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 3.5.0
Assignee: Antoni Segura Puimedon
QA Contact: GenadiC
URL:
Whiteboard: network
: 1123610 (view as bug list)
Depends On:
Blocks: 1118699
TreeView+ depends on / blocked
 
Reported: 2014-07-06 13:09 UTC by GenadiC
Modified: 2016-02-10 19:36 UTC (History)
9 users (show)

Fixed In Version: 4.16.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1118699 (view as bug list)
Environment:
Last Closed: 2014-10-17 12:42:01 UTC
oVirt Team: Network
Embargoed:


Attachments (Terms of Use)
engine, vdsm and supervdsm logs (982.41 KB, application/zip)
2014-07-06 13:09 UTC, GenadiC
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 29916 0 master MERGED iface_sampling: Fix debug logging samples Never
oVirt gerrit 31789 0 ovirt-3.5 MERGED iface_sampling: Fix debug logging samples Never

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.


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