Actions
Bug #16274
closedUnnecessary tasks generated and spawned during content view publish
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1260141
Description of problem:
During content view publish there are a number of 'update schedule' tasks that are executing within the publish task that are not needed. These are setting the schedule on the Library repos.
In addition, whenever publishing any repositories that are being created are having a task spawned off that does a yum metadata publish. At this point the repos are empty so this does not take very long (less than a second), but it can cause many tasks to be spawned.
Steps to Reproduce:
1. Create a product with 5 repos.
2. Add the product to a sync plan
3. Create a content view and add all 5 repos.
4. Publish the content view.
Actual results:
a) within the 'publish' task of the dynflow console you'll see 5 'UpdateSchedule' tasks.
b) Within Monitor > Tasks you will see 5 MetadataGenerate tasks.
Expected results:
You should see neither a) nor b)
Additional info:
Actions