[Spacewalk-list] taskomatic fails to recreate repository

Andreas Hamberger Andreas.Hamberger at 2degreesmobile.co.nz
Mon Jun 21 20:31:23 UTC 2010


Hi folks,

I am running SW 1.0. For the past month any channel with more than a certain amount of packages ( 3 channels with more than 3800 and up to 5000 packages), fail to recreate the repodata information. Any new cloned channel of those channels also fails to generate this information. This results in a yum client always complaining about a non exisiting repodata.xml. Deleting the exisiting repodata will only cause the following files to appear. Taskomatic seems to run fine.

Only these files are created. They are truncated and not finished.

rhel5-server-i386-updates# filelists.xml.gz.new  other.xml.gz.new  primary.xml.gz.new



As a test I have exported  the channel  onto disk, created a yum repo and reimported the packages into a separate channel. The export only included the latest version of each package  and this new channel now has 2300 packages and not 3813 as the other failing channel has. Oddly  enough this new channel with less packages  will have a repodata created correctly.

So it looks to me that once you hit a certain amount of packages or information in a channel (with errata) taskomatic is failing.

Help would be appreciated ...

The only error message I can see over and over every minute is:


INFO   | jvm 1    | 2010/06/22 08:10:00 | 2010-06-22 08:10:00,035 [DefaultQuartzScheduler_Worker-9] ERROR org.quartz.core.JobRunShell - Job Taskomatic Group.com.redhat.rhn.taskomatic.task.RepoSyncTask-12 threw an unhandled Exception:
INFO   | jvm 1    | 2010/06/22 08:10:00 | java.lang.IllegalArgumentException: attempt to create delete event with null entity
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at org.hibernate.event.DeleteEvent.<init>(DeleteEvent.java:24)
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:744)
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at com.redhat.rhn.domain.task.TaskFactory.removeTask(TaskFactory.java:93)
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at com.redhat.rhn.taskomatic.task.RepoSyncTask.execute(RepoSyncTask.java:69)
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
INFO   | jvm 1    | 2010/06/22 08:10:00 | 2010-06-22 08:10:00,035 [DefaultQuartzScheduler_Worker-9] ERROR org.quartz.core.ErrorLogger - Job (Taskomatic Group.com.redhat.rhn.taskomatic.task.RepoSyncTask-12 threw an exception.
INFO   | jvm 1    | 2010/06/22 08:10:00 | org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: attempt to create delete event with null entity]
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at org.quartz.core.JobRunShell.run(JobRunShell.java:214)
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
INFO   | jvm 1    | 2010/06/22 08:10:00 | * Nested Exception (Underlying Cause) ---------------
INFO   | jvm 1    | 2010/06/22 08:10:00 | java.lang.IllegalArgumentException: attempt to create delete event with null entity
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at org.hibernate.event.DeleteEvent.<init>(DeleteEvent.java:24)
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:744)
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at com.redhat.rhn.domain.task.TaskFactory.removeTask(TaskFactory.java:93)
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at com.redhat.rhn.taskomatic.task.RepoSyncTask.execute(RepoSyncTask.java:69)
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
INFO   | jvm 1    | 2010/06/22 08:10:00 |       at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520



Cheers

Andreas


Andreas Hamberger
Webmaster
Two Degrees Mobile Limited
==========================
(M) +64 21 284 04 35
(P)  +64 9 919 7000
www.2degreesmobile.co.nz<http://www.2degreesmobile.co.nz/>
[cid:imageb4bdad.JPG at 984c4255.ad6b448a]
Two Degrees Mobile Limited | 131 Khyber Pass Rd | Newmarket | Auckland | New Zealand |
PO Box 8355 | Symonds Street | Auckland 1150 | New Zealand | Fax +64 9 919 7001
________________________________

Disclaimer
The e-mail and any files transmitted with it are confidential and may contain privileged or copyright information. If you are not the intended recipient you must not copy, distribute, or use this e-mail or the information contained in it for any purpose other than to notify us of the error. If you have received this message in error, please notify the sender immediately, by email or phone (+64 9 919 7000) and delete this email from your system. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Two Degrees Mobile Limited. We do not guarantee that this material is free from viruses or any other defects although due care has been taken to minimize the risk








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100622/534b25a4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageb4bdad.JPG at 984c4255.ad6b448a
Type: image/jpeg
Size: 14006 bytes
Desc: imageb4bdad.JPG at 984c4255.ad6b448a
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100622/534b25a4/attachment.jpe>


More information about the Spacewalk-list mailing list