Bug 1305740

Summary: No module named hardware_hal in rhn-client-tools causing a crash
Product: Red Hat Enterprise Linux 7 Reporter: Steeve Goveas <sgoveas>
Component: rhn-client-toolsAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: hnguyen, ndehadra, tlestach
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1306715 (view as bug list) Environment:
Last Closed: 2016-03-09 13:02:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1306715    
Attachments:
Description Flags
Crash directory none

Description Steeve Goveas 2016-02-09 05:30:24 UTC
Actual results:

abrt_version:   2.1.11
cmdline:        python /usr/share/rhn/up2date_client/hardware.py
executable:     /usr/share/rhn/up2date_client/hardware.py
hostname:       auto-hv-01-guest08.testrelm.test
kernel:         3.10.0-123.el7.x86_64
last_occurrence: 1454934122
pid:            2591
pkg_arch:       noarch
pkg_epoch:      0
pkg_name:       rhn-client-tools
pkg_release:    5.el7
pkg_version:    2.0.2
runlevel:       N 3
time:           Mon 08 Feb 2016 07:22:02 AM EST
uid:            0
username:       root

sosreport.tar.xz: Binary file, 5078224 bytes

abrt-crashdir-link:
:ftp://auto-hv-01.idmqe.lab.eng.bos.redhat.com/hardware.py.2591.1454934122.auto-hv-01-guest08.testrelm.test.core.gz
:

abrt-faf-report:
:uReport: BTHASH=64970911b241ca64bc8eec6c89ea369ef2d8cc15
:ABRT Server: URL=http://faf-report.itos.redhat.com/reports/bthash/64970911b241ca64bc8eec6c89ea369ef2d8cc15

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 0x1340998>>
: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 0x1340998>
:os: <module 'os' from '/usr/lib64/python2.7/os.pyc'>

Expected results:


Additional info:

Comment 1 Steeve Goveas 2016-02-09 05:33:28 UTC
Created attachment 1122341 [details]
Crash directory

Comment 3 Tomas Lestach 2016-03-09 13:02:08 UTC
According to:
cmdline:        python /usr/share/rhn/up2date_client/hardware.py
this looks like a duplicate of Bug 1305073. Closing.

*** This bug has been marked as a duplicate of bug 1305073 ***

Comment 4 Hai Nguyen 2016-05-26 20:28:02 UTC
I don't see a resolution for this. Would you please provide more information as how to deal with these crashes?