[Spacewalk-list] spacewalk-repo-sync never finishes

Philipp Wehling philipp.wehling at megatel.de
Tue Jul 21 13:13:24 UTC 2015


Hello,

I took over an existing installation, so Im a newbie. I had to reorganize the channel lists for meeting new requirements.

But I created new repositories and channels. I really would like to provide more information on whats going on, but I dont know where to find it. /var/log/rhn/reposync contains only the standard output. Only thing I can think of is that some packages should be linked to more than one channel. Could this be a big deal?

At the moment Im doing a database cleanup with these instructions:
www.stankowic-development.net/?p=5684&lang=en

Is it possible to clean the database in another way? Or should I reinstall the whole system?


kind regards,
pwe

----- Original Message -----
From: "Tomas Lestach" <tlestach at redhat.com>
To: spacewalk-list at redhat.com
Sent: Tuesday, July 21, 2015 2:44:58 PM
Subject: Re: [Spacewalk-list] spacewalk-repo-sync never finishes

I just set up a channel with 
http://ftp-stud.hs-esslingen.de/pub/Mirrors/scientific/7/x86_64/updates/security/
repository to reproduce your problem on my Spacewalk nightly.

Last lines of spacewalk-repo-sync command were:
348/350 : python-clufter-0.9.137-13.el7_1.2-0.x86_64
349/350 : bind-utils-9.9.4-18.el7_1.1-32.x86_64
350/350 : java-1.8.0-openjdk-devel-1.8.0.51-1.b16.el7_1-1.x86_64
Linking packages to channel.
Repo http://ftp-stud.hs-esslingen.de/pub/Mirrors/scientific/7/x86_64/updates/security/ has 44 errata.
1 errata skipped because of empty package list.
Sync completed.
Total time: 0:35:01

spacewalk-repo-sync finished just fine without any issues.
We'd need more specific information to reproduce your issue.

Regards,
--
Tomas Lestach
Red Hat Satellite Engineering, Red Hat


----- Original Message -----
> From: "Philipp Wehling" <philipp.wehling at megatel.de>
> To: spacewalk-list at redhat.com
> Sent: Tuesday, July 21, 2015 11:04:45 AM
> Subject: [Spacewalk-list] spacewalk-repo-sync never finishes
> 
> Hello,
> 
> I have problems with spacewalk-repo-sync.
> 
> I use a script like that:
> #!/bin/bash
> 
> # RHEL 7
> /usr/bin/spacewalk-repo-sync --channel space_epel7-x86_64 --type yum
> /usr/bin/spacewalk-repo-sync --channel space_sl7-x86_64 --type yum
> /usr/bin/spacewalk-repo-sync --channel space_sl7-x86_64-fastbugs
> --type yum
> /usr/bin/spacewalk-repo-sync --channel space_sl7-x86_64-security
> --type yum
> /usr/bin/spacewalk-repo-sync --channel
> space_spacwalkclient-2.3-rhel7-x86_64 --type yum
> 
> 
> The sync starts, it downloads the necessary packages, but at the end
> it hangs at:
> 
> ...
> 346/350 : mailman-2.1.15-21.el7_1-3.x86_64
> 347/350 : libxml2-devel-2.9.1-5.el7_1.2-0.x86_64
> 348/350 : qemu-kvm-1.5.3-86.el7_1.2-10.x86_64
> 349/350 : firefox-38.1.0-1.el7_1-0.i686
> 350/350 : tomcat-admin-webapps-7.0.54-2.el7_1-0.noarch
> Linking packages to channel.
> Repo
> http://ftp-stud.hs-esslingen.de/pub/Mirrors/scientific/7/x86_64/updates/security/
> has 44 errata.
> 
> 
> This state never changes until I abort it. With top I cann see, that
> spacewalk-repo-sync consumes nearly 100% CPU.
> 
> And on the client I can see this:
> 
> # yum repolist all
> Loaded plugins: rhnplugin
> This system is receiving updates from RHN Classic or Red Hat
> Satellite.
> repo id
>                                                                           repo
> name
>                                                                                         status
> space_dassit-bacula-rhel7-x86_64
>                                                  dassIT Bacula -
> RHEL 7 - x86_64
>                                                                   enabled:
> 0
> space_epel7-x86_64
>                                                                EPEL
> 7 - x86_64
>                                                                                   enabled:
> 0
> space_rhel7-x86_64
>                                                                RHEL
> 7 - x86_64
>                                                                                   enabled:
> 0
> space_sl7-x86_64
>                                                                  Scientific
> Linux Server 7 - x86_64
>                                                                enabled:
> 0
> space_sl7-x86_64-fastbugs
>                                                         Scientific
> Linux Server 7 - x86_64 - Fast Bugs
>                                                    enabled: 0
> space_sl7-x86_64-security
>                                                         Scientific
> Linux Server 7 - x86_64 - Security Updates
>                                             enabled: 0
> space_spacewalkclient-2.3-rhel7-x86_64
>                                            Spacewalk Client 2.3 -
> RHEL 7 - x86_64
>                                                            enabled:
> 0
> 
> 
> In spacewalk admin ui I can see the packages assigned to the
> appropriate channel.
> 
> Any thoughts?
> 
> 
> 
> Kind regards
> pwe
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 

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




More information about the Spacewalk-list mailing list