Bug 607157 - Trackback in event-test.py while disk I/O error was triggering
Trackback in event-test.py while disk I/O error was triggering
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt (Show other bugs)
6.0
All Linux
low Severity medium
: rc
: ---
Assigned To: Daniel Berrange
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-23 07:59 EDT by Nan Zhang
Modified: 2010-11-11 09:48 EST (History)
5 users (show)

See Also:
Fixed In Version: libvirt-0_8_1-10_el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-11-11 09:48:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Fix missing parameter (1.06 KB, patch)
2010-06-23 10:13 EDT, Daniel Berrange
no flags Details | Diff

  None (edit)
Description Nan Zhang 2010-06-23 07:59:42 EDT
Description of problem:
as subject.

Version-Release number of selected component (if applicable):
libvirt-0.8.1-9.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. python event-test.py qemu:///system
2. trigger an disk I/O error.
  
Actual results:
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1991, in dispatchDomainEventIOErrorCallback
    cb(self, virDomain(self, _obj=dom), srcPath, devAlias, opaque)
TypeError: myDomainEventIOErrorCallback() takes exactly 6 arguments (5 given)

Expected results:
disk I/O event can be caught.

Additional info:
Comment 2 RHEL Product and Program Management 2010-06-23 08:12:56 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.
Comment 3 Daniel Berrange 2010-06-23 10:13:55 EDT
Created attachment 426283 [details]
Fix missing parameter
Comment 4 Dave Allan 2010-06-23 21:37:07 EDT
libvirt-0_8_1-10_el6 has been built in RHEL-6-candidate with the fix.

Dave
Comment 5 dyuan 2010-06-28 22:51:28 EDT
Verified PASSED with libvirt-0.8.1-10.el6.

# python /usr/share/doc/libvirt-python-0.8.1/events-python/event-test.py
myDomainEventIOErrorCallback: Domain rhel6(7) /mnt/vol/foo.img ide0-0-1 2
myDomainEventIOErrorCallback: Domain rhel6(7) /mnt/vol/foo.img ide0-0-1 2
Comment 6 releng-rhel@redhat.com 2010-11-11 09:48:35 EST
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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