Hello,

you can either apply mentioned patch or update to spacewalk-backend-2.8.60-1, which is now available in spacewalk-2.8 repositories.

Regards,
Jiri

Dne 17.5.2018 v 21:35 Dimitri Yioulos napsal(a):
Robert,

Thanks.  I'll give it a try.

Dimitri

-----Original Message-----
From: spacewalk-list-boun...@redhat.com <spacewalk-list-boun...@redhat.com> On 
Behalf Of Robert Paschedag
Sent: Thursday, May 17, 2018 3:19 PM
To: spacewalk-list@redhat.com; Ludovic SCOTTI <l.sco...@it-med.fr>; 
spacewalk-list@redhat.com
Subject: Re: [Spacewalk-list] Automatic repo sync issue

Am 17. Mai 2018 16:16:58 MESZ schrieb Ludovic SCOTTI <l.sco...@it-med.fr>:
Hi Dimitri,

I've the same issue with the same repo-sync error

INFO   | jvm 1    | 2018/05/17 15:59:51 | 2018-05-17 15:59:51,626
[DefaultQuartzScheduler_Worker-1] INFO
com.redhat.rhn.taskomatic.task.RepoSyncTask - Syncing repos for
channel: centos-epel6
INFO   | jvm 1    | 2018/05/17 16:00:36 | 2018-05-17 16:00:36,813
[Thread-52] INFO  com.redhat.rhn.taskomatic.task.RepoSyncTask -
15:59:52 ======================================
INFO   | jvm 1    | 2018/05/17 16:00:36 | 15:59:52 | Channel:
centos-epel6
INFO   | jvm 1    | 2018/05/17 16:00:36 | 15:59:52
======================================
INFO   | jvm 1    | 2018/05/17 16:00:36 | 15:59:52 Sync of channel
started.
INFO   | jvm 1    | 2018/05/17 16:00:36 | 15:59:52
INFO   | jvm 1    | 2018/05/17 16:00:36 | 15:59:52   Processing
repository with URL: http://fr2.rpmfind.net/linux/epel/6/x86_64/
INFO   | jvm 1    | 2018/05/17 16:00:36 | 15:59:54
INFO   | jvm 1    | 2018/05/17 16:00:36 | 15:59:54   Importing comps
file
55a73bffdf44e8dfdb2066488144e71e23c8a5d7f72738e8f935b2a6aa57764d-comps-Everything.x86_64.xml.gz.
INFO   | jvm 1    | 2018/05/17 16:00:36 | 15:59:55     Packages in
repo:             12505
INFO   | jvm 1    | 2018/05/17 16:00:36 | 16:00:32     No new packages
to sync.
INFO   | jvm 1    | 2018/05/17 16:00:36 | 16:00:34
INFO   | jvm 1    | 2018/05/17 16:00:36 | 16:00:34   Errata in repo:
4151.
INFO   | jvm 1    | 2018/05/17 16:00:36 | 16:00:35     Syncing 12 new
errata to channel.
INFO   | jvm 1    | 2018/05/17 16:00:36 | 16:00:36 Sync of channel
completed in 0:00:44.
INFO   | jvm 1    | 2018/05/17 16:00:36 | 16:00:36 Total time: 0:00:44
INFO   | jvm 1    | 2018/05/17 16:00:36 |
INFO   | jvm 1    | 2018/05/17 16:00:36 | 2018-05-17 16:00:36,813
[Thread-53] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask -
16:00:36 ERROR: Invalid severity: None
INFO   | jvm 1    | 2018/05/17 16:00:36 |
INFO   | jvm 1    | 2018/05/17 16:00:36 | 2018-05-17 16:00:36,838
[DefaultQuartzScheduler_Worker-1] ERROR
com.redhat.rhn.taskomatic.task.RepoSyncTask - Executing a task threw an
exception: org.quartz.JobExecutionException
INFO   | jvm 1    | 2018/05/17 16:00:36 | 2018-05-17 16:00:36,839
[DefaultQuartzScheduler_Worker-1] ERROR
com.redhat.rhn.taskomatic.task.RepoSyncTask - Message: Command
'[/usr/bin/spacewalk-repo-sync, --channel, centos-epel6, --type, yum]'
exited with error code 1
INFO   | jvm 1    | 2018/05/17 16:00:36 | 2018-05-17 16:00:36,839
[DefaultQuartzScheduler_Worker-1] ERROR
com.redhat.rhn.taskomatic.task.RepoSyncTask - Cause: null
INFO   | jvm 1    | 2018/05/17 16:00:36 | 2018-05-17 16:00:36,840
[DefaultQuartzScheduler_Worker-1] ERROR
com.redhat.rhn.taskomatic.task.RepoSyncTask - Stack
trace:org.quartz.JobExecutionException: Command
'[/usr/bin/spacewalk-repo-sync, --channel, centos-epel6, --type, yum]'
exited with error code 1
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
com.redhat.rhn.taskomatic.task.RhnJavaJob.executeExtCmd(RhnJavaJob.java:103)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
com.redhat.rhn.taskomatic.task.RepoSyncTask.execute(RepoSyncTask.java:70)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:88)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:186)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
org.quartz.core.JobRunShell.run(JobRunShell.java:216)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
INFO   | jvm 1    | 2018/05/17 16:00:36 |
^C[adm-itmed@srv38-fr1 var-cache-rhn]$ sudo tail -f
/var/log/rhn/rhn_taskomatic_daemon.log
[sudo] password for adm-itmed:
Sorry, try again.
[sudo] password for adm-itmed:
INFO   | jvm 1    | 2018/05/17 16:00:36 | 2018-05-17 16:00:36,839
[DefaultQuartzScheduler_Worker-1] ERROR
com.redhat.rhn.taskomatic.task.RepoSyncTask - Message: Command
'[/usr/bin/spacewalk-repo-sync, --channel, centos-epel6, --type, yum]'
exited with error code 1
INFO   | jvm 1    | 2018/05/17 16:00:36 | 2018-05-17 16:00:36,839
[DefaultQuartzScheduler_Worker-1] ERROR
com.redhat.rhn.taskomatic.task.RepoSyncTask - Cause: null
INFO   | jvm 1    | 2018/05/17 16:00:36 | 2018-05-17 16:00:36,840
[DefaultQuartzScheduler_Worker-1] ERROR
com.redhat.rhn.taskomatic.task.RepoSyncTask - Stack
trace:org.quartz.JobExecutionException: Command
'[/usr/bin/spacewalk-repo-sync, --channel, centos-epel6, --type, yum]'
exited with error code 1
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
com.redhat.rhn.taskomatic.task.RhnJavaJob.executeExtCmd(RhnJavaJob.java:103)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
com.redhat.rhn.taskomatic.task.RepoSyncTask.execute(RepoSyncTask.java:70)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:88)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:186)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
org.quartz.core.JobRunShell.run(JobRunShell.java:216)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
INFO   | jvm 1    | 2018/05/17 16:00:36 |
^C[adm-itmed@srv38-fr1 var-cache-rhn]$ sudo tail
/var/log/rhn/rhn_taskomatic_daemon.log
INFO   | jvm 1    | 2018/05/17 16:00:36 | 2018-05-17 16:00:36,839
[DefaultQuartzScheduler_Worker-1] ERROR
com.redhat.rhn.taskomatic.task.RepoSyncTask - Message: Command
'[/usr/bin/spacewalk-repo-sync, --channel, centos-epel6, --type, yum]'
exited with error code 1
INFO   | jvm 1    | 2018/05/17 16:00:36 | 2018-05-17 16:00:36,839
[DefaultQuartzScheduler_Worker-1] ERROR
com.redhat.rhn.taskomatic.task.RepoSyncTask - Cause: null
INFO   | jvm 1    | 2018/05/17 16:00:36 | 2018-05-17 16:00:36,840
[DefaultQuartzScheduler_Worker-1] ERROR
com.redhat.rhn.taskomatic.task.RepoSyncTask - Stack
trace:org.quartz.JobExecutionException: Command
'[/usr/bin/spacewalk-repo-sync, --channel, centos-epel6, --type, yum]'
exited with error code 1
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
com.redhat.rhn.taskomatic.task.RhnJavaJob.executeExtCmd(RhnJavaJob.java:103)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
com.redhat.rhn.taskomatic.task.RepoSyncTask.execute(RepoSyncTask.java:70)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:88)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:186)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
org.quartz.core.JobRunShell.run(JobRunShell.java:216)
INFO   | jvm 1    | 2018/05/17 16:00:36 |       at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.jav
a:549)


Moreover, I'm not sure the repodata is being updated because when I'm
creating a new channel with a new repo, it doesn't showup in repodata
and I've the following message on client output : Error : Cannot
retrieve repository metadata (repomd.xml) for repository:
centos_6-spacewalk-2.8-client

And yum repolist returns there is zero packages in repository (not sure
it's linked).
id du dépôt                                                    nom du
dépôt                                                   statut
centos-epel6
centos-epel6                                                   14 702
centos_6-spacewalk-2.8-client
centos_6-spacewalk-2.8-client                                       0

Regards,

--
Ludovic SCOTTI
mailto:l.sco...@it-med.fr

De : spacewalk-list-boun...@redhat.com
<spacewalk-list-boun...@redhat.com> De la part de Dimitri Yioulos
Envoyé : jeudi 17 mai 2018 15:46 À : spacewalk-list@redhat.com Objet :
[Spacewalk-list] Automatic repo sync issue

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:7
0)
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.jav
a: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


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

Robert

--
sent from my mobile device

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

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

--
Jiří Dostál | Associate Software Engineer
Red Hat Satellite

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

Reply via email to