Bug 1372073
Summary: | loading task takes 10+ seconds, makes 16K sql queries | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Chris Duryee <cduryee> | ||||
Component: | Content Views | Assignee: | Ivan Necas <inecas> | ||||
Status: | CLOSED ERRATA | QA Contact: | Renzo Nuccitelli <rnuccite> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.2.0 | CC: | aperotti, bbuckingham, chrobert, inecas, jcallaha, jentrena, jsherril, ktordeur, mmccune, nkim, oshtaier, pdwyer, rnuccite, sauchter, wpinheir, xdmoon | ||||
Target Milestone: | Unspecified | Keywords: | Performance, PrioBumpGSS, Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | rubygem-katello-3.0.0.80-1 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-10-04 06:44:59 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1353215, 1386429, 1386449 | ||||||
Attachments: |
|
Description
Chris Duryee
2016-08-31 20:22:18 UTC
Created attachment 1197232 [details]
enable repo list
After more digging, it also turned out the content view publish process was generating many unnecessary steps, which lead to more more that 100x bigger execution plans, which lead to more time for the task to run, as well as to show details. More detail, as well as proposed fix at http://projects.theforeman.org/issues/16499 The fix for Dynflow loading proposed at https://github.com/Dynflow/dynflow/pull/200 The fix for the Katello issue proposed at https://github.com/Katello/katello/pull/6305 Created attachment 1199470 [details] clean_update_repos.rb The script removes unnecessary steps from tasks, caused by http://projects.theforeman.org/issues/16499, to reduce its size *** Bug 1291507 has been marked as a duplicate of this bug. *** Upstream bug component is Content Management Upstream bug component is Content Views RHEL7 Hotfix RPMs available for Satellite 6.2.1 only: http://people.redhat.com/~mmccune/1372073/1372073-hotfix.tar Installation instructions: 1) download tar above to your Satellite 6.2.1 RHEL7 server 2) extract and 'rpm -Uvh <rpms in archive>' 3) katello-service restart 4) Download cleanup script from this bug to your Satellite curl https://bugzilla.redhat.com/attachment.cgi?id=1199470 > cleanup_repos.rb 5) foreman-rake console < ~/clean_update_repos.rb 6) proceed with normal operations Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16499 has been resolved. Verified on 6.2.2 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1993 *** Bug 1260141 has been marked as a duplicate of this bug. *** |