Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1082416 - On RHEL6, virt-who crashes with VirtError message when create new VM
On RHEL6, virt-who crashes with VirtError message when create new VM
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-who (Show other bugs)
6.5
Unspecified Linux
medium Severity medium
: rc
: ---
Assigned To: Radek Novacek
gaoshang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-30 22:39 EDT by kyoneyama
Modified: 2016-11-30 19:32 EST (History)
4 users (show)

See Also:
Fixed In Version: virt-who-0.10-1.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-10-14 03:13:16 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1513 normal SHIPPED_LIVE virt-who bug fix and enhancement update 2014-10-13 21:22:23 EDT

  None (edit)
Description kyoneyama 2014-03-30 22:39:50 EDT
Description of problem:

On RHEL6, virt-who crashes with VirtError message when create new VM.

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

  - RHEL6.5
  - virt-who-0.8-9.el6.noarch  
  - libvirt-0.10.2-29.el6.x86_64
  - libvirt-client-0.10.2-29.el6.x86_64
  - libvirt-python-0.10.2-29.el6.x86_64

How reproducible:
  No reproducer

Actual results:

  The following messages were written in /var/log/messages:

  kernel: device vnet4 entered promiscuous mode
  kernel: virbr0: topology change detected, propagating
  kernel: virbr0: port 2(vnet4) entering forwarding state
  qemu-kvm: Could not find keytab file: /etc/qemu/krb5.tab: No such file or directory
  abrt: detected unhandled Python exception in '/usr/share/virt-who/virt-who.py'
  abrtd: New client connected
  abrt-server[22680]: Saved Python crash dump of pid 5291 to /var/spool/abrt/pyhook-2014-03-18-09:05:55-5291
  abrtd: Directory 'pyhook-2014-03-18-09:05:55-5291' creation detected


  The following files is in ABRT report:

  -- backtrace --
  Traceback (most recent call last):
    File "/usr/lib64/python2.6/site-packages/libvirt.py", line 3571, in _dispatchDomainEventCallbacks
      cb(self,dom,event,detail,opaque)
    File "/usr/share/virt-who/virt.py", line 74, in changed
      l = self.listDomains()
    File "/usr/share/virt-who/virt.py", line 64, in listDomains
      raise VirtError(str(e))
  
    VirtError: invalid connection pointer in virConnectNumOfDomains
  
  Local variables in innermost frame:
  domains: []
  self: <virt.Virt instance at 0x18b50e0>
  e: libvirtError('invalid connection pointer in virConnectNumOfDomains',)

  -- reason --
  virt.py:64:listDomains:VirtError: invalid connection pointer in virConnectNumOfDomains


Expected results:
  It shouldn't appear error message.

Additional info:
  It looks similarly to bugid:1004247.
Comment 2 Radek Novacek 2014-06-02 13:42:06 EDT
This bug is fixed upstream and will be resolved by rebase of virt-who, see bug 1002640.
Comment 3 Radek Novacek 2014-06-18 03:26:32 EDT
This bug is fixed by rebase to virt-who-0.10-1.el6.
Comment 5 Liushihui 2014-08-22 07:32:39 EDT
Can't reproduce on RHEL6.6-20140812.1-Server-x86_64. Therefore, Verified it

Verified version
virt-who-0.10-6.el6.noarch
libvirt-0.10.2-43.el6.x86_64
libvirt-client-0.10.2-43.el6.x86_64
libvirt-python-0.10.2-43.el6.x86_64
Comment 6 errata-xmlrpc 2014-10-14 03:13:16 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1513.html

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