[Spacewalk-list] Swalk 2.0 rhnreg_ks = "No module named hardware_hal"

Alan Pittman Alan.Pittman at publix.com
Tue Aug 6 20:31:25 UTC 2013


Lee,
   I think this has been asked. Are you running the 32bit or 64bit version of CentOS 6.4?

I've got a RHEL 6.4 running 64bit and its registered with my Spacewalk server. The hitch may be that I'm still at Spacewalk 1.8. Just migrated there from 1.7 about a month ago.

My server has this version:

[root at l47rhelt2 ~]# rpm -q -a | grep pygobj
pygobject2-2.20.0-5.el6.x86_64
[root at l47rhelt2 ~]#

This error shows up on the Red Hat support site. The suggested fix is:

Resolution

Download appropriate version of package 'pygobject2' from RHN and install it.

Root Cause

If rhn-client-tools dependent package 'pygobject2' is missing, you get this error

Sorry if this isn't much help, but I thought I would let you know that Red Hat Support has seen this issue before.

Alan


-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Dimitri Yioulos
Sent: Tuesday, August 06, 2013 4:12 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Swalk 2.0 rhnreg_ks = "No module named hardware_hal"

Afaik, there is no hardware_hal package.  There is a hal 
package, though, and I believe it's installed by default, 
though the OP might wan to check.  Then, of course, it's 
worth making sure that python is installed.

Dimitri


On Tuesday 06 August 2013 3:41:59 pm Thomas Foster wrote:
> That's a python error it looks like....see if you have
> hardware_hal installed..
>
> On Tue, Aug 6, 2013 at 2:50 PM, Lee Roth 
<bwc_lr1 at easy48.com> wrote:
> > Spacewalk V2.0 on Centos6.4
> >
> > Trying to register a Centos6.4 client to the Spacewalk
> > server; the command rhnreg_ks does not work.
> >
> > A suggestion that I read somewhere that the package
> > "pygobject2" might be missing, but it is not.
> >
> > On the client:
> >
> > # /usr/sbin/rhnreg_ks --help
> > 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
> > # rpm -qa | grep pygobject2
> > pygobject2-2.20.0-5.el6.i686
> > #
> >
> > Any suggestion?
> >
> > Thanks!
> >
> > Lee
> >
> >
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list