Project

General

Profile

Actions

Bug #36715

closed

Report Template output generation can take hours to complete if the template is only about printing different host facts

Added by Jeremy Lenz over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Statistics
Target version:
-
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2144615

Description of problem:

Even if it is 300 hosts or 200 hosts, We can generate reports from Template like "Host - Registered Content Hosts" or "Host - Statuses" in a couple of minutes but if a custom template will be created that only parses five to ten host facts, then generation of the result for that report template could take 30minutes to 1 hour against the same set of hosts.

Version-Release number of selected component (if applicable):

Satellite 6.11.4

How reproducible:

In the Customer's environment for 2000+ hosts with a good amount of sub-man & ansible facts in each

Steps to Reproduce:

NA ( Please check the reproducer details in the private comment )

Actual results:

Host - Statuses > Has the least amount of data to be collected -> Took 30 seconds

Host - Registered Content Hosts > Has more data to collect for each system including applicable errata names and subscriptions -> Took 3 minutes and then gave the results.

SSS_Access_Control > Has only 8 ansible facts to collect from each host -> Took 28 minutes

Expected results:

The "SSS_Access_Control" report template or any other "Host Facts" related templates, should not take that huge amount of time to get the resulting CSV data. It should be completed withing 1 - 5 minutes only ( if host count is 200 - 2000 ) .

Additional info:

NA


Related issues 1 (0 open1 closed)

Precedes Foreman - Refactor #36802: Update facts_hash macro's param descriptionRejectedOleh FedorenkoActions
Actions #1

Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Jeremy Lenz
  • Pull request https://github.com/theforeman/foreman/pull/9819 added
Actions #2

Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases 3.9.0 added
Actions #3

Updated by Jeremy Lenz about 1 year ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases 3.8.0 added
Actions #5

Updated by Oleh Fedorenko about 1 year ago

  • Precedes Refactor #36802: Update facts_hash macro's param description added
Actions #6

Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/theforeman/foreman/pull/9850 added
Actions

Also available in: Atom PDF