Bug 1260141 - Unnecessary tasks generated and spawned during content view publish: 100k steps
Summary: Unnecessary tasks generated and spawned during content view publish: 100k steps
Keywords:
Status: CLOSED DUPLICATE of bug 1372073
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: jcallaha
URL:
Whiteboard:
: 1374771 (view as bug list)
Depends On:
Blocks: 1353215 1386429 1386449
TreeView+ depends on / blocked
 
Reported: 2015-09-04 14:12 UTC by Justin Sherrill
Modified: 2019-12-16 04:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1386449 (view as bug list)
Environment:
Last Closed: 2016-10-28 14:28:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 16499 0 None None None 2016-09-14 18:50:25 UTC
Red Hat Knowledge Base (Solution) 2755731 0 None None None 2016-11-07 17:30:35 UTC

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 ***


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