Project

General

Profile

Bug #16274

Unnecessary tasks generated and spawned during content view publish

Added by Brad Buckingham over 5 years ago. Updated almost 4 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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:

Related issues

Related to Katello - Bug #16499: At certain cirucumsatnces, the CV publish produeces 100 000s steps with repos updateClosed2016-09-09

History

#1 Updated by Justin Sherrill over 5 years ago

  • Subject changed from Unnecessary tasks generated and spawned during content view publish to Unnecessary tasks generated and spawned during content view publish
  • Status changed from New to Duplicate

part of this was fixed in 3.0, the other part is fixed in 16499

#2 Updated by Justin Sherrill over 5 years ago

  • Related to Bug #16499: At certain cirucumsatnces, the CV publish produeces 100 000s steps with repos update added

#3 Updated by Eric Helms over 5 years ago

  • Legacy Backlogs Release (now unused) set to 166

Also available in: Atom PDF