Project

General

Profile

Actions

Bug #15366

closed

Errata Install to Content Host takes too long and doesn't scale well

Added by Adam Price almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Repositories
Target version:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1288152
Description of problem:

When applying (installing) errata on a Content Host from the server, it takes a very long time.

For example, installing ~556 errata on a single content host was observed to take ~44 minutes. Most of that time (~36 minutes) was during the 'initiating the install' phase of the task (i.e. executing the pulp consumer content install). While this may not sound too bad a first glance, it won't scale well as the behavior is linear. As a result, if there were 100 content hosts, that same action could take ~3 days.

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

pulp-server-2.6.0.17-1.el7sat.noarch
pulp-rpm-plugins-2.6.0.17-1.el7sat.noarch
ruby193-rubygem-katello-2.2.0.76-1.el7sat.noarch

How reproducible:
always

Steps to Reproduce:
1. install Satellite 6.1.4
2. import a manifest
3. enable and sync the RHEL 6Server RPM repo
4. create a content view containing the RHEL 6Server RPM repo and publish it
5. register a RHEL 6.5 client to the above content view
6. initiate an errata install from the UI
(Hosts -> Content Hosts -> select the host -> Errata -> scroll through
all of the errata, select them and 'Apply Selected')

Actual results:

Observe that the errata are installed on the content host; however, it takes a very long time to initiate and execute the task.

Expected results:

We need to investigate why it is taking so long to initiate the errata install and look for ways to optimize it to improve performance.

Additional info:

Attaching a foreman debug from the server where the above scenario was executed.


Related issues 1 (0 open1 closed)

Has duplicate Katello - Bug #18644: Errata Update takes longer time @scaleDuplicateJohn Mitsch02/23/2017Actions
Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/234 added
Actions #2

Updated by Justin Sherrill almost 8 years ago

  • Priority changed from Normal to Urgent
  • translation missing: en.field_release set to 168
  • Difficulty set to trivial
Actions #3

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release changed from 168 to 171
Actions #4

Updated by Anonymous over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by The Foreman Bot over 7 years ago

  • Pull request https://github.com/Katello/katello-packaging/pull/273 added
Actions #6

Updated by Eric Helms over 7 years ago

  • translation missing: en.field_release changed from 171 to 162
Actions #7

Updated by John Mitsch about 7 years ago

  • Has duplicate Bug #18644: Errata Update takes longer time @scale added
Actions

Also available in: Atom PDF