Project

General

Profile

Actions

Bug #27012

closed

Content view publish planning in foreman-tasks sometimes takes too long

Added by William Clark almost 5 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Steps to Reproduce:
1.Create a content view with around 100 yum repos
2.Publish the content view

Actual results:
Content View publish task planning takes a long time and no foreman task ID is returned until the task moves from 'planning' to 'running'

Because of this `hammer cv publish` users and API users have to wait for a long time to get the foreman task id back. In the example below, it took almost 2 minutes to get the task id back on a satellite server with no client traffic.

  1. date; hammer content-view publish --name rhel7cv --organization-id=21 --async; date
    Fri Mar 1 13:43:13 EST 2019
    Content view is being published with task e1fff9b2-3060-479a-be45-71d3ab54d9e4
    Fri Mar 1 13:45:06 EST 2019

When client traffic is causing further slowness, it can break scripts which publish via the API by causing timeouts.

Expected results:
CV publish planning should happen faster and the task id for the hammer command or API call should be returned sooner.

Additional info:
A similar bug for CV capsule sync task planning was fixed in BZ1673447

Actions #1

Updated by Samir Jha almost 5 years ago

  • Target version set to Katello 3.13.0
  • Triaged changed from No to Yes
Actions #2

Updated by John Mitsch almost 5 years ago

  • Target version changed from Katello 3.13.0 to Katello Backlog
Actions #3

Updated by Justin Sherrill almost 4 years ago

  • Status changed from New to Rejected
  • Target version changed from Katello Backlog to Katello Recycle Bin

closing due to insufficient information. Feel free to reopen

Actions

Also available in: Atom PDF