Project

General

Profile

Bug #9647

Publish/Promotion times in Satellite 6 growing after each publish/promotion

Added by Justin Sherrill about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1117376
Description of problem:
Publishing and promoting content-views are growing in time required to publish/promote as more content-views are created. Timing can be reduced by restarting foreman-proxy however not to the degree of a clean system.

Version-Release number of selected component (if applicable):
Satellite 6.0.3
RHEL 6.5 2.6.32-431.20.3
katello-1.5.0-26.el6sat.noarch
foreman-1.6.0.21-1.el6sat.noarch
candlepin-0.9.19-1.el6_5.noarch
pulp-server-2.4.0-0.23.beta.el6sat.noarch
puppet-3.6.2-1.el6sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Deploy Sat6 Server
2. Upload Manifest
3. Sync Content
4. Create, add repo, publish, promote more than 20 Content Views
5. Review timings required to publish/promote each content-view

Actual results:
Here is 20 Content-View Publish Timings:
time hammer content-view publish --id $cvid
136.263
146.127
143.102
150.898
149.587
154.589
154.205
161.326
165.865
175.199
180.863
189.981
191.544
197.365
200.213
216.728
216.512
231.184
236.033
245.959

Expected results:
Content-view publishing should not grow as more

Additional info:
As a work around, restarting foreman-proxy reduces the timing but it continues to grow quickly there after.


Related issues

Has duplicate Katello - Bug #8932: Content Promotion with 200+ Puppet Environments Hangs or FailsDuplicate2015-01-13

Associated revisions

Revision a610d6c9 (diff)
Added by Justin Sherrill about 8 years ago

fixes #9647 - speed up puppet class import

this only imports puppet classes from the relevant puppet env on publish/promote
speeding up publish and promote a good deal when you have a large number of environments
also change the logic for looking up default capsule in this operation

Revision 8eb6b75e
Added by Justin Sherrill about 8 years ago

Merge pull request #5079 from jlsherrill/9647

fixes #9647 - speed up puppet class import

History

#1 Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 67
  • Pull request https://github.com/Katello/katello/pull/5079 added
  • Pull request deleted ()

#2 Updated by Justin Sherrill about 8 years ago

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

#3 Updated by Eric Helms about 8 years ago

  • Legacy Backlogs Release (now unused) set to 23
  • Triaged changed from No to Yes

#4 Updated by Eric Helms about 8 years ago

  • Has duplicate Bug #8932: Content Promotion with 200+ Puppet Environments Hangs or Fails added

Also available in: Atom PDF