RHEL6.2 virt-who error: [abrt] virt-who-0.3-3.el6: virt.py:76:eventToString:IndexError: tuple index out of range
Issue
Shutting down a number of VMs at once produced the following ABRT error from virt-who:
cmdline: /usr/bin/python /usr/share/virt-who/virt-who.py
comment: I shut down several KVM's at the same time
executable: /usr/share/virt-who/virt-who.py
kernel: 2.6.32-220.17.1.el6.x86_64
reason: virt.py:76:eventToString:IndexError: tuple index out of range
time: Thu 07 Jun 2012 07:35:52 AM CEST
uid: 0
username: root
sosreport.tar.xz: Binary file, 2922936 bytes
backtrace:
:virt.py:76:eventToString:IndexError: tuple index out of range
:
:Traceback (most recent call last):
: File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2981, in _dispatchDomainEventCallbacks
: cb(self,dom,event,detail,opaque)
: File "/usr/share/virt-who/virt.py", line 62, in changed
: print "EVENT: Domain %s(%s) %s %s" % (dom.name(), dom.ID(), eventToString(event), detailToString(event, detail))
: File "/usr/share/virt-who/virt.py", line 76, in eventToString
: return eventStrings[event]
:IndexError: tuple index out of range
:
:Local variables in innermost frame:
:event: 6
:eventStrings: ('Defined', 'Undefined', 'Started', 'Suspended', 'Resumed', 'Stopped')
Environment
Red Hat Enterprise Linux 6.2
virt-who-0.3.3.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
