[Spacewalk-list] Spacewalk 2.10 Failing to sync repo

Jody McIvor JMcIvor at bclc.com
Mon Jan 13 16:22:58 UTC 2020


Hi Guys,

Our DEV environment instance of spacewalk 2.10 seems to be failing to sync repositories. Running it via SSH reports success, and running it via HTTP interface reports success, yet logs show otherwise. As in the log snippet below, it is finding the packages, downloading them (seemingly) but failing to update the software channel(s).

 - This issue seems to be affecting ALL software channels
 - Original repository location likely ruled out as the problem, as other repo's hosted on same machine, using same createrepo process are all working fine
 - Spacewalk shows proper "Last Modified" date, but "Last Repo Build" shows as way outdated. (Channels>Select Channel>DetailsTab)
 - Adding original repository location on the client (Effectively bypassing spacewalk) succeeds and allows access to all the latest RPMs

Taskomatic log after attempting sync:
INFO   | jvm 1    | 2020/01/13 08:03:30 | 2020-01-13 08:03:30,760 [Thread-53] INFO  com.redhat.rhn.taskomatic.task.RepoSyncTask - 08:03:29 ======================================
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29 | Channel: ▓ ▓ ▓ ▓-channel-dev
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29 ======================================
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29 Sync of channel started.
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29   Processing repository with URL: http:// ▓ ▓ ▓ ▓/rhel/x86_64/▓ ▓ ▓ ▓-dev/
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29     Packages in repo:                88
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29     Packages already synced:         66
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29     Packages to sync:                 5
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29     New packages to download:         5
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29   Downloading packages:
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29     1/5 : ▓ ▓ ▓ ▓-1.02-4.x86_64.rpm
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29     2/5 : ▓ ▓ ▓ ▓-2.11.03.3.rpm
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29     3/5 : ▓ ▓ ▓ ▓-2.13.01.95.rpm
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29     4/5 : ▓ ▓ ▓ ▓-v2.13.03-1-1.x86_64.rpm
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:29     5/5 : ▓ ▓ ▓ ▓-v1.03.01-1-1.x86_64.rpm
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:30
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:30   Importing packages to DB:
INFO   | jvm 1    | 2020/01/13 08:03:30 |
INFO   | jvm 1    | 2020/01/13 08:03:30 |                Importing packages:     |##########----------------------------------------| 20.0%
INFO   | jvm 1    | 2020/01/13 08:03:30 |                Importing packages:     |####################------------------------------| 40.0%
INFO   | jvm 1    | 2020/01/13 08:03:30 |                Importing packages:     |##############################--------------------| 60.0%
INFO   | jvm 1    | 2020/01/13 08:03:30 |                Importing packages:     |########################################----------| 80.0%
INFO   | jvm 1    | 2020/01/13 08:03:30 |                Importing packages:     |##################################################| 100.0%
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:30
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:30   Errata in repo: 0.
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:30 Sync of channel completed in 0:00:01.
INFO   | jvm 1    | 2020/01/13 08:03:30 | 08:03:30 Total time: 0:00:01
INFO   | jvm 1    | 2020/01/13 08:03:30 |
INFO   | jvm 1    | 2020/01/13 08:03:30 | 2020-01-13 08:03:30,763 [DefaultQuartzScheduler_Worker-9] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask - Executing a task threw an exception: org.quartz.JobExecutionException
INFO   | jvm 1    | 2020/01/13 08:03:30 | 2020-01-13 08:03:30,763 [DefaultQuartzScheduler_Worker-9] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask - Message: Command '[/usr/bin/spacewalk-repo-sync, --channel, ▓ ▓ ▓ ▓-channel-dev, --type, yum]' exited with error code 5
INFO   | jvm 1    | 2020/01/13 08:03:30 | 2020-01-13 08:03:30,763 [DefaultQuartzScheduler_Worker-9] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask - Cause: null
INFO   | jvm 1    | 2020/01/13 08:03:30 | 2020-01-13 08:03:30,763 [DefaultQuartzScheduler_Worker-9] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask - Stack trace:org.quartz.JobExecutionException: Command '[/usr/bin/spacewalk-repo-sync, --channel, ▓ ▓ ▓ ▓-channel-dev, --type, yum]' exited with error code 5
INFO   | jvm 1    | 2020/01/13 08:03:30 |       at com.redhat.rhn.taskomatic.task.RhnJavaJob.executeExtCmd(RhnJavaJob.java:103)
INFO   | jvm 1    | 2020/01/13 08:03:30 |       at com.redhat.rhn.taskomatic.task.RepoSyncTask.execute(RepoSyncTask.java:70)
INFO   | jvm 1    | 2020/01/13 08:03:30 |       at com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:88)
INFO   | jvm 1    | 2020/01/13 08:03:30 |       at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:186)
INFO   | jvm 1    | 2020/01/13 08:03:30 |       at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
INFO   | jvm 1    | 2020/01/13 08:03:30 |       at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)


Been poking at this one for a while now, any help appreciated!

Thanks,

Jody McIvor
Sr. Systems Administrator, Integration
Les Services D’intégration
[TEL] (250) 852-5202


-----Original Message-----
From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> On Behalf Of spacewalk-list-request at redhat.com
Sent: January 10, 2020 9:00 AM
To: spacewalk-list at redhat.com
Subject: Spacewalk-list Digest, Vol 140, Issue 10

Send Spacewalk-list mailing list submissions to
spacewalk-list at redhat.com

To subscribe or unsubscribe via the World Wide Web, visit
https://www.redhat.com/mailman/listinfo/spacewalk-list
or, via email, send a message with subject or body 'help' to
spacewalk-list-request at redhat.com

You can reach the person managing the list at
spacewalk-list-owner at redhat.com

When replying, please edit your Subject line so it is more specific than "Re: Contents of Spacewalk-list digest..."


Today's Topics:

   1. re adding systems (Tim Stubbs)


----------------------------------------------------------------------

Message: 1
Date: Fri, 10 Jan 2020 14:55:49 +0000
From: Tim Stubbs <tim.stubbs at telrock.com>
To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Subject: [Spacewalk-list] re adding systems
Message-ID:
<4dbe3cf197d0e44c58b506d92d2f2037d8a9e4c8.camel at telrock.com>
Content-Type: text/plain; charset="utf-8"

Hi,
not sure whats going on, but Ive deleted a few VM's recently for reprovisioning. however when the new VM's were enrolled (with same hostnames are removed systems) they register successfully but they dont appear in the UI & I cannot search for them. any idea whats going on?

Spacewalk 2.9, running on CentOS 7.7


--

Thank you,
Tim

[Winner of the 2018 Consumer Credit Awards]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.redhat.com/archives/spacewalk-list/attachments/20200110/22d7ad3a/attachment.html>

------------------------------

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

End of Spacewalk-list Digest, Vol 140, Issue 10
***********************************************

________________________________
This email is intended only for the addressee. It may contain confidential or proprietary information that cannot be disclosed without BCLC's permission. If you have received this email in error, please notify the sender immediately and delete the email.




More information about the Spacewalk-list mailing list