[Spacewalk-list] Problems syncing EPEL repositories

Paschedag, Robert paschedag.netlution at swr.de
Tue May 8 09:21:17 UTC 2018


Hmm...I'm not sure if SW is directly to blame here.

I think the error lies within the "yum" package which provides the python libraries to parse the "updateinfo" XMLs

On my SW 2.7 system on CentOS 9, this is

yum-3.2.29-81.el6.centos.noarch
...
/usr/lib/python2.6/site-packages/yum/update_md.py

But I do not have Centos 7.5 somewhere, so I cannot test it.

Syncing the EPEL 7 repo on my testsystem (as said, with v 2.7 on CentOS 9) works without a problem.

...
2018/05/08 10:37:22 +02:00 2281/2295 : zabbix22-server-pgsql-2.2.21-1.el7.x86_64.rpm
2018/05/08 10:37:22 +02:00 2282/2295 : zabbix22-web-mysql-2.2.21-1.el7.noarch.rpm
2018/05/08 10:37:22 +02:00 2283/2295 : zabbix22-web-pgsql-2.2.21-1.el7.noarch.rpm
2018/05/08 10:37:22 +02:00 2284/2295 : zabbix22-web-2.2.21-1.el7.noarch.rpm
2018/05/08 10:37:22 +02:00 2285/2295 : zerofree-1.1.1-1.el7.x86_64.rpm
2018/05/08 10:37:22 +02:00 2286/2295 : zile-2.4.14-1.el7.x86_64.rpm
2018/05/08 10:37:22 +02:00 2287/2295 : znc-devel-1.6.6-1.el7.x86_64.rpm
2018/05/08 10:37:23 +02:00 2288/2295 : znc-1.6.6-1.el7.x86_64.rpm
2018/05/08 10:37:23 +02:00 2289/2295 : znc-modperl-1.6.6-1.el7.x86_64.rpm
2018/05/08 10:37:23 +02:00 2290/2295 : znc-modpython-1.6.6-1.el7.x86_64.rpm
2018/05/08 10:37:23 +02:00 2291/2295 : znc-modtcl-1.6.6-1.el7.x86_64.rpm
2018/05/08 10:37:23 +02:00 2292/2295 : zstd-1.3.4-1.el7.x86_64.rpm
2018/05/08 10:38:53 +02:00 2293/2295 : rust-1.25.0-1.el7.x86_64.rpm
2018/05/08 10:38:57 +02:00 2294/2295 : root-core-6.12.06-1.el7.x86_64.rpm
2018/05/08 10:56:45 +02:00 2295/2295 : root-doc-6.12.06-1.el7.noarch.rpm
2018/05/08 10:56:46 +02:00 Importing packages started.
2018/05/08 11:16:09 +02:00 Importing packages finished.
2018/05/08 11:16:09 +02:00 Linking packages to channel.
2018/05/08 11:16:20 +02:00 Repo https://dl.fedoraproject.org/pub/epel/7/x86_64/ has comps file f2f5ddd4101a588a7c6eb60e20c45756b87e8123994fe1b3f0116a57ef74ce89-comps-Everything.x86_64.xml.gz.
2018/05/08 11:16:25 +02:00 Repo https://dl.fedoraproject.org/pub/epel/7/x86_64/ has 4247 errata.
2018/05/08 11:18:34 +02:00 Syncing 4241 new errata to channel.
2018/05/08 11:18:56 +02:00 Sync of channel completed in 0:58:53.

Robert



-----Ursprüngliche Nachricht-----
Von: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> Im Auftrag von Ree, Jan-Albert van
Gesendet: Dienstag, 8. Mai 2018 08:50
An: spacewalk-list at redhat.com
Betreff: [Spacewalk-list] Problems syncing EPEL repositories

Good morning,

Over the last few days I've experienced issues syncing from the EPEL repositories :

- Spacewalk 2.8 server, running Scientific Linux 7.5
- The problem only occurs on the EPEL repositories, I can sync all other repositories fine
- It hapens both for EPEL for RHEL6 and EPEL for RHEL7
- I've changed mirror URL's to exclude problems with a single mirror

