Bug 1260141

Summary: Unnecessary tasks generated and spawned during content view publish: 100k steps
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: Content ViewsAssignee: Ivan Necas <inecas>
Status: CLOSED DUPLICATE QA Contact: jcallaha
Severity: high Docs Contact:
Priority: medium    
Version: 6.1.0CC: aperotti, bbuckingham, daniele, jcallaha, mmccune, zhunting
Target Milestone: UnspecifiedKeywords: PrioBumpField, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1386449 (view as bug list) Environment:
Last Closed: 2016-10-28 14:28:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1353215, 1386429, 1386449    

Description Justin Sherrill 2015-09-04 14:12:40 UTC
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):
6.1.1

How reproducible:
Always

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:

Comment 1 Justin Sherrill 2015-09-04 14:14:29 UTC
Since this does not seem to cause any actual performance issues, i'm not sure this needs to be a zstream.

Comment 3 Bryan Kearney 2016-07-08 20:47:47 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 5 Brad Buckingham 2016-08-24 20:13:28 UTC
Created redmine issue http://projects.theforeman.org/issues/16274 from this bug

Comment 6 Bryan Kearney 2016-09-14 20:09:59 UTC
Upstream bug assigned to inecas

Comment 7 Bryan Kearney 2016-09-14 20:10:02 UTC
Upstream bug assigned to inecas

Comment 8 Bryan Kearney 2016-09-21 00:09:19 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16499 has been resolved.

Comment 12 Mike McCune 2016-10-20 21:43:30 UTC
*** Bug 1374771 has been marked as a duplicate of this bug. ***

Comment 13 Zach Huntington-Meath 2016-10-28 14:28:51 UTC

*** This bug has been marked as a duplicate of bug 1372073 ***