Well my German is a little rusty but that looks like you hit a unique constraint error. You may have corruption in your database the first thing I might try is spacewalk_data_fsck (note I may not have the correct spelling on the name) and see if there are any database issues. 
Also what version of Spacewalk are you using?
To know if there is a known issue we really need to know the version of Spacewalk.
Assuming there is no corruption detected by the command above or known issues with the SuSE repos, then I would pick a test channel and delete all of the errata in the channel and try a resync


Sent from my BlackBerry - the most secure mobile device
Sent: September 27, 2017 9:34 AM
Subject: [Spacewalk-list] Importing errata from RPM channel failes with ERROR: 'list' object has no attribute 'keys'

Further information. With a SLES12 channel, the message is slightly different

 

14:56:26 Repo http://server/repo/SUSE/Updates/SLE-SDK/12-SP1/x86_64/update/ has 507 errata.

14:56:33 Syncing 507 new errata to channel.

14:56:36 Sync of channel completed in 0:15:36.

14:56:36 Total time: 0:15:36

 

2017-09-27 14:56:36,616 [Thread-590] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - 14:56:36 ERROR: FEHLER:  doppelter Schlüsselwert verletzt Unique-Constraint »rhn_errata_adv_org_uq«

 

 

2017-09-27 14:56:36,731 [DefaultQuartzScheduler_Worker-9] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Executing a task threw an exception: org.quartz.JobExecutionException

2017-09-27 14:56:36,732 [DefaultQuartzScheduler_Worker-9] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Message: Command '[/usr/bin/spacewalk-repo-sync, --channel, sles12-sp1-sdk-updates, --type, yum]' exited with error code 1

2017-09-27 14:56:36,732 [DefaultQuartzScheduler_Worker-9] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Cause: null

2017-09-27 14:56:36,732 [DefaultQuartzScheduler_Worker-9] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Stack trace:org.quartz.JobExecutionException: Command '[/usr/bin/spacewalk-repo-sync, --channel, sles12-sp1-sdk-updates, --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)

 

 

Mit freundlichen Grüßen

 

Robert Paschedag

Netlution GmbH

Landteilstr. 33

68163 Mannheim

 

im Auftrag des

SWR

Südwestrundfunk

HA IT, Medientechnik und Programmverbreitung

Neckarstraße 230

70190 Stuttgart

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to