[Spacewalk-list] Automatic repo sync issue

Dimitri Yioulos dyioulos at netatlantic.com
Thu May 17 13:45:38 UTC 2018


Hello, all.

Since updating to version 2.7, then 2.8, I seem to be having a problem with the automatic repo sync schedule that I set up via the UI.  (The schedules were originally set up over three years ago when I was running and earlier version, which I don't recall).  Here are the email notifications I get:

Taskomatic bunch repo-sync-bunch was scheduled to run within the repo-sync-1-130 schedule.
Subtask repo-sync failed.
For more information check /var/log/rhn/tasko/org1/repo-sync-bunch/repo-sync_9712744_err.

This is for the first repo to be sync'd beginning at 1:00AM.  I get the notification at about 2:05AM.  Then, at about 4:50AM, I get this:

Taskomatic bunch repo-sync-bunch was scheduled to run within the repo-sync-1-128 schedule.
Subtask repo-sync finished successfuly and is back to normal.

This is for the second repo to be sync'd.  Here's what the schedule looks like:

130     epel7-x86_64                                0 0 1 ? * 5
128     centos7-base-x86_64                         0 0 4 ? * 5
129     centos7-updates-x86_64                      0 0 7 ? * 5
131     puppet-el7-x86_64                          0 0 10 ? * 5
133     spacewalk-client-el7-x86_64                0 0 11 ? * 5

Finally, here's what appears in /var/log/rhn/tasko/org1/repo-sync-bunch/repo-sync_9712744_err:

2018-05-17 02:05:33,621 [Thread-48314] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - 02:05:32 ERROR: Invalid severity: None
2018-05-17 02:05:34,196 [DefaultQuartzScheduler_Worker-2] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Executing a task threw an exception: org.quartz.JobExecutionException
2018-05-17 02:05:34,196 [DefaultQuartzScheduler_Worker-2] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Message: Command '[/usr/bin/spacewalk-repo-sync, --channel, epel7-x86_64, --type, yum]' exited with error code 1
2018-05-17 02:05:34,198 [DefaultQuartzScheduler_Worker-2] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Cause: null
2018-05-17 02:05:34,225 [DefaultQuartzScheduler_Worker-2] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Stack trace:org.quartz.JobExecutionException: Command '[/usr/bin/spacewalk-repo-sync, --channel, epel7-x86_64, --type, yum]' exited with error code 1
        at com.redhat.rhn.taskomatic.task.RhnJavaJob.executeExtCmd(RhnJavaJob.java:103)
        at com.redhat.rhn.taskomatic.task.RepoSyncTask.execute(RepoSyncTask.java:70)
        at com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:88)
        at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:186)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

I'm not even sure if my repos are actually being updated.

Updating via the CLI (e.g. /usr/bin/spacewalk-repo-sync --channel epel7-x86_64 --type yum) works fine.

Can anyone help me resolve this?

With thanks,

Dimitri

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180517/47c5d659/attachment.htm>


More information about the Spacewalk-list mailing list