Well I downgraded it to that version....Same rpc error. It looks to me that rpclib.Fault has been replaced by something else. What version of Python are you using? Seems to me reading all previous posts here and elsewhere it worked using Python 2.4.x but I'm afraid if I change python I'll completely hose the system.
----- Original Message ----- If it helps, I'm using this version of rhnlib: $ rpm -qi rhnlib Name : rhnlib Relocations: (not relocatable) Version : 2.5.65 Vendor: Koji Release : 1.el6 Build Date: Wed 17 Jul 2013 12:08:06 UTC Install Date: Fri 01 Aug 2014 02:51:51 UTC Build Host: ip-10-78-131-4 Group : Development/Libraries Source RPM: rhnlib-2.5.65-1.el6.src.rpm Size : 217399 License: GPLv2 Signature : DSA/SHA1, Fri 19 Jul 2013 07:28:57 UTC, Key ID 0e646f68863a853d Packager : Koji URL : https://fedorahosted.org/spacewalk Summary : Python libraries for the Spacewalk project Description : rhnlib is a collection of python modules used by the Spacewalk (http://spacewalk.redhat.com) software. Anthony -----Original Message----- From: Glen Collins [mailto:[email protected]] Sent: Wednesday, 1 October 2014 11:13 AM To: Anthony Moore Cc: [email protected]; [email protected] Subject: Re: [Spacewalk-list] RHEL6 - Spacewalk - MREPO [SEC=UNOFFICIAL] 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@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@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 | [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Glen Collins Sent: Wednesday, 1 October 2014 4:58 AM To: [email protected] 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@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@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 [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
