Okay, now this is weird... >From the client side, I do 'yum update' and it sees the 'centos-5.3-32' channel clearly and can update from it.
However via rhn_check, it bugs out and spits out the errors below. -- Michael -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Worsham, Michael Sent: Wednesday, April 08, 2009 2:53 PM To: [email protected] Subject: RE: [Spacewalk-list] Non-provisioned server registering with spacewalk Logged into the client server and did this: 'rhn_check -vv' And received the following message... D: login(forceUpdate=True) invoked logging into up2date server D: writeCachedLogin() invoked D: Wrote pickled loginInfo at 1239216197.55 with expiration of 1239219797.55 seconds. successfully retrieved authentication token from up2date server D: logininfo: {'X-RHN-Server-Id': 1000010003, 'X-RHN-Auth-Server-Time': '1239200894.52', 'X-RHN-Auth': '7nmFqoeE06wAmkQ6VR/N7Q==', 'X-RHN-Auth-Channels': [['centos-5.3-32', '20090408061226', '1', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0 D: Sending back response (6, 'Invalid function call attempted', {}) D: do_call packages.checkNeedUpdate ('rhnsd=1',) D: Attempt to call an unsupported action packages.checkNeedUpdate ('rhnsd=1',) D: local action status: (6, 'Invalid function call attempted', {}) --- However, after I did little bit of research, I stumbled upon this article: http://markmail.org/message/e7suqolcfnp336dd?q=%22Invalid+function+call+ attempted%22&page=2 So I did a 'yum install yum-rhn-plugin' and tried again. Now I am getting the following message to appear... [Wed Apr 8 14:47:55 2009] up2date D: writeCachedLogin() invoked [Wed Apr 8 14:47:55 2009] up2date D: Wrote pickled loginInfo at 1239216475.84 with expiration of 1239220075.84 seconds. [Wed Apr 8 14:47:55 2009] up2date successfully retrieved authentication token from up2date server [Wed Apr 8 14:47:55 2009] up2date D: logininfo: {'X-RHN-Server-Id': 1000010003, 'X-RHN-Auth-Server-Time': '1239201172.75', 'X-RHN-A uth': '+FgIVsOmK37LZnFs0EF1lA==', 'X-RHN-Auth-Channels': [['centos-5.3-32', '20090408061226', '1', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'} [Wed Apr 8 14:48:56 2009] up2date Traceback (most recent call last): File "/usr/sbin/rhn_check", line 273, in __run_action (status, message, data) = CheckCli.__do_call(method, params) File "/usr/sbin/rhn_check", line 266, in __do_call retval = method(*params) File "/usr/share/rhn/actions/packages.py", line 246, in update return runTransaction(transaction_data) File "/usr/share/rhn/actions/packages.py", line 279, in runTransaction return _run_yum_action(command) File "/usr/share/rhn/actions/packages.py", line 301, in _run_yum_action yum_base = YumAction() File "/usr/share/rhn/actions/packages.py", line 53, in __init__ self.doTsSetup() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 72, in doTsSetup return self._getTs() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 85, in _getTs self._getTsInfo() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 91, in _getTsInfo self._tsInfo.setDatabases(self.rpmdb, self.pkgSack) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 537, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 392, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.4/site-packages/yum/repos.py", line 242, in populateSack sack.populate(repo, mdtype, callback, cacheonly) File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 143, in populate if self._check_db_version(repo, mydbtype): File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 200, in _check_db_version if repo.repoXML.repoData.has_key(mdtype): File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 781, in <lambda> repoXML = property(fget=lambda self: self._getRepoXML(), File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 777, in _getRepoXML raise Errors.RepoError, msg yum.Errors.RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: centos-5.3-32. Please verify its path and try again [Wed Apr 8 14:48:56 2009] up2date D: Sending back response ((6,), 'Fatal error in Python code occured', {}) [Wed Apr 8 14:48:57 2009] up2date D: do_call packages.checkNeedUpdate ('rhnsd=1',) [Wed Apr 8 14:48:57 2009] up2date D: Called refresh_rpmlist [Wed Apr 8 14:48:57 2009] up2date Updating package profile [Wed Apr 8 14:49:00 2009] up2date D: local action status: (0, 'rpmlist refreshed', {}) I followed the instructions for the rhnpush as per https://fedorahosted.org/spacewalk/wiki/UploadFedoraContent -- Michael _______________________________________________ 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
