Project

General

Profile

Actions

Bug #16274

closed

Unnecessary tasks generated and spawned during content view publish

Added by Brad Buckingham about 8 years ago. Updated about 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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 1 (0 open1 closed)

Related to Katello - Bug #16499: At certain cirucumsatnces, the CV publish produeces 100 000s steps with repos updateClosedIvan Necas09/09/2016Actions
Actions

Also available in: Atom PDF