[Spacewalk-list] Pending repo syncs

Joshua Roys joshua.roys at gtri.gatech.edu
Fri May 7 17:54:49 UTC 2010


On 05/07/2010 01:43 PM, Bruce Pennypacker wrote:
> Is there any way to see details on pending repo syncs?  When I go to 
> manage a channel and select the option to sync the repo there's no real 
> feedback that I can see to indicate that the action has been submitted 
> or is in progress.  For larger repos I can refresh the channel list and 
> see the number of packages increasing, and when a sync is complete I can 
> see that the last sync time is updated, but that's about all the 
> feedback I see.  I submitted a request to sync a repo a few minutes ago 
> and it hasn't happened yet.  I've been keeping an eye on 
> /var/log/rhn/reposync but haven't seen any new log files yet.  How can I 
> tell if a sync failed for any reason, if it's still scheduled, when it 
> should run, etc?
> 

You can view the same log that would be in /var/log/rhn/reposync at:
Channels -> Manage Software Channels -> (your-channel-here)
And scroll down to the "Associated Yum Repository" and click the time -
at least, if it's started yet.

To see if it's still pending, you have one option, I think: a sql query:
SQL> select * from rhnTaskQueue ;

Also, taskomatic must be running for the reposyncs to take place, so if
there are any errors in /var/log/rhn/rhn_taskomatic_daemon.log, that
might point you in the right direction.  The reposync tasks get checked
for at the top of every minute in the default configuration:
/etc/rhn/default/rhn_taskomatic.conf and search for RepoSyncTask.schedule .

Hope to help,

Josh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3086 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100507/f9dc8fc4/attachment.p7s>


More information about the Spacewalk-list mailing list