Red Hat Bugzilla – Bug 491214
Add a repo regen task to the taskomatic queue at the time of channel cloning
Last modified: 2009-09-10 14:41:08 EDT
This should be in the perl code, At the time of channel cloning, a task needs to be scheduled for takomatic in rhnRepoRegenQueue to generate repodata for the new cloned channels content. Should be a simple fix to perl page.
Currently this is regenerated at the time of client request. The client should'tn have to wait, this should be triggered immediately after the clone is complete.
tested this with latest code and its working.
rhnsat@rhnsat> select id,client from rhnreporegenqueue;
1 row selected (0.02 seconds)
1) clone a channel
2) check if repo cache has been generated in /var/cache/rhn/repodata
the channel label will be the directory.
verified in stage
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.