[Spacewalk-list] Error connecting to spacewalk for yum udpates

Jan Pazdziora jpazdziora at redhat.com
Mon Mar 4 09:58:25 UTC 2013


On Mon, Feb 25, 2013 at 04:14:39PM -0500, Bentley, Dain wrote:
> Hello all, I followed the tutuorial (spacewalk-embded-postgres) on the wiki and sucessfully got spacewalk running.
> I have added one node and I'm haing issues getting updates to work.
> 
> After I installed the spacewalk utils and ran repo sync I've updated the repos.  Next I installed the client packages on a node and successfully registered the node and spacewalk sees it just fine.
> 
> When I run yum update I see the following error:
> Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos6-x86_64. Please verify its path and try again
> 
> Now the hostname is configured for the spacewalk server, but I see the following in /var/log/httpd/acess_log:
>  [25/Feb/2013:16:06:51 -0500] "POST /XMLRPC HTTP/1.1" 200 2403 "-" "rhn.rpclib.py/2.5.55-1.el6"
> xx.xx.xx.xx - - [25/Feb/2013:16:06:51 -0500] "GET /XMLRPC/GET-REQ/centos6-x86_64/repodata/repomd.xml HTTP/1.1" 404 - "-" "rhn.rpclib.py/2.5.55-1.el6"
> 
> Funny thing is when I log into the web interface it shows updates need to be applied to the client node so I know something is working properly.
> 
> cat rhn_server_xmlrpc.log shows the client accessing the server:
> 2013/02/25 16:06:51 -04:00 22554 xx.xx.xx.xx: xmlrpc/up2date.login(1000010000,)
> 
> 
> 
> ANd I saw this in the taskomatic log but it's from last night when I rebooted the server:
> 
> Caused by: org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Couldn't recover jobs: End time cannot be before start time [See nested exception: java.lang.IllegalArgumentException: End time cannot be before start time]]
> 

This seems to be the root of your problem -- the repodata for the
channel did not get generated because the quartz which is doing the
work god confused by some time shifts. Did something strange time-wise
happen on your machine?

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




More information about the Spacewalk-list mailing list