Hello, all.

After some struggle, I upgraded our Spacewalk instance from version 2.6 to 2.7, 
then to 2.8.  I've cleared up most of the issues I encountered, but can't 
figure out how to remediate this one.  This is the notification I get after 
updating my channels/repos:

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

Here's output from 
/var/log/rhn/tasko/org1/repo-sync-bunch/repo-sync_9557141_err:

2018-04-27 08:05:31,344 [Thread-7852] ERROR 
com.redhat.rhn.taskomatic.task.RepoSyncTask  - Repository 
group_spacewalkproject-java-packages is listed more than once in the 
configuration
Repository group_spacewalkproject-epel6-addons is listed more than once in the 
configuration
08:05:11 ERROR: Could not find object 
[<spacewalk.server.importlib.importLib.IncompletePackage instance; 
attributes={'package_size': None, 'package_arch_id': 119, 'name': 
'389-ds-base', 'checksum_list': None, 'md5sum': None, 'org_id': 1, 'epoch': 
None, 'checksums': {'sha256': 
'46e41f2c29fc9f4385b09d81d29c6643f6f3a4024312f0cf24b0328722c3cad1'}, 
'channels': {122: 'centos6-updates-x86_64'}, 'nevra_id': 120830, 'package_id': 
None, 'last_modified': None, 'name_id': 6584, 'version': '1.2.11.15', 
'checksum': '46e41f2c29fc9f4385b09d81d29c6643f6f3a4024312f0cf24b0328722c3cad1', 
'release': '91.el6_9', 'checksum_type': 'sha256', 'arch': 'x86_64', 'evr_id': 
27711, 'checksum_id': 8172573}] in table rhnPackage

2018-04-27 08:05:31,638 [DefaultQuartzScheduler_Worker-1] ERROR 
com.redhat.rhn.taskomatic.task.RepoSyncTask  - Executing a task threw an 
exception: org.quartz.JobExecutionException
2018-04-27 08:05:31,639 [DefaultQuartzScheduler_Worker-1] ERROR 
com.redhat.rhn.taskomatic.task.RepoSyncTask  - Message: Command 
'[/usr/bin/spacewalk-repo-sync, --channel, centos6-updates-x86_64, --type, 
yum]' exited with error code 1
2018-04-27 08:05:31,639 [DefaultQuartzScheduler_Worker-1] ERROR 
com.redhat.rhn.taskomatic.task.RepoSyncTask  - Cause: null
2018-04-27 08:05:31,670 [DefaultQuartzScheduler_Worker-1] ERROR 
com.redhat.rhn.taskomatic.task.RepoSyncTask  - Stack 
trace:org.quartz.JobExecutionException: Command '[/usr/bin/spacewalk-repo-sync, 
--channel, centos6-updates-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 see two things here that are a problem:


1)       Repository group_spacewalkproject-java-packages is listed more than 
once in the configuration
                Repository group_spacewalkproject-epel6-addons is listed more 
than once in the configuration

                I can't figure out where the duplicates live, and how to remove 
them.


2)       Command '[/usr/bin/spacewalk-repo-sync, --channel, 
centos6-updates-x86_64, --type, yum]' exited with error code 1

                If I run the repo-sync manually, it doesn't fail.

Help would be greatly appreciated.


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to