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

Bug 947835

Summary: [scalability] [vdsm] Get error AdvancedStatsFunction _highWrite, via power off mass VMs
Product: Red Hat Enterprise Virtualization Manager Reporter: vvyazmin <vvyazmin>
Component: vdsmAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED DUPLICATE QA Contact: vvyazmin <vvyazmin>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: abaron, acathrow, bazulay, dyasny, hateya, iheim, lpeer, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-02 10:32:19 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:
Attachments:
Description Flags
## Logs vdsm, rhevm, libvirt
none
## Log libvirt none

Description vvyazmin@redhat.com 2013-04-03 11:57:45 UTC
Created attachment 731124 [details]
## Logs vdsm, rhevm, libvirt

Description of problem:
Get ERROR: Stats function failed: <AdvancedStatsFunction _highWrite at 0x2531880>, via power off mass VMs

Version-Release number of selected component (if applicable):
RHEVM 3.2 - SF11 environment:

RHEVM: rhevm-3.2.0-10.14.beta1.el6ev.noarch	
VDSM: vdsm-4.10.2-11.0.el6ev.x86_64
LIBVIRT: libvirt-0.10.2-18.el6.x86_64
QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.355.el6_4.2.x86_64
SANLOCK: sanlock-2.6-2.el6.x86_64

Run scenarios:
1. Run power-off 200 VM's action, paralleled via PythonSDK

How reproducible:
100%

Steps to Reproduce:
1. Run power-off 200 VM's action, paralleled via PythonSDK
  
Actual results:
Get error libvirtError: Unable to read from monitor: Connection reset by peer

Expected results:
No exception should be found

Additional info:
/var/log/ovirt-engine/engine.log

/var/log/vdsm/vdsm.log

Thread-131454::ERROR::2013-04-03 11:28:03,794::utils::416::vm.Vm::(collect) vmId=`ae57dc5a-057d-4994-a7c9-21756b29e4a7`::Stats function failed: <AdvancedStatsFunction _highWrite at 0x2531880>
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/vdsm/utils.py", line 412, in collect
    statsFunction()
  File "/usr/lib64/python2.6/site-packages/vdsm/utils.py", line 287, in __call__
    retValue = self._function(*args, **kwargs)
  File "/usr/share/vdsm/libvirtvm.py", line 134, in _highWrite
    self._vm._dom.blockInfo(vmDrive.path, 0)
  File "/usr/share/vdsm/libvirtvm.py", line 529, in f
    ret = attr(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 104, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1797, in blockInfo
    if ret is None: raise libvirtError ('virDomainGetBlockInfo() failed', dom=self)
libvirtError: Unable to read from monitor: Connection reset by peer

Comment 1 vvyazmin@redhat.com 2013-04-03 15:20:53 UTC
Created attachment 731221 [details]
## Log libvirt

Comment 2 vvyazmin@redhat.com 2013-04-04 14:11:00 UTC
Impact on user:
None, just ERROR in log

Comment 3 Itamar Heim 2013-05-02 10:32:19 UTC

*** This bug has been marked as a duplicate of bug 947821 ***