Bug 841439

Summary: [vdsm] collect diskLatency attribute error
Product: [Retired] oVirt Reporter: Royce Lv <lvroyce>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: abaron, acathrow, amureini, bazulay, dyasny, iheim, mgoldboi, ykaul
Target Milestone: ---   
Target Release: 3.3.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-12 09:36:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Royce Lv 2012-07-19 02:25:32 UTC
Description of problem:
when create vm/localfs:
Thread-86::ERROR::2012-07-19 10:21:52,265::utils::399::vm.Vm::(collect) vmId=`f7c1b02f-b304-4e68-8565-3659b1214cb7`::Stats function failed: <AdvancedStatsFunction _sampleDiskLatency at 0x26c03e8>
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/vdsm/utils.py", line 395, in collect
    statsFunction()
  File "/usr/lib64/python2.7/site-packages/vdsm/utils.py", line 272, in __call__
    retValue = self._function(*args, **kwargs)
  File "/usr/share/vdsm/libvirtvm.py", line 166, in _sampleDiskLatency
    diskLatency[vmDrive.name] = stats[vmDrive.alias]
AttributeError: 'Drive' object has no attribute 'alias'

Version-Release number of selected component (if applicable):
[lvroyce@localhost vdsm]$ rpm -q libvirt
libvirt-0.9.13-1.fc17.x86_64
[lvroyce@localhost vdsm]$ rpm -q vdsm
vdsm-4.10.0-0.185.gitb52165e.fc17.lvroyce1342664137.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Itamar Heim 2013-03-12 09:36:51 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.