Bug 798376
Summary: | Loading sync management page generates potentially thousands of notices | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | James Laska <jlaska> | ||||
Component: | API | Assignee: | Eric Helms <ehelms> | ||||
Status: | CLOSED ERRATA | QA Contact: | Og Maciel <omaciel> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 6.0.1 | CC: | bbuckingham, ehelms, inecas, jturner, lzap, mmccune, omaciel | ||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-05-15 18:54:10 UTC | Type: | --- | ||||
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: | 798683 | ||||||
Attachments: |
|
Description
James Laska
2012-02-28 18:35:58 UTC
Created attachment 566379 [details]
production log containing errors
The errors in this log were also generated in the form of notices. Note: over 3000 notices would be generated based on this log.
QA note: This bug can be verified together with https://bugzilla.redhat.com/show_bug.cgi?id=798007 866d297c388460342ab956f86b6189c7bacb4404 This bug fixes makes a number of changes to how the most recent sync status is determined and stored in the database. Whenever a sync is started an object will be created in the databse to track the pulp task and be updated as the sync status is updated from pulp. Further, upon completion of a sync, a delayed job will kickoff that will generate a success or error notice and if there are errors dump the errors to the log. This change also reduces the number of calls to pulp when calculating the overall size of a product in the UI.798376 - Sync management page reworked to generate error and success notices once upon sync completion. Fixing small problem in commit 995d64fd2e9c06a70784d830e50f5da0a4dfbbfb: Calling repo discovery on CLI caused 'undefined method `length' for 0:Fixnum' error. Setting default value for error_details to [] instead of 0 Another regressions found in system-tests fixed in commit 2ca51d8b96037a289428d9e8abca26b8abd54dd9 Another small fix in commit 54c6c3e01b18e3737b057480b3b07603b7ede355: ordering the tasks to get the most recent in UI sync management Validated: * candlepin-0.5.26-1.el6.noarch * candlepin-tomcat6-0.5.26-1.el6.noarch * katello-0.1.304-1.el6.noarch * katello-all-0.1.304-1.el6.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.0.4-1.el6.noarch * katello-cli-0.1.105-1.el6.noarch * katello-cli-common-0.1.105-1.el6.noarch * katello-common-0.1.304-1.el6.noarch * katello-configure-0.1.106-1.el6.noarch * katello-glue-candlepin-0.1.304-1.el6.noarch * katello-glue-foreman-0.1.304-1.el6.noarch * katello-glue-pulp-0.1.304-1.el6.noarch * katello-qpid-broker-key-pair-1.0-1.noarch * katello-qpid-client-key-pair-1.0-1.noarch * katello-selinux-0.1.9-1.el6.noarch * pulp-1.0.0-5.el6.noarch * pulp-common-1.0.0-5.el6.noarch * pulp-selinux-server-1.0.0-5.el6.noarch 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. http://rhn.redhat.com/errata/RHEA-2012-0665.html getting rid of 6.0.0 version since that doesn't exist |