Bug 841289
Summary: | inconsistency on system info: Katello-Candlepin: unresponsive "Systems" page | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Garik Khachikyan <gkhachik> |
Component: | WebUI | Assignee: | Brad Buckingham <bbuckingham> |
Status: | CLOSED ERRATA | QA Contact: | Garik Khachikyan <gkhachik> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.1 | CC: | asettle, dmacpher, mkoci, mmccune, omaciel, snansi |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
System Engine performs a database rollback on the transaction if an error occurs. However, this did not affect System Engine sub-component records, which created inconsistencies. This fix adds a callback to perform a clean-up of System Engine sub-components. This keeps the databases for System Engine and its sub-components consistent.
|
Story Points: | --- |
Clone Of: | 841244 | Environment: | |
Last Closed: | 2012-12-04 19:47:26 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: | 841244 | ||
Bug Blocks: |
Description
Garik Khachikyan
2012-07-18 15:03:03 UTC
katello github pull request: https://github.com/Katello/katello/pull/543 katello github commits: https://github.com/Katello/katello/commit/b33806abe7cdebb80fe71a13cff13e4f2376e6ad When a client/system/consumer registers with katello, the creation of the system in katello is handled using a single db transaction. In supporting this, it will assign the system to the activation key, environment, subscriptions, system groups...etc. In addition, it will create the appropriate records in pulp, candlepin and elasticsearch. If an error occurs when creating the katello records (e.g. system group max members validation error), a DB rollback will be performed on the transaction. While this cleans up the katello DB, it does not affect pulp, candlepin and elasticsearch. In order to address this bug, we'll also rollback changes made to elasticsearch, pulp and candlepin when an error occurs. *** Bug 841244 has been marked as a duplicate of this bug. *** # VERIFIED error has been gone. checked on: --- candlepin-selinux-0.7.8-1.el6cf.noarch katello-glue-candlepin-1.1.12-7.el6cf.noarch python-qpid-0.7.946106-1.el6.noarch qpid-cpp-client-0.14-16.el6.x86_64 qpid-cpp-server-0.14-16.el6.x86_64 qpid-cpp-server-ssl-0.14-16.el6.x86_64 katello-agent-1.1.2-1.el6cf.noarch mod_wsgi-3.3-3.pulp.el6.x86_64 katello-certs-tools-1.1.8-1.el6cf.noarch katello-configure-1.1.9-3.el6cf.noarch pulp-1.1.12-1.el6cf.noarch candlepin-0.7.8-1.el6cf.noarch katello-selinux-1.1.1-1.el6cf.noarch katello-glue-pulp-1.1.12-7.el6cf.noarch candlepin-tomcat6-0.7.8-1.el6cf.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-qpid-client-key-pair-1.0-1.noarch candlepin-cert-consumer-smqe-ws15.lab.eng.brq.redhat.com-1.0-1.noarch python-isodate-0.4.4-4.pulp.el6.noarch pulp-common-1.1.12-1.el6cf.noarch pulp-selinux-server-1.1.12-1.el6cf.noarch qpid-cpp-client-ssl-0.14-16.el6.x86_64 m2crypto-0.21.1.pulp-7.el6.x86_64 katello-common-1.1.12-7.el6cf.noarch python-oauth2-1.5.170-2.pulp.el6.noarch katello-1.1.12-7.el6cf.noarch katello-qpid-broker-key-pair-1.0-1.noarch katello-cli-common-1.1.8-4.el6cf.noarch katello-cli-1.1.8-4.el6cf.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/RHSA-2012-1543.html getting rid of 6.0.0 version since that doesn't exist |