virt-who generates the ABRT report on each restart [unhandled Python exception in /usr/bin/virt-who]

Solution Verified - Updated -

Issue

After update to virt-who-0.21.6-1.el6.noarch it started to create abrt logs upon restart

Actual results:
abrt logs created. -> abrt: detected unhandled Python exception in '/usr/bin/virt-who'
virt-who stays running
Expected results:
no errors

example of error:

backtrace:
:__init__.py:844:close:IOError: [Errno 9] Bad file descriptor
:
:Traceback (most recent call last):
:  File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs
:    func(*targs, **kargs)
:  File "/usr/lib64/python2.6/logging/__init__.py", line 1525, in shutdown
:    h.close()
:  File "/usr/lib64/python2.6/logging/__init__.py", line 844, in close
:    self.stream.close()
:IOError: [Errno 9] Bad file descriptor
:
:Local variables in innermost frame:
:self: <logging.handlers.WatchedFileHandler instance at 0x16897a0>

environ:
:TERM=xterm
:VIRTWHO_BACKGROUND=1
:PATH=/sbin:/usr/sbin:/bin:/usr/bin
:PWD=/
:LANG=en_US.UTF-8
:SHLVL=2
:VIRTWHO_DEBUG=0
:VIRTWHO_INTERVAL=3600
:_=/usr/bin/virt-who

Environment

RHEL 6.9
virt-who-0.21.6-1.el6.noarch
python-2.6.6-66.el6_8.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.