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.
DescriptionNikhil Dehadrai
2016-02-05 14:21:16 UTC
Description of problem:
hardware.py crashed while executing ipa-upgarde test execution.
How reproducible:
Always
Steps to Reproduce:
1. Setup IPA server for ipa-upgrade test suite execution on beaker.
2. Make sure latest repo links are set correctly for test execution.
3. Initiate automation for ipa-upgrade test suite on beaker.
Once the automation for ipa-upgrade is complete, following message is received.
Actual results:
backtrace:
:hardware.py:45:<module>:ImportError: No module named hardware_hal
:
:Traceback (most recent call last):
: File "/usr/share/rhn/up2date_client/hardware.py", line 45, in <module>
: from hardware_hal import check_hal_dbus_status, get_hal_computer, read_hal
:ImportError: No module named hardware_hal
:
:Local variables in innermost frame:
:AF_INET6: 10
:getaddrinfo: <built-in function getaddrinfo>
:rhnserver: <module 'rhnserver' from '/usr/share/rhn/up2date_client/rhnserver.pyc'>
:gethostname: <built-in function gethostname>
:up2dateLog: <module 'up2dateLog' from '/usr/share/rhn/up2date_client/up2dateLog.pyc'>
:gettext: <module 'gettext' from '/usr/lib64/python2.7/gettext.pyc'>
:__package__: None
:re: <module 're' from '/usr/lib64/python2.7/re.pyc'>
:config: <module 'config' from '/usr/share/rhn/up2date_client/config.pyc'>
:__doc__: 'Used to read hardware info from kudzu, /proc, etc'
:ethtool: <module 'ethtool' from '/usr/lib64/python2.7/site-packages/ethtool.so'>
:__builtins__: <module '__builtin__' (built-in)>
:__file__: '/usr/share/rhn/up2date_client/hardware.py'
:sys: <module 'sys' (built-in)>
:dmidecode: <module 'dmidecode' from '/usr/lib64/python2.7/site-packages/dmidecode.pyc'>
:ethtool_present: True
:__name__: '__main__'
:_: <bound method NullTranslations.ugettext of <gettext.NullTranslations instance at 0x18d4998>>
:socket: <module 'socket' from '/usr/lib64/python2.7/socket.pyc'>
:dbus: <module 'dbus' from '/usr/lib64/python2.7/site-packages/dbus/__init__.pyc'>
:AF_INET: 2
:t: <gettext.NullTranslations instance at 0x18d4998>
:os: <module 'os' from '/usr/lib64/python2.7/os.pyc'>
Expected results:
No Crash reports should be observed for testing ipa-upgrade test suite.
Additional info:
This crash was observed while performing automation upgrade testing from RHEL 7.0 > RHEL 7.2.z (up2).
I'm sorry, but it's not quite clear, what is ipa-upgrade and how rhn-client-tools are called.
Could we get a minimal reproducer, how to call rhn-client-tools to get this traceback?
According to the provided crash log, it looks hardware.py is called in the following way:
# python /usr/share/rhn/up2date_client/hardware.py
This is definitely not supported. You're supposed to call only rhn-client-tools utilities from /usr/bin/ and /user/sbin/. CLosing as NOTABUG.