Ree, Jan-Albert van:
> 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

Hello,

Most likely it's a bug https://bugzilla.redhat.com/show_bug.cgi?id=1802135.
I've fixed it today and updated backend packages are alredy in nightly repo.

Regards,


> --
> Jan-Albert van Ree
> 
> 
> ________________________________________
> From: spacewalk-list-boun...@redhat.com <spacewalk-list-boun...@redhat.com> 
> on behalf of Jody McIvor <jmci...@bclc.com>
> Sent: Monday, January 13, 2020 17:22
> To: spacewalk-list@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).
...
>  V- 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
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

--
Michael Mráka
System Management Engineering, Red Hat

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

Reply via email to