Description of problem: Repository sync scheduled tasks persist even after the channel is removed. This causes email notifications like this: <quote> Taskomatic bunch repo-sync-bunch was scheduled to run within the repo-sync-1-102 schedule. Subtask repo-sync failed. For more information check /var/lib/rhn/tasko/org1/repo-sync-bunch/repo-sync_733367_err. </quote> root@spacewalk rhn]# less /var/lib/rhn/tasko/org1/repo-sync-bunch/repo-sync_733367_err 2011-04-21 03:21:07,912 [DefaultQuartzScheduler_Worker-8] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask - No such channel with channel_id 102 2011-04-21 03:21:07,913 [DefaultQuartzScheduler_Worker-8] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask - Version-Release number of selected component (if applicable): Spacewalk v1.3 How reproducible: Steps to Reproduce: 1. Set up repository sync schedule in a given channel. 2. Delete the channel. 3. Wait for the next run of the scheduled job. 4. Check /var/log/rhn/taskomatic_daemon.log and look for an error similar to the following: INFO | jvm 1 | 2011/04/21 03:21:07 | 2011-04-21 03:21:07,912 [DefaultQuartzScheduler_Worker-8] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask - No such channel with channel_id 102 Actual results: Expected results: Additional info: Manual removing the specific row from QRTZ_CRON_TRIGGERS fixes the problem.
Aligning under space16.
I remember I fixed that already. spacewalk.git: 47043db7583f648f279929285f8a6ee8f85c470f The fix is present already in spacewalk-java-1.3.48 Closing as CURRENTRELEASE.