Bug 1121643

Summary: vdsm does not report stats for vlan devices due to a sloppy backport
Product: [Retired] oVirt Reporter: Maurice James <midnightsteel>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED CURRENTRELEASE QA Contact: Gil Klein <gklein>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.4CC: acathrow, bazulay, bugs, ecohen, gklein, iheim, mgoldboi, mpavlik, yeylon
Target Milestone: ---   
Target Release: 3.4.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: vdsm-4.14.11.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-11 08:37:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1117634, 1123858    
Attachments:
Description Flags
Supervdsm log none

Description Maurice James 2014-07-21 13:00:29 UTC
Created attachment 919630 [details]
Supervdsm log

Description of problem: Engine reporting that the host interfaces are down but the really are not


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

How reproducible:
100%

Steps to Reproduce:
1.Upgrade to ovirt 3.4.3
2.Host network status immediately drops


Actual results:
Host network status unknown, which causes the entire data center to go offline

Expected results:
All hosts and network show as online

Additional info:

Comment 1 Dan Kenigsberg 2014-07-21 17:10:47 UTC
It's a worrying dup of https://bugzilla.redhat.com/show_bug.cgi?id=1121145#c7

Thread-12::ERROR::2014-07-21 07:40:07,373::sampling::438::vds::(run) Error while sampling stats
Traceback (most recent call last):
  File "/usr/share/vdsm/sampling.py", line 420, in run
    sample = self.sample()
  File "/usr/share/vdsm/sampling.py", line 410, in sample
    hs = HostSample(self._pid)
  File "/usr/share/vdsm/sampling.py", line 186, in __init__
    (link.name, InterfaceSample(link)) for link in getLinks())
  File "/usr/share/vdsm/sampling.py", line 186, in <genexpr>
    (link.name, InterfaceSample(link)) for link in getLinks())
  File "/usr/share/vdsm/sampling.py", line 109, in __init__
    self.speed = _getLinkSpeed(link)
  File "/usr/share/vdsm/sampling.py", line 547, in _getLinkSpeed
    speed = netinfo.vlanSpeed(dev.name)
AttributeError: 'module' object has no attribute 'vlanSpeed'

Comment 2 Dan Kenigsberg 2014-07-21 17:26:33 UTC
*** Bug 1121145 has been marked as a duplicate of this bug. ***