I get the following error on the EPEL syncs :

2018-05-08 08:45:33,363 [Thread-52] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - 08:45:32 ERROR: Invalid severity: None

2018-05-08 08:45:33,364 [DefaultQuartzScheduler_Worker-1] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Executing a task threw an exception: org.quartz.JobExecutionException
2018-05-08 08:45:33,364 [DefaultQuartzScheduler_Worker-1] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Message: Command '[/usr/bin/spacewalk-repo-sync, --channel, epelv7, --type, yum]' exited with error code 1
2018-05-08 08:45:33,364 [DefaultQuartzScheduler_Worker-1] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Cause: null
2018-05-08 08:45:33,365 [DefaultQuartzScheduler_Worker-1] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask  - Stack trace:org.quartz.JobExecutionException: Command '[/usr/bin/spacewalk-repo-sync, --channel, epelv7, --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)

The sync log shows

2018/05/08 08:44:31 +02:00 Command: ['/usr/bin/spacewalk-repo-sync', '--channel', 'epelv7', '--type', 'yum']
2018/05/08 08:44:31 +02:00 Sync of channel started.
2018/05/08 08:44:31 +02:00
2018/05/08 08:44:31 +02:00   Processing repository with URL: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmirror.infonline.de%2Fepel%2F7%2Fx86_64%2F&data=02%7C01%7CPaschedag.Netlution%40swr.de%7C79396a4dfac142460bb708d5b4b01472%7Cbcca095d88d442f88260cc216b81f62d%7C0%7C1%7C636613590734178881&sdata=o9W5ui6Je74AeC%2BsTkFheqvMSyrs3J%2FZtPOoEajibuc%3D&reserved=0
2018/05/08 08:44:34 +02:00
2018/05/08 08:44:34 +02:00   Importing comps file comps.xml.
2018/05/08 08:44:58 +02:00     Packages in repo:             12530
2018/05/08 08:44:58 +02:00     Packages passed filter rules: 12309
2018/05/08 08:45:28 +02:00     No new packages to sync.
2018/05/08 08:45:29 +02:00
2018/05/08 08:45:29 +02:00   Errata in repo: 4247.
2018/05/08 08:45:32 +02:00     Syncing 55 new errata to channel.
2018/05/08 08:45:32 +02:00 ERROR: Invalid severity: None
2018/05/08 08:45:32 +02:00 ERROR: Invalid severity: None
2018/05/08 08:45:33 +02:00 Sync of channel completed in 0:01:01.

Am I correct in assuming this is due to a bad package in EPEL ?
Regards,
--
Jan-Albert van Ree



Jan-Albert van Ree  | Linux System Administrator | MARIN Support Group MARIN | T +31 317 49 35 48 | mailto:J.A.v.Ree at marin.nl | https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.marin.nl&data=02%7C01%7CPaschedag.Netlution%40swr.de%7C79396a4dfac142460bb708d5b4b01472%7Cbcca095d88d442f88260cc216b81f62d%7C0%7C1%7C636613590734178881&sdata=FUONowZHZxJi7I9JeSwkCmcBL%2FTzIxQbR9WKUoyS0aY%3D&reserved=0

MARIN news: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.marin.nl%2Fweb%2FNews%2FNews-items%2FCRS-meets-in-Wageningen-November-27December-1.htm&data=02%7C01%7CPaschedag.Netlution%40swr.de%7C79396a4dfac142460bb708d5b4b01472%7Cbcca095d88d442f88260cc216b81f62d%7C0%7C1%7C636613590734178881&sdata=kNwjkJtup0xclm8C9wIwSZmhSO24RSNUootUViw%2Bdxo%3D&reserved=0


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=02%7C01%7CPaschedag.Netlution%40swr.de%7C79396a4dfac142460bb708d5b4b01472%7Cbcca095d88d442f88260cc216b81f62d%7C0%7C1%7C636613590734178881&sdata=aAL1hX3dfIWEeviOVlOykwLQ3lfQrZLAbQwXiurrCFI%3D&reserved=0




More information about the Spacewalk-list mailing list