Red Hat Bugzilla – Bug 1260141
Unnecessary tasks generated and spawned during content view publish: 100k steps
Last modified: 2017-04-25 12:19:26 EDT
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.
Version-Release number of selected component (if applicable):
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.
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.
You should see neither a) nor b)
Since this does not seem to cause any actual performance issues, i'm not sure this needs to be a zstream.
Per 6.3 planning, moving out non acked bugs to the backlog
Created redmine issue http://projects.theforeman.org/issues/16274 from this bug
Upstream bug assigned to email@example.com
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16499 has been resolved.
*** Bug 1374771 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 1372073 ***