Project

General

Profile

Bug #15366

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

Added by Adam Price over 2 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Repositories
Target version:
Team Backlog:
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

Has duplicate Katello - Bug #18644: Errata Update takes longer time @scaleDuplicate2017-02-23

Associated revisions

Revision ab45b88e (diff)
Added by Adam Price over 2 years ago

fixes #15366 - add yum-plugin-security dep to rhel5/6 packages (#234)

History

#1 Updated by The Foreman Bot over 2 years ago

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

#2 Updated by Justin Sherrill over 2 years ago

  • Priority changed from Normal to Urgent
  • Legacy Backlogs Release (now unused) set to 168
  • Difficulty set to trivial

#3 Updated by Eric Helms over 2 years ago

  • Legacy Backlogs Release (now unused) changed from 168 to 171

#4 Updated by Anonymous over 2 years ago

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

#5 Updated by The Foreman Bot over 2 years ago

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

#6 Updated by Eric Helms over 2 years ago

  • Legacy Backlogs Release (now unused) changed from 171 to 162

#7 Updated by John Mitsch almost 2 years ago

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

Also available in: Atom PDF