[Spacewalk-list] Importing errata from RPM channel failes with ERROR: 'list' object has no attribute 'keys'

Paschedag, Robert paschedag.netlution at swr.de
Wed Sep 27 12:50:22 UTC 2017


Hi all,

just upgraded my test SW server to 2.7 and noticed an error when trying to sync SUSE repos. The import of erratas seems to fail.

This system has been set up to 2.7 nightly before and to be honest, I did not yet check the repo synchronization while I was on nightly.

Here is an error

14:21:11 Sync of channel started.
14:21:11 Repo URL: https://user:pass@nu.novell.com/repo/$RCE/SLE11-SDK-SP1-Updates/sle-11-x86_64/
14:21:14 Packages in repo:              3281
14:22:00 No new packages to sync.
14:22:01 Repo https://user:pass@nu.novell.com/repo/$RCE/SLE11-SDK-SP1-Updates/sle-11-x86_64/ has 527 errata.
14:22:09 Syncing 527 new errata to channel.
14:22:31 Sync of channel completed in 0:01:19.
14:22:31 Total time: 0:01:19

2017-09-27 14:22:31,504 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Executing a task threw an exception: org.quartz.JobExecutionException
2017-09-27 14:22:31,507 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Message: Command '[/usr/bin/spacewalk-repo-sync, --channel, sle11-sdk-sp1-updates-x86_64, --type, yum]' exited with error code 1
2017-09-27 14:22:31,507 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Cause: null
2017-09-27 14:22:31,507 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Stack trace:org.quartz.JobExecutionException: Command '[/usr/bin/spacewalk-repo-sync, --channel, sle11-sdk-sp1-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)


2017-09-27 04:05:22,258 [Thread-643150] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - 04:05:22 ERROR: 'list' object has no attribute 'keys'

2017-09-27 04:05:22,261 [DefaultQuartzScheduler_Worker-6] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Executing a task threw an exception: org.quartz.JobExecutionException
2017-09-27 04:05:22,261 [DefaultQuartzScheduler_Worker-6] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Message: Command '[/usr/bin/spacewalk-repo-sync, --channel, sle11-sdk-sp1-updates-x86_64, --type, yum]' exited with error code 1
2017-09-27 04:05:22,261 [DefaultQuartzScheduler_Worker-6] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Cause: null
2017-09-27 04:05:22,261 [DefaultQuartzScheduler_Worker-6] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Stack trace:org.quartz.JobExecutionException: Command '[/usr/bin/spacewalk-repo-sync, --channel, sle11-sdk-sp1-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)

This is just an example repo but seems to happen on all my RPM repos I sync.

When disabling synchronization of errata, all seems good.

Anybody else seeing this?



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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170927/5bd12c75/attachment.htm>


More information about the Spacewalk-list mailing list