[Spacewalk-list] rhn-bootstrap execution error
Anze Marincic
amarincic at nil.si
Wed Feb 24 19:29:12 UTC 2010
rpm -qf /usr/share/rhn/certs/rhn_bootstrap.py
spacewalk-certs-tools-0.8.7-1.el5
On line 37 is
from rhn.common import rhn_rpm
I guess it should be
from spacewalk.common import rhn_rpm
When I change the import statement rhn-bootstrap script is working.
Tried to run generated bootstrap.sh on client and I got some errors.
If I do yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto
yum-rhn-plugin , python-hashlib is not pulled into install as dependency
python-hashlib is needed by client_config_update.py
client_config_update.py also needs fileutils.py and checksum.py. Both py
scripts/modules are part of spacewalk-backend-libs package -> I could not
find these py modules anywhere else (probably they should be)
rpm -qf /usr/lib/python2.4/site-packages/spacewalk/common/checksum.py
spacewalk-backend-libs-0.8.45-1.el5
rpm -qf /usr/lib/python2.4/site-packages/spacewalk/common/fileutils.py
spacewalk-backend-libs-0.8.45-1.el5
My bootstrap.sh is now working, but with lots of ugly hacks.
Could somebody with clean 0.8 install confirm my problems?
Just want to be sure that my upgrade is not messed up.
Probably this is not the right mailing list, but just want to share with
others.
Regards,
Anze
Anze Marincic/Nil wrote on 23.02.2010 21:48:21:
> From: Anze Marincic/Nil
> To: spacewalk-list at redhat.com
> Date: 23.02.2010 21:48
> Subject: rhn-bootstrap execution error
>
> After upgrade to 0.8, everything is working great, except rhn-
> bootstrap script.
> When i try to run rhn-bootstrap, i get
> Unable to load module rhn_bootstrap
> No module named common
>
> Any ideas?
>
> Regards,
> Anze
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100224/4b7788b9/attachment.htm>
More information about the Spacewalk-list
mailing list