Why do I see abrt messages in log, abrt: detected unhandled Python exception in '/usr/share/rhn/up2date_client/hardware.py' ?

Solution Verified - Updated -

Issue

  • Getting abrt and /usr/share/rhn/up2date_client/hardware.py related messages in logs.
  • Server is generating recurring errors in the abrt emails due to the /usr/share/rhn/up2date_client/hardware.py script failing with the below output:
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/hardware.py", line 25, in <module>
    import rhnserver
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 22, in <module>
    import rpcServer
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 12, in <module>
    import clientCaps
  File "/usr/share/rhn/up2date_client/clientCaps.py", line 10, in <module>
    import capabilities
  File "/usr/share/rhn/up2date_client/capabilities.py", line 4, in <module>
    import up2dateErrors
  File "/usr/share/rhn/up2date_client/up2dateErrors.py", line 16, in <module>
    from yum.Errors import RepoError, YumBaseError
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 51, in <module>
    import config
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 40, in <module>
    import rpmUtils.transaction
ImportError: No module named transaction
  • [abrt] rhn-client-tools-1.0.0.1-8.el6: config.py:40::ImportError: No module named transaction:
abrt_version:   2.0.8
cmdline:        python /usr/share/rhn/up2date_client/hardware.py
comment:        
executable:     /usr/share/rhn/up2date_client/hardware.py
kernel:         2.6.32-358.18.1.el6.x86_64
time:           
uid:            0
username:       root
  • [abrt] full crash report:
abrt_version:   2.0.8
cmdline:        python /usr/share/rhn/up2date_client/hardware.py
executable:     /usr/share/rhn/up2date_client/hardware.py
kernel:         2.6.32-358.18.1.el6.x86_64
time:           
uid:            0
username:       root

sosreport.tar.xz: Binary file, 1177404 bytes

backtrace:
:config.py:40:<module>:ImportError: No module named transaction
:
:Traceback (most recent call last):
:  File "/usr/share/rhn/up2date_client/hardware.py", line 25, in <module>
:    import rhnserver
:  File "/usr/share/rhn/up2date_client/rhnserver.py", line 22, in <module>
:    import rpcServer
:  File "/usr/share/rhn/up2date_client/rpcServer.py", line 12, in <module>
:    import clientCaps
:  File "/usr/share/rhn/up2date_client/clientCaps.py", line 10, in <module>
:    import capabilities
:  File "/usr/share/rhn/up2date_client/capabilities.py", line 4, in <module>
:    import up2dateErrors
:  File "/usr/share/rhn/up2date_client/up2dateErrors.py", line 16, in <module>
:    from yum.Errors import RepoError, YumBaseError
:  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 52, in <module>
:    import config
:  File "/usr/lib/python2.6/site-packages/yum/config.py", line 40, in <module>
:    import rpmUtils.transaction
:ImportError: No module named transaction

Environment

  • Red Hat Enterprise Linux 6
  • rhn-client-tools-1.0.0.1-8.el6.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content