-------- Original Message --------
Subject: Re: [Spacewalk-list] yum not seeing updates
From: Joshua Roys <[email protected]>
To: [email protected] <[email protected]>
Date: 06/17/2010 02:37 PM
[r...@fac03 rhn]# /etc/init.d/taskomatic status
RHN Taskomatic is running (16305).
What else could be checked?
Kind regards.
Michiel
Hello,
Let's try this:
- delete the yum repodata for a channel
server# rm -rf /var/cache/rhn/repodata/$channel
- tail the taskomatic log file
server# tail -fn0 /var/log/rhn/rhn_taskomatic_daemon.log
- get taskomatic to attempt to write out the repodata again
client# yum clean all
client# yum list kernel
- wait a minute and see if any errors appear in the log
Hi Joshua,
The following is showing up in the logfiles:
on the server:
[r...@fac03 /]# tail -fn0 /var/log/rhn/rhn_taskomatic_daemon.log
INFO | jvm 1 | 2010/06/17 14:54:00 | 2010-06-17 14:54:00,053
[DefaultQuartz
Scheduler_Worker-9] ERROR
com.redhat.rhn.taskomatic.task.CobblerSyncTask - Runti
meExceptioneError trying to sync to cobbler: XmlRpcException calling
cobbler.
INFO | jvm 1 | 2010/06/17 14:54:00 | java.lang.RuntimeException:
XmlRpcExce
ption calling cobbler.
INFO | jvm 1 | 2010/06/17 14:54:00 | at
com.redhat.rhn.manager.kickst
art.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:72)
INFO | jvm 1 | 2010/06/17 14:54:00 | at
com.redhat.rhn.taskomatic.tas
k.CobblerSyncTask.execute(CobblerSyncTask.java:76)
INFO | jvm 1 | 2010/06/17 14:54:00 | at
com.redhat.rhn.taskomatic.tas
k.SingleThreadedTestableTask.execute(SingleThreadedTestableTask.java:54)
INFO | jvm 1 | 2010/06/17 14:54:00 | at
org.quartz.core.JobRunShell.r
un(JobRunShell.java:203)
INFO | jvm 1 | 2010/06/17 14:54:00 | at
org.quartz.simpl.SimpleThread
Pool$WorkerThread.run(SimpleThreadPool.java:520)
INFO | jvm 1 | 2010/06/17 14:54:00 | Caused by:
redstone.xmlrpc.XmlRpcExcep
tion: The response could not be parsed.
INFO | jvm 1 | 2010/06/17 14:54:00 | at
redstone.xmlrpc.XmlRpcClient.
handleResponse(XmlRpcClient.java:434)
INFO | jvm 1 | 2010/06/17 14:54:00 | at
redstone.xmlrpc.XmlRpcClient.
endCall(XmlRpcClient.java:376)
INFO | jvm 1 | 2010/06/17 14:54:00 | at
redstone.xmlrpc.XmlRpcClient.
invoke(XmlRpcClient.java:165)
INFO | jvm 1 | 2010/06/17 14:54:00 | at
com.redhat.rhn.manager.kickst
art.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:69)
INFO | jvm 1 | 2010/06/17 14:54:00 | ... 4 more
INFO | jvm 1 | 2010/06/17 14:54:00 | Caused by:
java.io.IOException: Server
returned HTTP response code: 503 for
URL: http://fac03.hf.info.nl:80/cobbler_ap
i
INFO | jvm 1 | 2010/06/17 14:54:00 | at
sun.net.www.protocol.http.Htt
pURLConnection.getInputStream(HttpURLConnection.java:1261)
INFO | jvm 1 | 2010/06/17 14:54:00 | at
redstone.xmlrpc.XmlRpcClient.
handleResponse(XmlRpcClient.java:420)
INFO | jvm 1 | 2010/06/17 14:54:00 | ... 7 more
INFO | jvm 1 | 2010/06/17 14:54:00 | 2010-06-17 14:54:00,054
[DefaultQuartz
Scheduler_Worker-9] ERROR
com.redhat.rhn.taskomatic.task.CobblerSyncTask - Not r
e-throwing
any more errors.
on the node:
r...@mwv07 ~]# yum list kernel
Loaded plugins: fastestmirror, rhnplugin
Config time: 0.099
Yum Version: 3.2.22
Setting up Package Sacks
Loading mirror speeds from cached hostfile
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
centos5. Please verify its path and try again
The files on the server:
[r...@fac03 centos5]# pwd
/var/cache/rhn/repodata/centos5
[r...@fac03 centos5]# ll
total 32236
-rw-r--r-- 1 root root 8272854 Jun 17 15:01 filelists.xml.gz.new
-rw-r--r-- 1 root root 23395376 Jun 17 15:01 other.xml.gz.new
-rw-r--r-- 1 root root 1292890 Jun 17 15:00 primary.xml.gz.new
Josh
Michiel
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list