[Spacewalk-list] RHEL6 - Spacewalk - MREPO [SEC=UNOFFICIAL]
Glen Collins
glenc2004 at comcast.net
Wed Oct 1 01:13:08 UTC 2014
Hi!
Well thanks for the rpm. I installed it but still have the same issue with the RPC call. I am running this on the spacewalk server itself and using the spacewalk rhn-client-tools which I believe is where the rpc include file is located in. I also found mrepo-0.8.8-15.1.noarch.rpm and installed that and it included the rpc include file. But still got the same error. I really didn't want to have to have multiple servers to be doing this all but it's looking like I may need too.
------------------------------
[root at xxxxxx ~]# gensystemid --release=6Server /var/mrepo
gensystemid: Architecture not supplied, using system architecture x86_64
RHN Username: <username>
RHN Password:
Traceback (most recent call last):
File "/usr/bin/gensystemid", line 271, in <module>
main()
File "/usr/bin/gensystemid", line 238, in main
except rpclib.Fault, f:
AttributeError: 'module' object has no attribute 'Fault'
---------------------------------------
[root at xxxxxxx ~]# yum whatprovides /usr/lib/python2.6/site-packages/rhn/rpclib.py
Loaded plugins: product-id, security
rhnlib-2.5.22-10.el6.noarch : Python libraries for the RHN project
Repo : relay-rehl6
Matched from:
Filename : /usr/lib/python2.6/site-packages/rhn/rpclib.py
rhnlib-2.5.22-12.el6.noarch : Python libraries for the RHN project
Repo : relay-rehl6
Matched from:
Filename : /usr/lib/python2.6/site-packages/rhn/rpclib.py
rhnlib-2.5.22-9.el6.noarch : Python libraries for the RHN project
Repo : relay-rehl6
Matched from:
Filename : /usr/lib/python2.6/site-packages/rhn/rpclib.py
rhnlib-2.5.22-15.el6.noarch : Python libraries for the RHN project
Repo : relay-rehl6
Matched from:
Filename : /usr/lib/python2.6/site-packages/rhn/rpclib.py
rhnlib-2.5.72-1.el6.noarch : Python libraries for the Spacewalk project
Repo : installed
Matched from:
Other : Provides-match: /usr/lib/python2.6/site-packages/rhn/rpclib.py
So if anyone else has a bright ideas I'm all ears. I just don't want to destroy all the work on done on SW itself.
Thanks!
Glen Collins
----- Original Message -----
Hi,
I've had success with this patched version:
http://ajm.hm/tmp/mrepo-0.8.7-7.bom.el6.noarch.rpm
(SPRM http://ajm.hm/tmp/mrepo-0.8.7-7.bom.el6.src.rpm )
Regards,
Anthony Moore | Systems Administrator
Bureau of Meteorology
GPO Box 1289 Melbourne VIC 3001
700 Collins Street, Docklands VIC 3008
Tel: +61 3 9616 8441 | anthony.moore at bom.gov.au
-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Glen Collins
Sent: Wednesday, 1 October 2014 4:58 AM
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] RHEL6 - Spacewalk - MREPO
Hello all.
I'm running into an issue of using mrepo so I can sync repos' If I install mrepo 0.8.7-2.el6 from from the EPEL I get issues running gensystemid:
[root at xxxxxxx mrepo-master]# gensystemid -u rhnuser -p rhnpassword -r 6Server /var/mrepo/rhel6s-x86_64/
/usr/share/mrepo/up2date_client/up2dateUtils.py:16: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
gensystemid: Architecture not supplied, using system architecture x86_64
gensystemid: Release name 6Server is not a known RHN release.
[root at xxxxxx mrepo-master]# gensystemid -u rhnuser -p rhnpassword -r 5Server /var/mrepo/rhel6s-x86_64/
/usr/share/mrepo/up2date_client/up2dateUtils.py:16: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
gensystemid: Architecture not supplied, using system architecture x86_64
Traceback (most recent call last):
File "/usr/bin/gensystemid", line 270, in <module>
main()
File "/usr/bin/gensystemid", line 237, in main
except rpclib.Fault, f:
AttributeError: 'module' object has no attribute 'Fault'
So does anyone know if there is a good update to mrepo for RHEL6? I have also tried the GIT version of MREPO and the version from another source using mrepo-0.8.8-0.pre1.el6.rft.noarch.rpm and installing rhpl-0.221-2.el6.rf.x86_64.rpm. Still no luck any way. I know this is an issue with Redhat removing support for RHPL and changes to the underlying infrastructure in RHEL6. So if anyone has found a solution to using mrepo with RHEL 6.5, can you please post links or whatever you may have?
Thanks!
Glen Collins
_______________________________________________
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