Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
sosreport on RHEL6 calls
"python /usr/share/rhn/up2date_client/hardware.py",
which leads to crash (hidden, caught by abrt, but crashreport
is usually immediately deleted with
Corrupted or bad directory '/var/spool/abrt/pyhook-2013-07-09-11:40:06-27058', deleting
see Bug 909617.
Coliding name rpmUtils resolves to one in /usr/share/rhn/up2date_client/
(that do not have submodule transaction) instead of
the one in /usr/lib/python2.6/site-packages/rpmUtils/.
Version-Release number of selected component (if applicable):
sos-2.2-38.el6.noarch
rhn-client-tools-1.10.11-1.el6.noarch
How reproducible: always deterministic
Steps to Reproduce:
1. python /usr/share/rhn/up2date_client/hardware.py
Actual results:
Trace...
> File "/usr/share/rhn/up2date_client/hardware.py", line 24, in <module>
> import rhnserver
> File "/usr/share/rhn/up2date_client/rhnserver.py", line 34, 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>
> from capabilities import parseCap
> File "/usr/share/rhn/up2date_client/capabilities.py", line 4, in <module>
> import up2dateErrors
> File "/usr/share/rhn/up2date_client/up2dateErrors.py", line 44, in <module>
> from yum.Errors import 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
Expected results:
Info about hardware is printed.
Additional info:
Might be related to patch 1417f0700405f27f13309d12fc41603fd37b72a4.
Putting the 1st element of the python search path to the end
keeping content of search path, changing just the order for finding yum
rpmUtils module instead of our one in the working directory
(not a nice solution)
spacewalk.git: 7a6914a28bb5ef2e7a721be91b81a94979dbdcfa
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-2013-1702.html
Description of problem: sosreport on RHEL6 calls "python /usr/share/rhn/up2date_client/hardware.py", which leads to crash (hidden, caught by abrt, but crashreport is usually immediately deleted with Corrupted or bad directory '/var/spool/abrt/pyhook-2013-07-09-11:40:06-27058', deleting see Bug 909617. Coliding name rpmUtils resolves to one in /usr/share/rhn/up2date_client/ (that do not have submodule transaction) instead of the one in /usr/lib/python2.6/site-packages/rpmUtils/. Version-Release number of selected component (if applicable): sos-2.2-38.el6.noarch rhn-client-tools-1.10.11-1.el6.noarch How reproducible: always deterministic Steps to Reproduce: 1. python /usr/share/rhn/up2date_client/hardware.py Actual results: Trace... > File "/usr/share/rhn/up2date_client/hardware.py", line 24, in <module> > import rhnserver > File "/usr/share/rhn/up2date_client/rhnserver.py", line 34, 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> > from capabilities import parseCap > File "/usr/share/rhn/up2date_client/capabilities.py", line 4, in <module> > import up2dateErrors > File "/usr/share/rhn/up2date_client/up2dateErrors.py", line 44, in <module> > from yum.Errors import 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 Expected results: Info about hardware is printed. Additional info: Might be related to patch 1417f0700405f27f13309d12fc41603fd37b72a4.