[Spacewalk-list] Spacewalk 2.10 Failing to sync repo (Ree, Jan-Albert van)

Jody McIvor JMcIvor at bclc.com
Wed Jan 15 17:52:53 UTC 2020


Sorry to hear you're having similar issues. Hopefully someone can point us in the right direction.

Also note, I've confirmed that config files are unaffected, seems to only be RPMs (or repositories?)

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


jmcivor at bclc.com
BCLC.com





-----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 14, 2020 9:00 AM
To: spacewalk-list at redhat.com
Subject: Spacewalk-list Digest, Vol 140, Issue 12

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: Spacewalk 2.10 Failing to sync repo (Ree, Jan-Albert van)
   2. Recommended way to remove Client from Ubuntu (Raymond Setchfield)
   3. How to apply fix in spacewalk 2.9 to supportCentOS8 (Unix admin)


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

Message: 1
Date: Mon, 13 Jan 2020 19:04:27 +0000
From: "Ree, Jan-Albert van" <J.A.v.Ree at marin.nl>
To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] Spacewalk 2.10 Failing to sync repo
Message-ID: <1578942267782.73514 at marin.nl>
Content-Type: text/plain; charset="utf-8"



Jan-Albert van Ree  | Linux System Administrator | Digital Services MARIN | T +31 317 49 35 48 | mailto:J.A.v.Ree at marin.nl | http://www.marin.nl

Good afternoon,
While testing spacewalk-nightly we saw the same behaviour :

- packages get downloaded just fine from remote repositories
- building local repo data fails however

Scenario's tested were both a clean install of spacewalk-nightly and an upgrade of 2.9 to nightly. With the upgrade from 2.9 to nightly, package sync was working fine before upgrading to nightly so it's definately something wrong in the nightly repo creation.

Hope this helps, willing to test/debug further but need some pointers on what to test/report
--
Jan-Albert van Ree


________________________________________
From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> on behalf of Jody McIvor <JMcIvor at bclc.com>
Sent: Monday, January 13, 2020 17:22
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] Spacewalk 2.10 Failing to sync repo

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



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

Message: 2
Date: Tue, 14 Jan 2020 12:30:28 +0000
From: Raymond Setchfield <raymond.setchfield at gmail.com>
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] Recommended way to remove Client from Ubuntu
Message-ID:
<CAPZeFq4y+c=rhOxO7jarMrz3aNvCD6tP_O-ngU2n_apfoU6sPQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi All,

Is there a recommended way to remove the spacewalk client from ubuntu?

Thanks

Ray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.redhat.com/archives/spacewalk-list/attachments/20200114/f16e2494/attachment.html>

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

Message: 3
Date: Tue, 14 Jan 2020 14:04:28 +0100
From: "Unix admin" <kubectl at mail.com>
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] How to apply fix in spacewalk 2.9 to support
CentOS8
Message-ID:
<trinity-8cae5091-acce-4015-8b6d-37b16c5e71c3-1579007068000 at 3c-app-mailcom-lxa06>

Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: <https://www.redhat.com/archives/spacewalk-list/attachments/20200114/d7ca9219/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 12
***********************************************

________________________________
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