[Spacewalk-list] gensystemid error RHEL 6

Jan Pazdziora jpazdziora at redhat.com
Mon Jan 30 11:11:51 UTC 2012


On Thu, Jan 12, 2012 at 09:58:49AM -0500, RBogle at williams-int.com wrote:
> I am attempting to configure mrepo to allow me to put all my repo's on
> the spacewalk server; however I cannot work past the following error
> with gensystemid.  Has anyone encountered this issue before?
> 
>  
> 
> *	I am using the latest mrepo from
> https://github.com/dagwieers/mrepo
> 
>  
> 
> I am missing something simple and can't place it. Any help or
> suggestions would be greatly appreciated.
> 
> gensystemid -r 5Server -a x86_64 /local/repo/rhel5-server-x86_64
> Traceback (most recent call last):
> File "/usr/bin/gensystemid", line 15, in <module>
> from up2date_client import config, rpcServer, up2dateErrors
> File "/usr/share/mrepo/up2date_client/rpcServer.py", line 18, in
> <module>
> import up2dateAuth
> File "/usr/share/mrepo/up2date_client/up2dateAuth.py", line 17, in
> <module>
> from rhn import rpclib
> File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 20, in
> <module>
> import transports
> File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 22, in
> <module>
> import connections
> File "/usr/lib/python2.6/site-packages/rhn/connections.py", line 18, in
> <module>
> from platform import python_version
> ImportError: cannot import name python_version

This is a clash between the platform.py modules in stock python and
the one distributed by rhn-client-tools since Spacewalk 1.6.

We've fixed it in Spacewalk nightly
(e792f5b8fdb2d3b52e24ada22f5f0e7727a73860) and you should be able to
get the new rhn-client-tools from the nightly yum repository.

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list