Bug 491214 - Add a repo regen task to the taskomatic queue at the time of channel cloning
Summary: Add a repo regen task to the taskomatic queue at the time of channel cloning
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 530
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Shannon Hughes
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks: 485807
TreeView+ depends on / blocked
 
Reported: 2009-03-19 20:48 UTC by Pradeep Kilambi
Modified: 2009-09-10 18:41 UTC (History)
1 user (show)

Fixed In Version: sat530
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 18:41:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pradeep Kilambi 2009-03-19 20:48:45 UTC
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.

Comment 1 Shannon Hughes 2009-03-23 19:08:49 UTC
tested this with latest code and its working. 

rhnsat@rhnsat> select id,client from rhnreporegenqueue;

  ID CLIENT                          
---- --------------------------------
1861 perl-web::clone_channel_packages

1 row selected (0.02 seconds)


test plan:

1) clone a channel
2) check if repo cache has been generated in /var/cache/rhn/repodata
the channel label will be the directory.

Comment 2 Corey Welton 2009-04-29 19:32:02 UTC
QA Verified.

Comment 3 Miroslav Suchý 2009-08-10 14:47:19 UTC
verified in stage

Comment 4 Brandon Perkins 2009-09-10 18:41:08 UTC
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.

http://rhn.redhat.com/errata/RHEA-2009-1434.html


Note You need to log in before you can comment on or make changes to this bug.