Re: [Spacewalk-list] RHEL6 - Spacewalk - MREPO [SEC=UNOFFICIAL]
Hi, I had to „patch“ /usr/bin/gensystemid on my spacewalk-server to resolve this error. [root@xx ~]# 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' I added the line sys.path.insert(0, '/usr/share/mrepo/') above the line from up2date_client import config, rpcServer, up2dateErrors to make sure, gensystemid uses the rpclib from mrepo and not from the spacewalk installation. I am on Centos6 with python-2.6.6 and mrepo-0.8.8 Regards, Bernhard signature.asc Description: Message signed with OpenPGP using GPGMail ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Issue with creating kickstart distribution in spacewalk
amol pali wrote: % Hi, % Thanks for your previous response which resolved my issue. % I have one more issue. The rhnpush is pushing RPMs into the channel from % local ISO image very slow. % I think it is taking more than 4 hours to push ISO image of approximately % 4GB. Is it normal or I need to do something about it? % The rhnpush command I am using is: % % rhnpush -vv --server 127.0.0.1 -u amol -p *** --channel rhel6.5-os-only % /a/Packages/*.rpm % % I have mounted RHEL6.5 ISO Image under /a. Use spacewalk-repo-sync instead of rhnpush; it's faster. % Regards, % Amol Regards, -- Michael Mráka Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] importing config files are failed
Hello, I am using the latest version(2.2) of spacewalk.I have a problem while importing some certain files from client to spacewalk server using the import configuration tab under spacewalk. I could import the /etc/yum.conf or httpd.conf as well, but cannot import other files(example: /etc/enginx.txt ) Thus i am getting the following error after the review log transactions. Error: Fatal error in Python code occurred [[6]] Log details: Client Side: (with rhn_check) D: rpcServer: Calling XMLRPC up2date.login D: writeCachedLogin() invoked D: Wrote pickled loginInfo at 1411740455.82 with expiration of 1411744055.82 seconds. successfully retrieved authentication token from up2date server D: logininfo:{'X-RHN-Server-Id': 110070, 'X-RHN-Auth-Server-Time': '1411740455.82', 'X-RHN-Auth': 'FcuDYwtb6ExqolBbzQlV1kHDG/ZKOK2SVFx/VEpUISA=', 'X-RHN-Auth-Channels': [['centos6.5-x86_64-base', '2014092601', '1', '1'], ['centos6.5-x86_64-update', '20140926040229', '0', '1'], ['centos6.5-x86_64-extras', '20140926013000', '0', '1'], ['centos6-x86_64-epel', '20140926053000', '0', '1'], ['centos6-x86_64-example-special', '20140918114511', '0', '1'], ['centos6-x86_64-spacewalk', '20140926023000', '0', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'} D: handle_action{'action': ?xml version='1.0'?\nmethodCall\nmethodNameconfigfiles.upload/methodName\nparams\nparam\nvalueint2707/int/value\n/param\nparam\nvaluearraydata\nvaluestring/etc/enginx.txt/string/value\n/data/array/value\n/param\n/params\n/methodCall\n, 'version': 2, 'id': 2707} D: handle_action actionid = 2707, version = 2 D: do_call configfiles.upload(2707, ['/etc/enginx.txt']){'cache_only': None} XML-RPC error while talking to https://spacewalk.exampledigital.local/CONFIG-MANAGEMENT: cannot marshal None unless allow_none is enabled D: Sending back response((6,), 'Fatal error in Python code occurred', {}) Server Side: (rhn_server_xmlrpc.log) 2014/09/26 17:12:57 +03:00 62539 192.168.132.116: xmlrpc/queue.get(110179, 2, 'checkins enabled') 2014/09/26 17:12:57 +03:00 63721 192.168.132.116: xmlrpc/up2date.login(110179,) 2014/09/26 17:12:57 +03:00 62521 192.168.132.116: xmlrpc/up2date.listChannels(110179,) 2014/09/26 17:13:07 +03:00 62527 192.168.132.116: xmlrpc/registration.welcome_message('lang: None',) 2014/09/26 17:13:07 +03:00 62539 192.168.132.116: xmlrpc/registration.update_packages(110179, 'packages: 391') 2014/09/26 17:13:08 +03:00 63721 192.168.132.116: xmlrpc/registration.welcome_message('lang: None',) I don't find any solutions to fix this problem.Is there any solution ? Thanks in advance. ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] spacewalk-data-fsck issues
Hi, there's a bug in spacewalk-data-fsck causing this issue, see https://bugzilla.redhat.com/show_bug.cgi?id=1148163 Regards, Stephan On 09/27/2014 04:53 AM, Glen Collins wrote: Hello all. I'm wondering if anyone has seen this error when trying to use spacewalk-data-fsck with -r -f option. --- File checksum mismatch: /var/satellite/redhat/1/15b/libmnl-devel/1.0.2-3.el6/i686/15bc628afe96dfad57b097767a110e2ce53447ea950f30bbb46b72962ea044de/libmnl-devel-1.0.2-3.el6.i686.rpm (sha256: 15bc628afe96dfad57b097767a110e2ce53447ea950f30bbb46b72962ea044de vs. None) File checksum mismatch: /var/satellite/redhat/1/cab/gsm-devel/1.0.13-4.el6/i686/cab7f1795c904bfd0c8d60994e53949b860ba549ffc9c70128e419f6088f91ae/gsm-devel-1.0.13-4.el6.i686.rpm (sha256: cab7f1795c904bfd0c8d60994e53949b860ba549ffc9c70128e419f6088f91ae vs. None) File checksum mismatch: /var/satellite/redhat/1/eb1/gsl-static/1.13-1.el6/x86_64/eb1106271c68af51c7d1cd093a044e8536fe4865e3cbe0f9a749f13379973902/gsl-static-1.13-1.el6.x86_64.rpm (sha256: eb1106271c68af51c7d1cd093a044e8536fe4865e3cbe0f9a749f13379973902 vs. None) File checksum mismatch: /var/satellite/redhat/1/f77/kde-l10n-Hindi/4.3.4-5.el6/noarch/f776d3629c736863a58d264a10327499248c545ba783faef672bb749cfd81b29/kde-l10n-Hindi-4.3.4-5.el6.noarch.rpm (sha256: f776d3629c736863a58d264a10327499248c545ba783faef672bb749cfd81b29 vs. None) File checksum mismatch: /var/satellite/redhat/1/9c8/eggdbus/0.6-3.el6/i686/9c8670ba884c12ae4264f4a76d7eb3902c6b44a8e08e83882d7e8a1b4f8b67d2/eggdbus-0.6-3.el6.i686.rpm (sha256: 9c8670ba884c12ae4264f4a76d7eb3902c6b44a8e08e83882d7e8a1b4f8b67d2 vs. None) File checksum mismatch: /var/satellite/redhat/1/38b/libgsf/1.14.15-5.el6/i686/38b38f4902812ee4e859400dcc88cd2fa4e202043b1f1a15a0c7f8d60816201f/libgsf-1.14.15-5.el6.i686.rpm (sha256: 38b38f4902812ee4e859400dcc88cd2fa4e202043b1f1a15a0c7f8d60816201f vs. None) File checksum mismatch: /var/satellite/redhat/1/c45/autocorr-it/1:4.0.4.2-9.0.1.el6/noarch/c4578d3d68ddff335803f4712801a1fda8593dbef2677e325da9f6565f5e8a76/autocorr-it-4.0.4.2-9.0.1.el6.noarch.rpm (sha256: c4578d3d68ddff335803f4712801a1fda8593dbef2677e325da9f6565f5e8a76 vs. None) File checksum mismatch: /var/satellite/redhat/1/e73/boost-filesystem/1.41.0-18.el6/x86_64/e7320ac2e171c0f55504921bab196b44846b97310984a54138af71c7460e40c7/boost-filesystem-1.41.0-18.el6.x86_64.rpm (sha256: e7320ac2e171c0f55504921bab196b44846b97310984a54138af71c7460e40c7 vs. None) File checksum mismatch: /var/satellite/redhat/1/00e/kdepim3-devel/3.5.10-3.el6/x86_64/00e712b1f6157aa3159b88c5217164f1dad356e44f8847efa8d996efb2c0c351/kdepim3-devel-3.5.10-3.el6.x86_64.rpm (sha256: 00e712b1f6157aa3159b88c5217164f1dad356e44f8847efa8d996efb2c0c351 vs. None) File checksum mismatch: /var/satellite/redhat/1/192/openjpeg-libs/1.3-10.el6_5/i686/192fd0dec25bfe3e3a22271e0bc0ed685188be62d42fcd6e1ad8a5fb81a2735e/openjpeg-libs-1.3-10.el6_5.i686.rpm (sha256: 192fd0dec25bfe3e3a22271e0bc0ed685188be62d42fcd6e1ad8a5fb81a2735e vs. None) File checksum mismatch: /var/satellite/redhat/1/83d/libwpg/0.1.3-4.1.el6/x86_64/83dedc8ed1cb06e2055562714cbc5d3c03fb7930e6799ec3353d077360c69bef/libwpg-0.1.3-4.1.el6.x86_64.rpm (sha256: 83dedc8ed1cb06e2055562714cbc5d3c03fb7930e6799ec3353d077360c69bef vs. None) Seems to be every file in my repository that has this issue. Not sure if it's operator error or what. I cannot find anything that would show if this is an issue with the actual rpm's or an issue with the script. Seems my google searches come up pretty empty for this specific issue. So I'm not sure what's going on or if I have other issues I'm not aware of. I'm just trying to make sure when I delete a repository, the rpm's are deleted from the file system. Thanks! Glen Collins ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -- Stephan Dührstephan.du...@dass-it.de dass IT GmbH Phone: +49.221.3565666-90 http://www.dass-IT.deFax: +49.221.3565666-10 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500 Geschäftsführer: S. Dühr, M. Außendorf, Jörg Steffens, P. Storz ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Repositories fail to sync
Hi all, Sorry for the trouble. For the new SW release spacewalk-repo-sync was enhanced with several new features, and this issue was discovered right after the release and addressed in: Bug 1128893 - spacewalk-repo-sync does not work for channels that are children of non-custom parents https://bugzilla.redhat.com/show_bug.cgi?id=1128893 Dimi - Original Message - From: John Trump trum...@gmail.com To: spacewalk-list@redhat.com Sent: Monday, September 29, 2014 5:15:02 PM Subject: Re: [Spacewalk-list] Repositories fail to sync Actually the following command fails no matter what options I try: /usr/bin/spacewalk-repo-sync Traceback (most recent call last): File /usr/bin/spacewalk-repo-sync, line 187, in module sys.exit(abs(main() or 0)) File /usr/bin/spacewalk-repo-sync, line 107, in main l_ch_custom=reposync.getCustomChannels() File /usr/lib/python2.6/site-packages/spacewalk/satellite_tools/reposync.py, line 99, in getCustomChannels d_parents = getParentsChilds() File /usr/lib/python2.6/site-packages/spacewalk/satellite_tools/reposync.py, line 93, in getParentsChilds d_parents[parent_channel].append(row['label']) KeyError: 'rhel-x86_64-server-6' On Mon, Sep 29, 2014 at 11:07 AM, John Trump trum...@gmail.com wrote: Can't find it in git repo. Hopefully someone will view posting and have suggestions. Everything worked prior to upgrading. On Sat, Sep 27, 2014 at 4:43 AM, Alexander Innes se...@necurity.co.uk wrote: Humm that could be just because im on centos rather than RH, The git / svn should have it in :) not sure where that lives nowadays On 26 September 2014 17:31, John Trump trum...@gmail.com wrote: Where can I download the current reposync.py file? On Fri, Sep 26, 2014 at 11:16 AM, John Trump trum...@gmail.com wrote: /usr/lib/python2.6/site-packages/spacewalk/satellite_tools md5sum reposync.py b1b9cc03f214e831618f2342fa30e922 reposync.py On Fri, Sep 26, 2014 at 10:37 AM, Alexander Innes se...@necurity.co.uk wrote: Hmm, any different error messages when you do it manually? Off top of my head : Is disk space okay? / whats the md5sum o reposync, it could have not been updated (maybe :s?) 6ed54a17e9f3953054d36a02d5968b49 /usr/lib/python2.6/site-packages/spacewalk/satellite_tools/reposync.py (sorry I can't of be more help!) On 26 September 2014 15:06, John Trump trum...@gmail.com wrote: Yes, tried manually and it fails. On Fri, Sep 26, 2014 at 3:15 AM, Alexander Innes se...@necurity.co.uk wrote: you tried syncing it manually? $ spacewalk-repo-sync --channel centos_6.5_x64_updates On 25 September 2014 21:21, John Trump trum...@gmail.com wrote: I recently upgraded to spacewalk 2.2 from 1.8. When I try to sync custom channels I get the following: Traceback (most recent call last): File /usr/bin/spacewalk-repo-sync, line 187, in module sys.exit(abs(main() or 0)) File /usr/bin/spacewalk-repo-sync, line 107, in main l_ch_custom=reposync.getCustomChannels() File /usr/lib/python2.6/site-packages/spacewalk/satellite_tools/reposync.py, line 99, in getCustomChannels d_parents = getParentsChilds() File /usr/lib/python2.6/site-packages/spacewalk/satellite_tools/reposync.py, line 93, in getParentsChilds d_parents[parent_channel].append(row['label']) KeyError: 'rhel-x86_64-server-6' Any suggestions on how to solve this? ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -- Dimitar Yordanov System Management Quality Engineer Red Hat Satellite | Spacewalk ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] RHEL7 Errata Spacewalk 2.2
Here's the guide that I followed: http://pulp-user-guide.readthedocs.org/en/pulp-2.4/installation.html On Tue, Sep 30, 2014 at 11:07 PM, Gavin Jones gavin...@gmail.com wrote: Sorry for the annyoance Paul however I go to https://www.redhat.com/archives/spacewalk-list/ and I cannot locate a search option, I try here: https://www.redhat.com/mailman/listinfo/spacewalk-list and try the search box in the top right corner I get a 404 error. If you can find me the search option, it will make life easier. Thanks On Wed, Oct 1, 2014 at 11:30 AM, Paul Robert Marino prmari...@gmail.com wrote: Yes. I've answered this question so many times now I'm just going to say search my email addresses spacewalk and PKI. You should probably easily find your answer. -- Sent from my HP Pre3 -- On Sep 30, 2014 9:27 PM, Gavin Jones gavin...@gmail.com wrote: Hi is there a way to bring RHEL7 Errata into Spacewalk 2.2? Thanks ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] RHEL6 - Spacewalk - MREPO [SEC=UNOFFICIAL]
Here is what I did a couple of years ago when I ran into this same problem: I modified the beginning of the gensystemid code farther to find the 1st occurrence of site-packages and stick the mrepo or rhn libraries before it like so: import os, sys, getopt, getpass, urlparse, re False = 0 True = 1 def find(target,items): texp = re.compile(target) found = False i = 0 while (not(found) and i len(items)): if (texp.search(items[i])): found = True i += 1 return i i = find('.*site-packages',sys.path) print Packages at , i if os.path.exists('/usr/share/mrepo/up2date_client/'): sys.path.insert(i-1, '/usr/share/mrepo/') sys.path.insert(i, '/usr/share/mrepo/up2date_client/') #sys.path.insert(-1, '/usr/share/mrepo/rhn/') elif os.path.exists('/usr/share/rhn/up2date_client/'): sys.path.insert(i-1, '/usr/share/rhn/') sys.path.insert(i, '/usr/share/rhn/up2date_client/') else: print sys.stderr, 'rhnget: up2date libraries are not installed. Aborting execution' sys.exit(1) And from another message: If you're having trouble with gensystemid Try changing the first few lines of the code like this: if os.path.exists('/usr/share/mrepo/up2date_client/'): sys.path.insert(7, '/usr/share/mrepo/') sys.path.insert(7, '/usr/share/mrepo/up2date_client/') elif os.path.exists('/usr/share/rhn/up2date_client/'): sys.path.insert(7, '/usr/share/rhn/') sys.path.insert(7, '/usr/share/rhn/up2date_client/') This will insert the mrepo or rhn libraries ahead of the python site-packages. For some reason the site packages were promoted by several hops in the path list. A better alternative would be to actually search the list and insert the rhn or mrepo libraries just prior to the site packages. Maybe I'll have to learn enough python to pull this off. In any event, I'm now getting an intelligible error message . Error communicating with the server. The message was: Name or service not known. That is something I can investigate more directly I think. Robert From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Boyd, Robert Sent: Monday, August 06, 2012 5:52 PM To: spacewalk-list@redhat.com; Alan Pittman; 'fn...@yahoo.com' Subject: Re: [Spacewalk-list] mrepo / gensystemid errors I found one answer to my question. There is a handy tool called dumpObj that you can copy from http://code.activestate.com/recipes/137951-dump-all-the-attributes-of-an-object/ So I copied it and inserted it into gensystemid on both servers. Here is the key thing I see that is different: On the server where gensystemid fails (RHEL6.3) : __file__ /usr/lib/python2.6/site-packages/rhn/rpclib.pyc __name__ rhn.rpclib __package__ rhn __version__ $Revision$ With sys.path: ['/root', '/usr/lib64/python26.zip', '/usr/lib64/python2.6', '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6/site-packages', '/usr/lib64/python2.6/site-packages/gst-0.10', '/usr/lib64/python2.6/site-packages/gtk-2.0', '/usr/lib64/python2.6/site-packages/webkit-1.0', '/usr/lib/python2.6/site-packages', '/usr/share/mrepo/', '/usr/share/mrepo/up2date_client/', '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info'] On the RHEL 5.8 server where it works: __file__ /usr/share/mrepo/rhn/rpclib.pyc __name__ rhn.rpclib __version__ $Revision: 118741 $ sys.path: ['/root', '/usr/lib64/python24.zip', '/usr/lib64/python2.4', '/usr/lib64/python2.4/plat-linux2', '/usr/lib64/python2.4/lib-tk', '/usr/lib64/python2.4/lib-dynload', '/usr/lib64/python2.4/site-packages', '/usr/lib64/python2.4/site-packages/Numeric', '/usr/lib64/python2.4/site-packages/gtk-2.0', '/usr/share/mrepo/', '/usr/share/mrepo/up2date_client/', '/usr/lib/python2.4/site-packages'] So on the failing configuration somehow it's not finding the module which is clearly there. I checked. Is there something wrong with the new search order? I see that there are many differences in these 2 lists. Anyone have a suggestion about what needs to be changed on the RHEL 6.3/Python 2.6 configuration to get the right module found? Robert Boyd Sr. Systems Engineer PeopleFluent p. 919-645-2972 | c. 919-306-4681 e. robert.b...@peoplefluent.com Click here to experience the power of the new PeopleFluent Mirror Suite T Visit: www.peoplefluent.com | Read: PeopleFluent Blog | Follow: @PeopleFluent -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Lichtinger, Bernhard Sent: Wednesday, October 01, 2014 3:08 AM To: spacewalk-list@redhat.com Subject: Re: [Spacewalk-list] RHEL6 - Spacewalk - MREPO [SEC=UNOFFICIAL] Hi, I had to patch /usr/bin/gensystemid on my
[Spacewalk-list] What's new in 2.2.124?
Hi Spacewalk-list, I just saw 2.2.124-1.el6 show up in the yum repos. I'm currently running 2.2.123-1.el6. I can't find any release nots on this point update anywhere, do they exist? What's changed? ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] RHEL6 - Spacewalk - MREPO [SEC=UNOFFICIAL]
Hi Bernhard! Thanks so much for the FIX! While it's a hack, it's a working hack and I was able to login to RHN and see the system subscribed. Still have not sync'd yet but I got past the actual running and subscription stage. I really appreciate you stepping up and telling me your fix. I just wish the original author was still working on this rather than being a dead project. At least now it'll be able to be searched for and others will be able to fix this. My system is: RHEL 6.5 Spacewalk 2.2 I used the following rpm: mrepo-0.8.8-0.pre1.el6.rft.noarch.rpm (ftp://ftp.pbone.net/mirror/dag.wieers.com/redhat/el6/en/x86_64/testing/RPMS/mrepo-0.8.8-0.pre1.el6.rft.noarch.rpm) Here is the diff: --- gensystemid 2011-07-30 08:51:08.0 -0700 +++ /usr/bin/gensystemid2014-10-01 08:17:08.659223707 -0700 @@ -12,6 +12,8 @@ print sys.stderr, 'rhnget: up2date libraries are not installed. Aborting execution' sys.exit(1) +sys.path.insert(0, '/usr/share/mrepo/') + from up2date_client import config, rpcServer, up2dateErrors from rhn import rpclib I also too ran into an issue with the SSL certs. The up2date config, since it is running on the spacewalk server had the local spacewalk server's SSL cert. (sslCACert[comment]=The CA cert used to verify the ssl server) Once I changed the up2date config to use the original RHN cert I was able to subscribe the system. I hope there is no ramifications on the local server changing this. Thanks again! Glen Collins - Original Message - Hi, I had to „patch“ /usr/bin/gensystemid on my spacewalk-server to resolve this error. [root@xx ~]# 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' I added the line sys.path.insert(0, '/usr/share/mrepo/') above the line from up2date_client import config, rpcServer, up2dateErrors to make sure, gensystemid uses the rpclib from mrepo and not from the spacewalk installation. I am on Centos6 with python-2.6.6 and mrepo-0.8.8 Regards, Bernhard ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] What's new in 2.2.124?
Chris Swingler wrote: % Hi Spacewalk-list, % % I just saw 2.2.124-1.el6 show up in the yum repos. I'm currently running % 2.2.123-1.el6. % % I can't find any release nots on this point update anywhere, do they exist? % What's changed? $ rpm -q --changelog spacewalk-java-2.2.124-1 * Thu Sep 11 2014 Stephen Herr sh...@redhat.com 2.2.124-1 - 1140859 - html-encode tomcat log to prevent cross-site scripting Regards, -- Michael Mráka Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] Using spacewalk-create-yumrepo.py - Linking issues
Hi all. As I continue my quest for spacewalk happiness it seems the script spacewalk-create-yumrepo.py from the spacewalk-api-scripts-master package is having some issues with large repositories. I tried to replicate the Oracle Linux 6.x and while the repo has approx 20976 packages, there are only 6800 links being created. Does anyone know if there is a debug to this script? I like it and would love to send in a debug report with some useful output. It give me no errors to stdout and really don't know if it logs anyplace. Anyway, time to continue on. Regards, Glen Collins ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Issue with creating kickstart distribution in spacewalk
Hi, Thanks for the suggestion. I am trying to use reposync with below command but it is completing in a minute and not uploading any packages to the channel. spacewalk-repo-sync -c fedora20-os-only-channel --url file:///media --type yum where I have mounted Fedora20 ISO image under /media. Error I am getting as below: Downloaded package rubygem-passenger-4.0.18-2.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4061/4071 : bluebird-xfwm4-theme-0.9-1.fc20-0.noarch Downloaded package bluebird-xfwm4-theme-0.9-1.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4062/4071 : ratpoison-1.4.6-3.fc20-0.x86_64 Downloaded package ratpoison-1.4.6-3.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4063/4071 : xfce4-mailwatch-plugin-1.2.0-2.fc20-0.x86_64 Downloaded package xfce4-mailwatch-plugin-1.2.0-2.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4064/4071 : mplus-2c-fonts-056-1.fc20-0.noarch Downloaded package mplus-2c-fonts-056-1.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4065/4071 : rarian-compat-0.8.1-10.fc20-0.x86_64 Downloaded package rarian-compat-0.8.1-10.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4066/4071 : webkitgtk3-doc-2.2.2-2.fc20-0.noarch Downloaded package webkitgtk3-doc-2.2.2-2.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4067/4071 : thai-scalable-kinnari-fonts-0.5.0-7.fc20-0.noarch Downloaded package thai-scalable-kinnari-fonts-0.5.0-7.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4068/4071 : xsane-gimp-0.999-7.fc20-0.x86_64 Downloaded package xsane-gimp-0.999-7.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4069/4071 : libXfixes-devel-5.0.1-2.fc20-0.x86_64 Downloaded package libXfixes-devel-5.0.1-2.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4070/4071 : perl-Net-HTTP-6.06-4.fc20-0.noarch Downloaded package perl-Net-HTTP-6.06-4.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4071/4071 : sil-scheherazade-fonts-2.010-1.fc20-0.noarch Downloaded package sil-scheherazade-fonts-2.010-1.fc20.noarch, from fedora20-os-only-channel, but it was invalid. Linking packages to channel. Repo file:///media has comps file comps.xml. Repo file:///media has 0 errata. Sync completed. Total time: 0:00:09 I have updated Spacewalk to the latest version with Nightly build. Still same issue. On Wed, Oct 1, 2014 at 11:40 AM, Michael Mraka michael.mr...@redhat.com wrote: amol pali wrote: % Hi, % Thanks for your previous response which resolved my issue. % I have one more issue. The rhnpush is pushing RPMs into the channel from % local ISO image very slow. % I think it is taking more than 4 hours to push ISO image of approximately % 4GB. Is it normal or I need to do something about it? % The rhnpush command I am using is: % % rhnpush -vv --server 127.0.0.1 -u amol -p *** --channel rhel6.5-os-only % /a/Packages/*.rpm % % I have mounted RHEL6.5 ISO Image under /a. Use spacewalk-repo-sync instead of rhnpush; it's faster. % Regards, % Amol Regards, -- Michael Mráka Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Issue with creating kickstart distribution in spacewalk
Amol Some points to check 1. Are there in the media these files ?! For example sil-scheherazade-fonts-2.010-1.fc20-0.noarch 2. If yes and SW did the copy, could you check the md5 of boths ?! They have the same hash !? B'Regards __ Atenciosamente Waldirio msn: waldi...@gmail.com Skype: waldirio Site: www.waldirio.com.br Blog: blog.waldirio.com.br LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646 PGP: www.waldirio.com.br/public.html On Wed, Oct 1, 2014 at 4:19 PM, amol pali amolpalikonda...@gmail.com wrote: Hi, Thanks for the suggestion. I am trying to use reposync with below command but it is completing in a minute and not uploading any packages to the channel. spacewalk-repo-sync -c fedora20-os-only-channel --url file:///media --type yum where I have mounted Fedora20 ISO image under /media. Error I am getting as below: Downloaded package rubygem-passenger-4.0.18-2.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4061/4071 : bluebird-xfwm4-theme-0.9-1.fc20-0.noarch Downloaded package bluebird-xfwm4-theme-0.9-1.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4062/4071 : ratpoison-1.4.6-3.fc20-0.x86_64 Downloaded package ratpoison-1.4.6-3.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4063/4071 : xfce4-mailwatch-plugin-1.2.0-2.fc20-0.x86_64 Downloaded package xfce4-mailwatch-plugin-1.2.0-2.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4064/4071 : mplus-2c-fonts-056-1.fc20-0.noarch Downloaded package mplus-2c-fonts-056-1.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4065/4071 : rarian-compat-0.8.1-10.fc20-0.x86_64 Downloaded package rarian-compat-0.8.1-10.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4066/4071 : webkitgtk3-doc-2.2.2-2.fc20-0.noarch Downloaded package webkitgtk3-doc-2.2.2-2.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4067/4071 : thai-scalable-kinnari-fonts-0.5.0-7.fc20-0.noarch Downloaded package thai-scalable-kinnari-fonts-0.5.0-7.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4068/4071 : xsane-gimp-0.999-7.fc20-0.x86_64 Downloaded package xsane-gimp-0.999-7.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4069/4071 : libXfixes-devel-5.0.1-2.fc20-0.x86_64 Downloaded package libXfixes-devel-5.0.1-2.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4070/4071 : perl-Net-HTTP-6.06-4.fc20-0.noarch Downloaded package perl-Net-HTTP-6.06-4.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4071/4071 : sil-scheherazade-fonts-2.010-1.fc20-0.noarch Downloaded package sil-scheherazade-fonts-2.010-1.fc20.noarch, from fedora20-os-only-channel, but it was invalid. Linking packages to channel. Repo file:///media has comps file comps.xml. Repo file:///media has 0 errata. Sync completed. Total time: 0:00:09 I have updated Spacewalk to the latest version with Nightly build. Still same issue. On Wed, Oct 1, 2014 at 11:40 AM, Michael Mraka michael.mr...@redhat.com wrote: amol pali wrote: % Hi, % Thanks for your previous response which resolved my issue. % I have one more issue. The rhnpush is pushing RPMs into the channel from % local ISO image very slow. % I think it is taking more than 4 hours to push ISO image of approximately % 4GB. Is it normal or I need to do something about it? % The rhnpush command I am using is: % % rhnpush -vv --server 127.0.0.1 -u amol -p *** --channel rhel6.5-os-only % /a/Packages/*.rpm % % I have mounted RHEL6.5 ISO Image under /a. Use spacewalk-repo-sync instead of rhnpush; it's faster. % Regards, % Amol Regards, -- Michael Mráka Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] Add Custom Values though rhn-profile-sync
Hello Everyone, I can't seem to find anyone doing this so figured I'd post here. Currently, I use facter to define certain information about a machine such as the version of java used or the rack location. Ideally, I would like to be able to plug these values into the custom system info section in a programmatic way, ie. not using spacecmd or something that requires a password to insert. So I was wondering if there was a way to tell rhn-profile-sync to also add these custom values? This would be a very nice feature to roll in asset info into spacewalk. *Daniel Kasen | REDFIN | Data Center Operations engineerdaniel.ka...@redfin.com daniel.ka...@redfin.com | Tel: 206-859-2826 2025 1st Ave, Ste 500 | Seattle, WA 98121* ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Using spacewalk-create-yumrepo.py - Linking issues
Hey, On 1 Oct 2014, at 12:07 pm, Glen Collins glenc2...@comcast.net wrote: As I continue my quest for spacewalk happiness it seems the script spacewalk-create-yumrepo.py from the spacewalk-api-scripts-master package is having some issues with large repositories. Have you checked the rhn_taskomatic_daemon.log and catalina.out (for Tomcat)? I’ve noticed that they tend to throw OutOfMemory errors using the default memory limits with the big OL repos. I’ve bumped up my Java memory limit to 8GB, but then I have Spacewalk on a machine with 256GB of RAM. :) -- Oracle http://www.oracle.com Avi Miller | Product Management Director | +61 (3) 8616 3496 Oracle Linux and Virtualization 417 St Kilda Road, Melbourne, Victoria 3004 Australia ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Issue with creating kickstart distribution in spacewalk
Hi, Thanks for your response. This ISO image should be perfect as I burned it to DVD and installed the system where I m using Spacewalk(Fedora20) Still I did a check and sha256sum appears to be correct. I verified this value from the site : https://fedoraproject.org/static/checksums/Fedora-20-x86_64-CHECKSUM Output from my machine as below: [root@rhel1 OS]# sha256sum Fedora-20-x86_64-DVD.iso f2eeed5102b8890e9e6f4b9053717fe73031e699c4b76dc7028749ab66e7f917 Fedora-20-x86_64-DVD.iso Regards, Amol On Wed, Oct 1, 2014 at 8:39 PM, Waldirio Manhães Pinheiro waldi...@gmail.com wrote: Amol Some points to check 1. Are there in the media these files ?! For example sil-scheherazade-fonts-2.010-1.fc20-0.noarch 2. If yes and SW did the copy, could you check the md5 of boths ?! They have the same hash !? B'Regards __ Atenciosamente Waldirio msn: waldi...@gmail.com Skype: waldirio Site: www.waldirio.com.br Blog: blog.waldirio.com.br LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646 PGP: www.waldirio.com.br/public.html On Wed, Oct 1, 2014 at 4:19 PM, amol pali amolpalikonda...@gmail.com wrote: Hi, Thanks for the suggestion. I am trying to use reposync with below command but it is completing in a minute and not uploading any packages to the channel. spacewalk-repo-sync -c fedora20-os-only-channel --url file:///media --type yum where I have mounted Fedora20 ISO image under /media. Error I am getting as below: Downloaded package rubygem-passenger-4.0.18-2.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4061/4071 : bluebird-xfwm4-theme-0.9-1.fc20-0.noarch Downloaded package bluebird-xfwm4-theme-0.9-1.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4062/4071 : ratpoison-1.4.6-3.fc20-0.x86_64 Downloaded package ratpoison-1.4.6-3.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4063/4071 : xfce4-mailwatch-plugin-1.2.0-2.fc20-0.x86_64 Downloaded package xfce4-mailwatch-plugin-1.2.0-2.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4064/4071 : mplus-2c-fonts-056-1.fc20-0.noarch Downloaded package mplus-2c-fonts-056-1.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4065/4071 : rarian-compat-0.8.1-10.fc20-0.x86_64 Downloaded package rarian-compat-0.8.1-10.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4066/4071 : webkitgtk3-doc-2.2.2-2.fc20-0.noarch Downloaded package webkitgtk3-doc-2.2.2-2.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4067/4071 : thai-scalable-kinnari-fonts-0.5.0-7.fc20-0.noarch Downloaded package thai-scalable-kinnari-fonts-0.5.0-7.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4068/4071 : xsane-gimp-0.999-7.fc20-0.x86_64 Downloaded package xsane-gimp-0.999-7.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4069/4071 : libXfixes-devel-5.0.1-2.fc20-0.x86_64 Downloaded package libXfixes-devel-5.0.1-2.fc20.x86_64, from fedora20-os-only-channel, but it was invalid. 4070/4071 : perl-Net-HTTP-6.06-4.fc20-0.noarch Downloaded package perl-Net-HTTP-6.06-4.fc20.noarch, from fedora20-os-only-channel, but it was invalid. 4071/4071 : sil-scheherazade-fonts-2.010-1.fc20-0.noarch Downloaded package sil-scheherazade-fonts-2.010-1.fc20.noarch, from fedora20-os-only-channel, but it was invalid. Linking packages to channel. Repo file:///media has comps file comps.xml. Repo file:///media has 0 errata. Sync completed. Total time: 0:00:09 I have updated Spacewalk to the latest version with Nightly build. Still same issue. On Wed, Oct 1, 2014 at 11:40 AM, Michael Mraka michael.mr...@redhat.com wrote: amol pali wrote: % Hi, % Thanks for your previous response which resolved my issue. % I have one more issue. The rhnpush is pushing RPMs into the channel from % local ISO image very slow. % I think it is taking more than 4 hours to push ISO image of approximately % 4GB. Is it normal or I need to do something about it? % The rhnpush command I am using is: % % rhnpush -vv --server 127.0.0.1 -u amol -p *** --channel rhel6.5-os-only % /a/Packages/*.rpm % % I have mounted RHEL6.5 ISO Image under /a. Use spacewalk-repo-sync instead of rhnpush; it's faster. % Regards, % Amol Regards, -- Michael Mráka Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com
Re: [Spacewalk-list] Using spacewalk-create-yumrepo.py - Linking issues
Unfortunately I look at all the logs ad searched for the outofmemory and nothing came up. Looking at the code this is more python but maybe the api connection is failing and not returning all the rpm's in the repository. I'm just wondering what log I should be looking at for the kind of api connectivity. I did look at the rhn_web_api.log and see the request for the packages but no sort of errors. Not sure where to go from here. While I needed this repo for just the client software it would be nice to have my oracle available. Regards, Glen Collins - Original Message - Hey, On 1 Oct 2014, at 12:07 pm, Glen Collins glenc2...@comcast.net wrote: As I continue my quest for spacewalk happiness it seems the script spacewalk-create-yumrepo.py from the spacewalk-api-scripts-master package is having some issues with large repositories. Have you checked the rhn_taskomatic_daemon.log and catalina.out (for Tomcat)? I’ve noticed that they tend to throw OutOfMemory errors using the default memory limits with the big OL repos. I’ve bumped up my Java memory limit to 8GB, but then I have Spacewalk on a machine with 256GB of RAM. :) -- Oracle http://www.oracle.com Avi Miller | Product Management Director | +61 (3) 8616 3496 Oracle Linux and Virtualization 417 St Kilda Road, Melbourne, Victoria 3004 Australia ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Using spacewalk-create-yumrepo.py - Linking issues
Ah...I see it. It's not a problem with the code at all or the spacewalk services. I looked at the code a little better and the RPC call used in the script is xmlrpclib.Server.channel.software.listLatestPackages Which I assume it maybe a several months back. So it's only returning the latest packages and creating the links. I changed the code to use: xmlrpclib.Server.channel.software.listAllPackages and it looks like so far it's going to return everything in the repo as I expected. So false alarm! Thanks for the info though. Regards, Glen Collins - Original Message - Unfortunately I look at all the logs ad searched for the outofmemory and nothing came up. Looking at the code this is more python but maybe the api connection is failing and not returning all the rpm's in the repository. I'm just wondering what log I should be looking at for the kind of api connectivity. I did look at the rhn_web_api.log and see the request for the packages but no sort of errors. Not sure where to go from here. While I needed this repo for just the client software it would be nice to have my oracle available. Regards, Glen Collins - Original Message - Hey, On 1 Oct 2014, at 12:07 pm, Glen Collins glenc2...@comcast.net wrote: As I continue my quest for spacewalk happiness it seems the script spacewalk-create-yumrepo.py from the spacewalk-api-scripts-master package is having some issues with large repositories. Have you checked the rhn_taskomatic_daemon.log and catalina.out (for Tomcat)? I’ve noticed that they tend to throw OutOfMemory errors using the default memory limits with the big OL repos. I’ve bumped up my Java memory limit to 8GB, but then I have Spacewalk on a machine with 256GB of RAM. :) -- Oracle http://www.oracle.com Avi Miller | Product Management Director | +61 (3) 8616 3496 Oracle Linux and Virtualization 417 St Kilda Road, Melbourne, Victoria 3004 Australia ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Using spacewalk-create-yumrepo.py - Linking issues
On 1 Oct 2014, at 7:55 pm, Glen Collins glenc2...@comcast.net wrote: and it looks like so far it's going to return everything in the repo as I expected. Yeah, the Oracle Linux “latest” repos actually store every version of every RPM from GA release which is why there are so many RPMs in that repo. :) It also means you can install any version of an RPM with just the latest repo enabled, though. -- Oracle http://www.oracle.com Avi Miller | Product Management Director | +61 (3) 8616 3496 Oracle Linux and Virtualization 417 St Kilda Road, Melbourne, Victoria 3004 Australia ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list