[Spacewalk-list] Swalk 2.0 rhnreg_ks = "No module named hardware_hal"
Lee Roth
bwc_lr1 at easy48.com
Mon Aug 19 21:38:00 UTC 2013
I've finally been able to revisit this issue; still having original problem.
Spacewalk V2.0 on Centos V6.4 64-bit server, attempting to
bootstrap/register a Centos V6.4 32-bit client to the server.
Here is full text of bootstrap attempt:
----------
[root at xyz]# bash bootstrap.sh
Spacewalk Server Client bootstrap script v4.0
UPDATING RHN_REGISTER/UP2DATE CONFIGURATION FILES
-------------------------------------------------
* downloading necessary files
client_config_update.py...
client-config-overrides.txt...
* running the update scripts
. up2date config file
* attempting to install corporate public CA cert
Retrieving
http://10.20.30.40/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm
Preparing... ###########################################
[100%]
1:rhn-org-trusted-ssl-cer###########################################
[100%]
REGISTRATION
------------
* registering
Traceback (most recent call last):
File "/usr/sbin/rhnreg_ks", line 33, in <module>
from up2date_client import rhnreg
File "/usr/share/rhn/up2date_client/rhnreg.py", line 21, in <module>
import hardware
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
*** Error: Registering the system failed.
[root at xyz]#
Here are the rhn packages that are installed:
[root at xyz]# rpm -qa | grep rhn
yum-rhn-plugin-2.0.1-1.el6.noarch
rhn-check-2.0.1-1.el6.noarch
rhn-client-tools-2.0.1-1.el6.noarch
rhnsd-5.0.13-1.el6.i686
rhnlib-2.5.65-1.el6.noarch
rhn-setup-2.0.1-1.el6.noarch
rhn-org-trusted-ssl-cert-1.0-1.noarch
[root at xyz]#
My initial attempt to bootstrap failed as the Centos V6.4 (as built by
someone else) did not contain the file "/usr/sbin/rhnreg_ks", so I did a
"yum install rhn-setup" in order to obtain that file. It installed the
dependent packages of:
rhn-check.noarch
rhn-client-tools.noarch
rhnlib.noarch
rhnsd.i686
yum-rhn-plugin.noarch
Thanks you for any advice!
Lee
More information about the Spacewalk-list
mailing list